CS FundamentalsVery hardProduct company interview · GATE level

A stop-and-wait sender has 6 frames to deliver over a 100 kbps link with one-way propagation delay 20 ms. Frames are 1000 bits and ACKs are negligibly short. A 60 ms retransmission timer is started when the last bit of a frame leaves the sender. Every 3rd frame transmission (counting retransmissions) is lost; ACKs are never lost. How long after the start is the ACK of the sixth frame received?

  1. A. 400 ms
  2. B. 300 ms
  3. C. 420 ms
  4. D. 440 ms

Correct answer: D. 440 ms

Frame time = 1000/100 kbps = 10 ms. A successful transmission takes 10 + 2 x 20 = 50 ms; a lost one takes 10 + 60 = 70 ms before the retransmission starts. Six frames must succeed: of the first 8 transmissions the 3rd and 6th are lost and six succeed. Time = 6 x 50 + 2 x 70 = 440 ms. 300 ms ignores the losses; 420 ms starts the timer when the frame starts instead of when it ends; 400 ms treats a lost attempt as costing only 50 ms.

More Computer Networks questions

Exams that ask this topic