CS FundamentalsVery hardGATE CS

A sliding-window protocol uses 3-bit sequence numbers with sender window Ws and receiver window Wr. Which (Ws, Wr) combination can make the receiver accept an old duplicate as new data?

  1. A. Ws = 7, Wr = 1
  2. B. Ws = 6, Wr = 2
  3. C. Ws = 4, Wr = 4
  4. D. Ws = 5, Wr = 4

Correct answer: D. Ws = 5, Wr = 4

Correctness needs Ws + Wr ≤ 2ᵏ = 8. 7 + 1 (Go-Back-N), 6 + 2 and 4 + 4 (Selective Repeat) all fit, but 5 + 4 = 9 lets a retransmitted old frame fall inside the receiver's advanced window.

More Computer Networks questions

Exams that ask this topic