CS FundamentalsHardGATE CS (PYQ pattern)
A geostationary link has 250 ms one-way propagation delay and runs at 2 Mbps with 1000-byte frames (ACK transmission time ignored). To keep the link fully busy, what is the minimum number of sequence-number bits for Go-Back-N and for Selective Repeat (window sizes chosen as small as possible)?
- A. 7 for GBN and 8 for SR
- B. 7 for both
- C. 8 for GBN and 7 for SR
- D. 6 for GBN and 7 for SR
Correct answer: A. 7 for GBN and 8 for SR
Frame time = 8000 / 2 x 10^6 = 4 ms; a = 250 / 4 = 62.5; window needed = 1 + 2a = 126 frames. GBN needs 2^k - 1 >= 126, k = 7. SR needs 2^(k-1) >= 126, i.e. 2^k >= 252, k = 8.
More Computer Networks questions
- A router buffer is modelled as an M/M/1/K queue with at most K = 5 packets in the system (including the one in service) and utilisation…
- A 3000-byte attachment is Base64-encoded for e-mail: every 3 bytes become 4 characters, and the encoded text is wrapped into lines of at…
- A customer receives 2001:db8:abcd::/48 and gives each of its sites a /56, numbering sites 0, 1, 2, ... in address order. Each site then…
- A router R has three interfaces. Interface 1 connects to a switch S1 whose four ports lead to R, hosts H1 and H2, and a hub with hosts H3…
- A TCP sender starts with cwnd = 1 MSS and ssthresh = 16 MSS and no loss ever occurs. Each round trip the window doubles while below…
- A Reno sender has cwnd = 20 MSS when three duplicate ACKs arrive (fast retransmit and fast recovery: ssthresh = cwnd/2, cwnd = ssthresh +…