Quiz 1 Content (Ch. 3) Flashcards

1
Q

What does the data link layer do?

A

Uses the services of the physical layer to send and receive bits over communication channels

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

What does the Data link layer do in regards to framing?

A

Use the service provided to it by the physical layer, break up the bit stream into discrete frames, compute a short checksum for each frame, and include the checksum in the frame when it is transmitted

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

What are the Data link layer’s functions?

A
  1. provide interface to network layer above
  2. deals with transmission errors
  3. regulates the flow of data dynamically as needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the two possible errors that need error control?

A
  • frame contains faulty information

- frame vanish completely

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

What are the two kinds of flow control?

A
  1. Feedback-based flow control: Reciever sends back information to the sender giving it permission to send more data
  2. Rate-based flow control: The protocol has a built-in mechanism that limits the rate at which senders may transmit data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are error-correction codes?

A

Include enough redundant information to enable the receiver to deduce what the transmitted data must have been
Works better on channels that may make many errors
-> ie wireless links

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

What are Error-detection codes?

A

Include only enough redundancy to allow the reciever to deduce that an error has occurred but not which (error), and have it request a retransmission
Works better on channels that are highly reliable
-> ie fiber

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

Suppose that the block size was 1000 bits and the error rate was 0.0001 per bit. What is the difference between a single bit error and a burst error?

A

single bit error: most blocks would contain a one bit error

burst error: 1 block out of 1000 block with have an error of 100 bits

For burst error, less blocks will be affected, but harder to correct than single bits

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

What are other errors (besides single bit error and a burst error)?

A

Bit erasure: Physical layer recieved an analog signal that is far from expected value for a 0 or 1, so it declared the bit to be lose

Bit flip

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

What is a binary convolutional code?

A

Not a block code, specified in terms of rate and constraint length
Popular because it is easy to factor the uncertainty of a bit being a 0 or a 1 into the decoding

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

What is Reed-Solomon

A

Linear block codes
Defined as polynomials that operate over finite fields
Performs on m bit symbols:
Codewords are (2^m)-1 long, popular choice is m=8, then a codeword is 255 bytes long

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

What is LPDC? and what is it good for

A

Linear block codes

  • good for large blocks
  • each output bit is formed from only a fraction of the input bits, leads to a matric representation of the code that has a low density of 1s. The recieved codewords are decdoded with an approximation algorithm. That iteratively improves on a best fit of the recieved data to a legal codeword, that corrects error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the hamming code?

A

An error correction code.

  • linear block code
  • performs 1 bit error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List the 4 error correction codes

A
  1. Hamming codes
  2. Binary convolutional codes
  3. Reed-Solomon codes
  4. LDPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

List the 3 error detection codes

A
  1. Parity
  2. Checksum
  3. Cyclic Redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is used to handle burst errors?

A

Interleaving

17
Q

What is Go-back-N?

A

discard all frames recieved thus fay except forthe next expected one in sequence eventually forcing sender to retransmit lost one

18
Q

What is selective repeat?

A

Buffer all out-of-order frames, send negative achnowledgements for lost ones

19
Q

How does sliding window allow two-way communication?

A

uses piggybacking acknowledgements with data

20
Q

What must sliding window protocols handle?

A

loss of frames due to error and consider bandwidth vs memory requirements