CS FundamentalsHardGATE CS · ISRO Scientist

Stop-and-wait: a frame takes 1 ms to transmit and the one-way propagation delay is 4 ms (ACK time negligible). Each data frame is lost with probability 0.25; ACKs are never lost. After a loss the sender waits a 12 ms timeout, measured from the end of transmission, and resends. What is the expected time to deliver one frame successfully?

  1. A. 12.00 ms
  2. B. 13.33 ms
  3. C. 12.25 ms
  4. D. 17.33 ms

Correct answer: B. 13.33 ms

A successful attempt costs 1 + 8 = 9 ms and a failed one 1 + 12 = 13 ms. The expected number of failures before success is p/(1 − p) = 1/3, so E[T] = 9 + 13/3 ≈ 13.33 ms. 12 ms (9/0.75) wrongly charges failures at the success cost.

More Computer Networks questions

Exams that ask this topic