Chapter 2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the structure of a data packet?

A

Header
Payload
Trailer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the header contain?

A

Origin Address (IP)
Destination Address (IP)
Packet Number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the payload?

A

The data being sent, broken down into small parts, each going in one packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the trailer?

A

The last part of the packet, signalling that the packet is over.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The process of transmitting packets is called _____________. Packets are sent via a ___________. Which servers the packets travel through is determined by a ___________

A

Packet Switching
Network
Router

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the difference between serial and parallel data transmission.

A

Serial = Only one packet at a time can travel along a single wire
Parallel = 2 or more packets can travel along 2 or more wires.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the advantages AND disadvantages of serial transmission?

A

Data should arrive in order of sequence
Less chance of errors in data (interference)
Cheaper than Parallel

Slower than Parallel
Needs a start bit and stop bit, to indicate when data starts and stops being sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the advantages AND disadvantages of parallel transmission

A

Computers already use parallel, and don’t have to convert data to serial.
Faster than Serial

Bits arrive out of order, need rearranging
More chance of errors in the data (interference)
More expensive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the difference between simplex, half-duplex, and duplex transmission

A

Simplex = Data can travel in one direction only
Half-duplex = Data can travel both ways, but not at the same time
Duplex = Data can travel both ways, at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages and disadvantages of a USB (universal serial bus)

A

Easy to use
Fast transmission
Appears in most devices
Drivers to operate hardware must only be downloaded once
Can power a device simultaneously

Ethernet and others are faster
Limited to 5 meters long cables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Name 3 error detection methods that can be used to check if data sent is correct

A

Checksum
Parity Check
Echo Check

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The _______ bit goes at the start of the _______, to check if the sum of bits in the byte is odd and even.

A

parity
byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If an odd parity check is run, and the byte looks like this, what is the parity bit: 0 1 1 0 0 1 1 _

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If an even parity check is run, and the byte looks like this what is the parity bit: 1 0 0 0 1 1 1 _

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an echo check?

A

When the receiving device returns the data to the sending device to ensure that it is correct, then followed by a confirmation from the sending device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What happens in an ARQ if the data has no errors

A

The receiving device receives one packet
It checks that it has no errors.
It sends a positive acknowledgement to the sending device.

17
Q

What happens in an ARQ if the data has errors

A

The receiving device receives one packet
It checks if it has no errors.
If it has error(s),
It sends a negative acknowledgement to the sending device.
The sender must send the packet again

18
Q

What is checksum?

A

The sender calculates a value to add to the packet
The receiver calculates the same value
If the values match, a positive acknowledgement is sent

19
Q

What is check digit used for?

A

To ensure that no errors occur during data input

20
Q

What is data called before and after encryption?

A

Before: plaintext
After: cipher text

21
Q

An encryption algorithm is called an ______________

A

Encryption Key

22
Q

The process for symmetric encryption is:

A

Plain text is encrypted into cipher text by an encryption key
The cipher text and encryption key are sent separately to the receiving device.
The same key is used to decrypt the cipher text into plain text.

23
Q

The process of asymmetric encryption is:

A

Plain text is encrypted into cipher text by a public key. (of the receiver)
Cipher text sent to receiving device.
Cipher text is decrypted using a private key.