Skip to main content

GATE CSE 2026Computer Networks › Transport Layer & Congestion ControlVerified

GATE CSE 2026 PYQ: Consider the implementation of sliding window protocol over a lossless link, with a window size of W W W…

Consider the implementation of sliding window protocol over a lossless link, with a window size of WW frames, where each frame is of size 1000 bits (including header). The bandwidth of the link is 100kbps(1k=103)100 \mathrm{kbps}\left(1 \mathrm{k}=10^{3}\right) and the one-way propagation delay is 100 milliseconds. Assume that processing times at the sender and receiver are zero and the transmission time of acknowledgements is also zero. Which one of the following options gives the minimum size of WW (in number of frames) required to achieve 100%100\% link utilization?

  1. A
    10
  2. B
    21
    Correct answer
  3. C
    20
  4. D
    11

Answer

(B) 21 21 21

Approach

Compute the frame transmission time and compare the time to transmit W frames with the time until the first acknowledgement returns. For 100% utilization, the sender must be able to send continuously without idling; this requires $W*T_t$ >= $T_t + 2*T_p$, which gives W >= 1 + $2*(T_p/T_t)$.

The link can be kept busy only if the window covers the frame transmission time plus the round-trip propagation time. This requires W ≥ $(T_t + 2T_p)/T_t = 210/10 = 21$, so the minimum window size is 21 frames. Option B is correct.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.