CS FundamentalsVery hardProduct-company MCQ pattern
A link has transmission time 1 ms per frame and one-way propagation delay 24.5 ms. Using Selective Repeat with sender window equal to receiver window, what is the minimum number of sequence-number bits needed to keep the link fully busy?
- A. 7
- B. 5
- C. 8
- D. 6
Correct answer: A. 7
Full utilisation needs window ≥ 1 + 2a = 1 + 2(24.5) = 50 frames, and Selective Repeat needs window ≤ 2^(k−1), so k − 1 = 6 and k = 7. Go-Back-N's bound 2^k − 1 ≥ 50 gives the trap 6, using only 1 + a ≈ 26 frames gives 5, and taking a as the full RTT (window 99) gives 8.
More Computer Networks questions
- TCP Tahoe starts with cwnd = 1 MSS and ssthresh = 16 MSS. cwnd doubles each RTT in slow start (but is capped at ssthresh when doubling…
- How many of the following statements about TCP congestion control (Reno) are correct? 1. On three duplicate ACKs, ssthresh is set to half…
- TCP sequence numbers are 32 bits and count bytes. On a 1 Gbps link sending continuously, roughly how long does it take for the sequence…
- Under distance-vector routing, router A has direct links to B (cost 2) and C (cost 5). B advertises distances {D: 7, E: 1} and C…
- An undirected network has links A–B 4, A–C 1, B–C 2, B–D 5, C–D 8, C–E 10, D–E 2, D–F 6, E–F 3. What is the cost of the shortest path from…
- Match each protocol with its default port. P. SSH Q. SMTP R. SNMP S. DNS 1. 25 2. 22 3. 53 4. 161