CS FundamentalsHardGATE CS (PYQ pattern)

Selective Repeat uses 3-bit sequence numbers (0 to 7) with a window of 5 at both sender and receiver. The sender transmits frames 0 to 4, all are received and the receiver window advances, but all five ACKs are lost. The sender times out and retransmits frame 0. What happens at the receiver?

  1. A. It discards it as a duplicate because 0 is below its window
  2. B. It sends an ACK and discards it because frame 0 was already delivered
  3. C. It buffers it until frames 5, 6 and 7 arrive, then delivers it correctly
  4. D. It accepts the retransmitted frame 0 as a NEW frame, delivering duplicate data

Correct answer: D. It accepts the retransmitted frame 0 as a NEW frame, delivering duplicate data

After accepting 0-4 the receiver window is 5, 6, 7, 0, 1. The retransmitted frame 0 falls inside that window, so it looks like a new frame. That is why the Selective Repeat window must not exceed half the sequence space (4 for 3 bits).

More Computer Networks questions

Exams that ask this topic