CS FundamentalsVery hardGATE CS (PYQ pattern)
A sender transmits segments 1 to 10 (one MSS each); segments 4 and 7 are lost, all others arrive. The receiver sends one cumulative ACK for every arriving segment. How many ACKs are duplicates of an earlier ACK before any retransmission arrives?
- A. 6
- B. 4
- C. 7
- D. 5
Correct answer: D. 5
Segments 1, 2, 3 produce ACKs 2, 3, 4 (new). Each of 5, 6, 8, 9, 10 arrives while 4 is missing and re-ACKs 4: 5 duplicates. Segment 7's loss adds no new duplicate ACK number since the ack stays at 4.
More Computer Networks questions
- A server sends 40 segments to a client over a loss-free path. It starts with cwnd = 1 (slow start doubles it each round trip) and the…
- An application writes 1 byte every 10 ms (at t = 5, 15, 25, ... ms) for 25 bytes. TCP uses Nagle's algorithm: a small segment is sent only…
- A client uses ephemeral ports 32768 to 60999 (28,232 ports). Every connection to the same server IP and port ends with the client in…
- A path has 10 Gbps bandwidth and an RTT of 80 ms. To keep the pipe full, TCP needs a window of one bandwidth-delay product. What is the…
- Three long-lived TCP flows share an 11 Mbps bottleneck with the same loss rate and segment size, so each flow's throughput is proportional…
- An IPv4 packet has header length (IHL) 6, total length 0x0074 bytes, and carries a TCP segment whose data-offset field is 8. The IP header…