Data Communications I, Autumn 2000
Exercise 3 (2.-6. September 2000)
- About frames and error checking
-
If the bit string 0111101111101111110 is bit stuffed, what is the output
string?
-
CRC checking is used and the generator polynomial is X**3 +1. A frame
110101011 is received. Is it corrupted?
- When bit stuffing is used, is it possible for the loss, insertion, or
modification of a single bit to cause an error not detected by the checksum? If not, why not? If so, how? Does the checksum length play any role here?
-
Consider an error-free 64-kbps satellite channel used to send 512-byte data
frames in one direction, with very short acknowledgements coming back the
other way. What is the maximum throughput for window sizes of 1, 7, 15, and 127?
-
Stop and wait protocol
-
Why is it enough to have one bit sequence number (only using numbers 0 and 1) in stop and wait protocol?
-
Is it also necessary to add numbers to ACK and NAK acknowledgements? Give
reasons for your answer.
-
Windows and window protocols
-
In one bit sliding window protocol a simultaneous intiation of communication or too early timeouts for the sender timer can cause quite a lot unnecessary sending of frames. Tanenbaum (p. 207) gives a scenario showing how simultaneous initiation is causing the sending of extra frames. Give an example how premature timeouts can cause same kind of situation.
-
If the window size is K, then in the Selective Repeat method 2K sequence numbers are needed.
Give an example of a situation where a smaller amount of sequence numbers leads to erroneus situation.
- The operation of sliding window protocols
Suppose an error burst destroys frame I(N+1), ACK(N) and the following acknowlegdement.
Simulate, in the situation, the operation of
-
the Go-Back -N protocol,
-
the selective repeat protocol that does not use NAK,
-
the selective repeat protocol using NAK. NAK(N) informs the sender that frame
I(N) is either missing or corrupted.
-
HDLC protocol differs in some amount from the PPP protocol. The operation of HDLC protocol is explained in Tanenbaum's book pp. 224-228.
-
Why is HDLC using the address field?
-
What facilities does HDLC provide for error control?
-
Does HDLC also provide facilities for flow control? If it is, what kind of facilities does it provide?
-
Why does PPP not need the control field, even when the field is so important for HDLC
protocol?For
what different task is the control field used in HDLC-protocol?