CS FundamentalsHardGATE CS

A sender must deliver frames 1–8 with a window of 4. Only the first transmission of frame 3 is lost; nothing else is lost, and the sender always fills its window before the timeout for frame 3 fires. How many frame transmissions are needed in total with Go-Back-N, and with Selective Repeat?

  1. A. 10 with Go-Back-N, 9 with Selective Repeat
  2. B. 12 with Go-Back-N, 12 with Selective Repeat
  3. C. 9 with Go-Back-N, 9 with Selective Repeat
  4. D. 12 with Go-Back-N, 9 with Selective Repeat

Correct answer: D. 12 with Go-Back-N, 9 with Selective Repeat

GBN: frames 1–6 go out (the window slides to 3–6 after 1 and 2 are ACKed), the receiver discards 4–6, so on timeout 3, 4, 5, 6 are resent, then 7 and 8: 6 + 4 + 2 = 12. SR resends only frame 3: 8 + 1 = 9.

More Computer Networks questions

Exams that ask this topic