CS FundamentalsVery hardGATE CS
A Selective Repeat receiver uses 3-bit sequence numbers and a window of 4; it currently expects frames 6, 7, 0, 1 (6 is the next in-order frame). Frames arrive in the order 7, 0, 3, 6, each error-free. After these arrivals, which frames have been delivered to the network layer, and what is the receiver window?
- A. 6, 7, 0 delivered; window 1, 2, 3, 4
- B. 6, 7, 0, 3 delivered; window 4, 5, 6, 7
- C. Only 6 delivered; window 7, 0, 1, 2
- D. 6, 7, 0 delivered; window 1, 2, 3 with 3 already buffered
Correct answer: A. 6, 7, 0 delivered; window 1, 2, 3, 4
7 and 0 are inside the window and are buffered; 3 is outside (only 6, 7, 0, 1 are acceptable) and is discarded. When 6 arrives it is delivered with the buffered 7 and 0, and the window slides to 1, 2, 3, 4. Frame 3 must be sent again.
More Computer Networks questions
- A (15, 11) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8 (positions numbered 1–15 from the left). The word…
- A CRC uses the generator x³ + 1 (1001). Which of these error patterns (bits written from the highest power down) would go UNDETECTED?
- After its 4th consecutive collision on a frame, a 10 Mbps Ethernet station picks K uniformly from {0, …, 2⁴ − 1} and waits K slot times…
- An ISP holds 200.30.0.0/16 and allocates, in address order and without gaps: 32 customers with 512 addresses each, then 64 customers with…
- Which group of four consecutive /24 networks can be advertised as exactly one /22 with no extra address space?
- A router has 10.0.0.0/8 → A, 10.128.0.0/9 → B and 10.192.0.0/10 → C, using longest-prefix match. How many destination addresses are…