CS FundamentalsHardProduct-company interview pattern

A sender transmits bytes 1–4000 as four 1000-byte TCP segments. Segment 2 (bytes 1001–2000) is lost; segments 1, 3 and 4 arrive in order. Using cumulative acknowledgements (ACK = next byte expected), which ACK numbers does the receiver send?

  1. A. 1001, 3001, 4001
  2. B. 1000, 1000, 1000
  3. C. 1001, 2001, 4001
  4. D. 1001, 1001, 1001

Correct answer: D. 1001, 1001, 1001

After segment 1 the receiver expects byte 1001. Segments 3 and 4 are out of order, so each triggers a duplicate ACK for 1001. Two duplicates after the original ACK are what fast retransmit counts. 1000 forgets that the ACK names the NEXT byte expected.

More Computer Networks questions

Exams that ask this topic