Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

G11 - CS - End of unit 2 test

star
star
star
star
star
Posljednje ažuriranje 9 months ago
14

Answer all the questions.

You may NOT use a calculator.

2
3
2
1
1
4
6
7
3
2
2
8
6
6
Pitanje 1
1.

Explain the term data packet.

Pitanje 2
2.

Data packets contain a header.

Name three components that you would expect to find in a header.

Pitanje 3
3.

Data packets also have a payload and a trailer.

Explain these two terms.

Pitanje 4
4.

What does 'bps' stand for in terms of data transmission?

Pitanje 5
5.

Which transmission allows data to be sent and received at the same time?

Pitanje 6
6.

Using the below diagram, explain how packet switching works when sending a 500 KiB file from computer 'A' to computer 'B'.

Pitanje 7
7.

Match the description of transmission taking place with correct term:

Stavka koja se može prevućiarrow_right_altOdgovarajuća stavka

Data sent 16 bits at a time down 16 wires in both directions, but not at the same time

arrow_right_alt

Simplex, Serial

Data sent one bit at a time down a single wire in one direction only

arrow_right_alt

Full duplex, Serial

Data sent one bit at a time down a single wire in both directions simultaneously

arrow_right_alt

Half duplex, Serial

Data sent 16 bits at a time down 16 wires in both directions simultaneously

arrow_right_alt

Half duplex, Parallel

Data sent 8 bits at a time down 8 wires in one direction only

arrow_right_alt

Full duplex, Parallel

Data sent one bit at a time down a single wire in both directions, but not at the same time

arrow_right_alt

Simplex, Parallel

Pitanje 8
8.

Indicate which statements about USB are True and which statements are False:

True

False

USBs use a protocol that allows for error-free data transmission between device and computer

USBs can support any cable length between device and computer

USBs use serial data transfer

USB connections can transfer data using half-duplex or full-duplex

It is difficult to add more USB ports to a computer using USB hubs

USB data transfer rates are much faster than, for example, Ethernet connections

There is no need for devices to have a power source because USB cable supplies 5V of power

Pitanje 9
9.

A system uses even parity.

Indicate whether the following bytes would fail or pass an even parity check:

a)

b)

c)

Pitanje 10
10.

Check digits are used to check data during data entry.

Give two types of error that check digits can identify.

Pitanje 11
11.
Pitanje 12
12.
Pitanje 13
13.

Write an algorithm using pseudocode to ask for a password and check that the length of the password is between 8 and 12 characters inclusive.

Your pseudocode should prompt "too short" or "too long" if password entered in outside the above range, and should continue asking until correct password length is entered.

Pitanje 14
14.

State, with reasons, which validation checks you could use for the following inputs.

You may decide that more than one validation check is required.

– Entering a telephone number

– Entering a pupil’s name

– Entering a part number in the form XXX999, when X must be a letter and 9 must be a digit.