CS FundamentalsHardGATE CS
A 1 MB file (10⁶ bytes) is sent with stop-and-wait using 1000-byte frames over a 5 Mbps path with RTT 100 ms (ACK size and processing negligible). Roughly how long does the transfer take?
- A. About 1.6 s
- B. About 100.0 s
- C. About 101.6 s
- D. About 51.6 s
Correct answer: C. About 101.6 s
Each frame costs its transmission time 1.6 ms plus one RTT of 100 ms waiting for the ACK: 1000 × 101.6 ms ≈ 101.6 s, versus 1.6 s if the pipe were kept full. This is why sliding windows exist.
More Computer Networks questions
- A CRC-8 with generator x⁸ + x² + x + 1 (100000111) and no initial value or final XOR is computed over the byte 00110001 (ASCII '1'). What…
- A source must send a 10 MB burst at the full line rate of 50 MB/s through a token bucket whose tokens arrive at 10 MB/s. What is the…
- Router B uses distance-vector routing with split horizon. B's table: to X cost 3 via A, to Y cost 2 via C, to Z cost 5 via A. Which…
- Synchronous Bellman–Ford runs from S on an undirected graph S–A 4, S–B 1, B–A 2, A–C 1, B–C 6, C–D 2, A–D 7. In each round every node's…
- A page (base file 100 KB) references 10 images of 100 KB each on the same server (1 KB = 1000 bytes). The link is 1 Mbps with RTT 50 ms…
- Ignoring DNS, how many RTTs does a fresh HTTPS request take until the response arrives with TCP + TLS 1.3, and with HTTP/3 over QUIC (no…