CS FundamentalsModerateGATE CS
Stop-and-wait with 1-bit sequence numbers: the receiver gets frame 0 and its ACK is lost. What happens next?
- A. The receiver delivers frame 0 twice to the network layer
- B. The sender resends frame 0; the receiver discards the duplicate and re-ACKs it
- C. The sender moves on to frame 1 because the frame was received
- 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
- Go-Back-N with cumulative ACKs sends frames 0–9 with a window of 5. Only the ACK for frame 2 is lost; every frame and every other ACK…
- A 10 Gbps path has an RTT of 100 ms. With 1500-byte frames, at least how many frames must be outstanding to keep it fully busy?
- A client downloads a 64 KB file (MSS = 1 KB, so 64 segments) over a fast link with RTT = 100 ms. TCP starts with cwnd = 1 MSS, slow start…
- A TCP sender has cwnd = 20 MSS but the receiver's window is only 12 MSS, so 12 segments are in flight when a retransmission timeout…
- Two TCP flows share a bottleneck and both use AIMD (additive increase, multiplicative decrease) with the same RTT. Starting from very…
- Which error does the 16-bit Internet checksum (ones'-complement sum) FAIL to detect?