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)?

  1. A. 7 for GBN and 8 for SR
  2. B. 7 for both
  3. C. 8 for GBN and 7 for SR
  4. 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

Exams that ask this topic