CS FundamentalsVery hardGATE CS (PYQ pattern)
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 receiver window is 6 segments, so at most min(cwnd, 6) segments are sent per round trip. How many round trips of data transfer are needed?
- A. 9
- B. 10
- C. 8
- D. 6
Correct answer: A. 9
Windows per round: [1, 2, 4, 6, 6, 6, 6, 6, 3]: 1, 2, 4 and then 6 per round, which totals 40 after 9 rounds.
More Computer Networks questions
- 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…
- A TCP client with initial sequence number 4000 completes the handshake, sends 1000 bytes of data in two segments, and then sends FIN. The…