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?

  1. A. About 1.6 s
  2. B. About 100.0 s
  3. C. About 101.6 s
  4. 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

Exams that ask this topic