CS FundamentalsVery hardGATE CS
Selective Repeat is (wrongly) run with 3-bit sequence numbers and window size 5. The sender sends frames 0–4; all arrive and the receiver's window moves to 5, 6, 7, 0, 1, but every ACK is lost. The sender times out and retransmits. Which retransmitted frames would the receiver wrongly accept as NEW data?
- A. Only frame 0
- B. Frames 0 to 4
- C. None, because they are duplicates
- D. Frames 0 and 1
Correct answer: D. Frames 0 and 1
The receiver now expects 5, 6, 7, 0, 1; old frames 0 and 1 carry numbers that fall inside this window, so they are buffered as if they were the next 0 and 1. With window ≤ 2³/2 = 4 the windows would not overlap.
More Computer Networks questions
- Stop-and-wait sends 1000-bit frames at 1 Mbps with one-way propagation delay 2 ms (ACKs negligible and error-free). Bits are corrupted…
- Each 8-bit byte is sent with one even-parity bit (9 bits in total), and bits flip independently with probability 10⁻³. Approximately what…
- What is the Hamming distance between the codewords 10110110 and 11010011?
- A CRC uses the generator polynomial x⁵ + x² + 1. What bit string is transmitted for the data 1001101?
- In the classic Ethernet contention model, each of N = 4 ready stations transmits in a contention slot with probability 1/N. What is the…
- In 802.11, why is SIFS shorter than DIFS?