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?
- A. 400 ms
- B. 300 ms
- C. 420 ms
- 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
- A 20 Mbps link has a one-way propagation delay of 8 ms and carries 1250-byte frames; ACKs are negligibly short. The sender window is…
- An IPv4 datagram of total length 4020 bytes (20-byte header, no options) is forwarded over a link with MTU 1500 bytes and then over a link…
- A router receives an IPv4 fragment with header length field 5, total length 1196, fragment offset 294 and the More Fragments bit set…
- A sender protects the 10-bit message 1011001110 with a CRC using the generator 10011 (x^4 + x + 1) and transmits the resulting 14-bit…
- A 12-bit Hamming codeword protects 8 data bits. Positions are numbered 1 to 12 from the left, even-parity check bits sit at positions 1…
- A 100 Mbps CSMA/CD network has its two farthest stations 500 m of cable apart, with two repeaters on the path between them. Signals travel…