CS FundamentalsModerateGATE CS

Stop-and-wait with 1-bit sequence numbers: the receiver gets frame 0 and its ACK is lost. What happens next?

  1. A. The receiver delivers frame 0 twice to the network layer
  2. B. The sender resends frame 0; the receiver discards the duplicate and re-ACKs it
  3. C. The sender moves on to frame 1 because the frame was received
  4. D. The receiver sends a NAK for frame 1 to trigger progress

Correct answer: B. The sender resends frame 0; the receiver discards the duplicate and re-ACKs it

The sequence bit is exactly what lets the receiver tell a retransmission from a new frame: it is expecting 1, sees 0 again, drops the copy but re-sends the ACK so the sender can advance.

More Computer Networks questions

Exams that ask this topic