Chapter 2 Flashcards

(13 cards)

1
Q

Detailed structure of a data packet:

A

Packet header: contains destination address, packet number and originators address
Payload: the actual data being sent
Trailer: marks the end of the packet, contains information about any error detection methods that may be used.

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

Packet switching:

A

A method of transmitting data packets across a network. A router examines a data packet to obtain its destination address then forwards the packet to this address.

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

Advantages of serial data transmission:

A

Less chance of data being skewed.
Less chance of interference.
Cheaper to manufacture and buy.

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

Disadvantages of serial data transmission:

A

Slower.
Additional data (start and stop bit) may need to be sent.

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

Advantages of parallel data transmission:

A

Faster.
No requirement to change it into serial later on.

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

Disadvantages of parallel data transmission:

A

More chance of data being skewed.
More chance of interference.
More expensive to manufacture and buy.

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

Advantages of USB:

A

Industry standard; most devices have a USB port.
Low chance of errors in connecting devices.
Doesn’t need a power source.
Data can be transferred relatively quickly.
Etc..

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

Disadvantages of USB:

A

Not as quick as Ethernet.
Length of USB cable can only reach around 5m.

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

State all error detection methods

A

Parity check, checksum, echo check, automatic repeat request, check digit

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

Define acknowledgment and timeout.

A

Acknowledgment: a message sent from one device to another to indicate whether data is received correctly. Timeout: a period of time set and used for an acknowledgment to be received.
Both used In ARQ.

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

Asymmetric encryption ≠ symmetric encryption, how?

A

Asymmetric encryption is more secure as it uses 2 keys, a public key to encrypt data and a private key to decrypt it. The same key is used to encrypt and decrypt data in symmetric encryption.

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

How does negative acknowledgment work?

A

Sending device transmits first data packet
Receiving device receives it and checks for errors
If no errors are detected, no further action is taken
If errors are detected, it will send negative acknowledgement to the sender
Sender received it, resends data packet
Timeout is set by sending device so it can be able to send data packets without receiving negative acknowledgment

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

How does positive acknowledgment work?

A

Sending device transmits first data packet
Receiving device receives it and checks for errors
After making sure there are no errors, it sends positive acknowledgement
When it is received, next packet is sent
If sender doesn’t receive positive acknowledgment within a set time period, timeout occurs

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