CS FundamentalsVery hardGATE CS

A Selective Repeat receiver uses 3-bit sequence numbers and a window of 4; it currently expects frames 6, 7, 0, 1 (6 is the next in-order frame). Frames arrive in the order 7, 0, 3, 6, each error-free. After these arrivals, which frames have been delivered to the network layer, and what is the receiver window?

  1. A. 6, 7, 0 delivered; window 1, 2, 3, 4
  2. B. 6, 7, 0, 3 delivered; window 4, 5, 6, 7
  3. C. Only 6 delivered; window 7, 0, 1, 2
  4. D. 6, 7, 0 delivered; window 1, 2, 3 with 3 already buffered

Correct answer: A. 6, 7, 0 delivered; window 1, 2, 3, 4

7 and 0 are inside the window and are buffered; 3 is outside (only 6, 7, 0, 1 are acceptable) and is discarded. When 6 arrives it is delivered with the buffered 7 and 0, and the window slides to 1, 2, 3, 4. Frame 3 must be sent again.

More Computer Networks questions

Exams that ask this topic