CS FundamentalsVery hardGATE CS
A TCP sender must send a 50-segment file. It starts with cwnd = 1, ssthresh = 8 (slow start doubles cwnd each RTT, capped at ssthresh; then +1 per RTT), and the receiver's advertised window is fixed at 12 segments. No losses occur. In how many RTT rounds is the file sent (a round sends min(cwnd, rwnd) segments)?
- A. 7
- B. 8
- C. 6
- D. 10
Correct answer: B. 8
Segments per round: 1, 2, 4, 8, 9, 10, 11, 12; totals reach 45 after 7 rounds and 57 after 8, so 8 rounds are needed. Stopping at 45 gives 7, doubling past ssthresh (1, 2, 4, 8, 16, 32) gives 6, and growing by 1 from the start gives 10.
More Computer Networks questions
- A TCP sender uses RFC 6298 estimation (α = 1/8, β = 1/4): first RTTVAR ← (1−β)RTTVAR + β|SRTT − R|, then SRTT ← (1−α)SRTT + αR, and RTO =…
- A client's SYN carries ISN = 4,294,967,000. After the handshake it sends a 500-byte segment and then an 800-byte segment. What is the…
- A Selective Repeat receiver uses 3-bit sequence numbers and a window of 4; it currently expects frames 6, 7, 0, 1 (6 is the next in-order…
- A (15, 11) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8 (positions numbered 1–15 from the left). The word…
- A CRC uses the generator x³ + 1 (1001). Which of these error patterns (bits written from the highest power down) would go UNDETECTED?
- After its 4th consecutive collision on a frame, a 10 Mbps Ethernet station picks K uniformly from {0, …, 2⁴ − 1} and waits K slot times…