CS FundamentalsHardGATE CS
An alternating-bit (stop-and-wait) sender sets its timeout to 0.75 × RTT by mistake; there is no loss. What happens?
- A. Frames are lost, because the receiver rejects any frame arriving before its previous ACK has left
- B. The protocol deadlocks, because the sender keeps waiting for an ACK it has already received
- C. Data reaches the application twice, because the receiver cannot recognise duplicate frames
- D. Every frame is sent twice; duplicates are spotted by the sequence bit, so only efficiency suffers
Correct answer: D. Every frame is sent twice; duplicates are spotted by the sequence bit, so only efficiency suffers
Every frame times out before its ACK returns and is resent. The 1-bit sequence number lets the receiver recognise the duplicate and only re-ACK it, and the sender ignores ACKs for frames it has finished. Correctness survives; efficiency does not.
More Computer Networks questions
- A ping reply arrives with TTL = 52. Common operating systems start packets with TTL 64, 128 or 255. What is the most likely initial TTL…
- A G.711 VoIP call puts 20 ms of audio (160 bytes) into each packet, carried in RTP (12-byte header), UDP and IPv4 without options. What is…
- For an 8 kHz audio stream sent in RTP with 20 ms of audio per packet, by how much does the RTP timestamp increase from one packet to the…
- A TCP connection crosses a Wi-Fi link that corrupts about 2% of frames, with no link-layer retransmission. Throughput is far below the…
- In software-defined networking with OpenFlow, which statement is correct?
- A data centre uses a k-ary fat-tree built from identical 8-port switches (k = 8). How many hosts can it connect, and how many switches…