CS FundamentalsVery hardGATE CS (PYQ pattern)

A TCP sender starts with cwnd = 1 MSS and ssthresh = 16 MSS. Each round trip: if cwnd < ssthresh the window doubles (but never beyond ssthresh), otherwise it grows by 1 MSS. The cwnd values are counted per round (round 1 has cwnd = 1). In round 10 a timeout occurs: ssthresh becomes half the cwnd of that round (minimum 2) and cwnd resets to 1 for round 11. What is cwnd in round 20?

  1. A. 16
  2. B. 14
  3. C. 18
  4. D. 15

Correct answer: D. 15

Rounds 1-10: 1, 2, 4, 8, 16, 17, 18, 19, 20, 21 (the timeout happens in round 10 with cwnd = 21). ssthresh = 10; from round 11: [1, 2, 4, 8, 10, 11, 12, 13, 14, 15]. Round 20 has cwnd = 15.

More Computer Networks questions

Exams that ask this topic