GATE / CS ARCHIVE

GATE CSE 2026 SET 1 / QUESTION 45

Window size for full link utilization

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 2026 Set 1 paper

GATE 2026 Set 1, Q45 2 marks · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 45, GATE 2026: A lossless sliding-window link sends 1000-bit frames at 100 kbps (100000 bits/s). One-way propagation is 100 ms; processing and ACK transmission times are zero. Find the smallest window W for 100% utilization among 10,21,20,11 frames.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (5 steps)

Givens and goal

A lossless sliding-window link sends 1000-bit frames at 100 kbps (100000 bits/s). One-way propagation is 100 ms; processing and ACK transmission times are zero. Find the smallest window W for 100% utilization among 10,21,20,11 frames.

Approach

Find when the first frame’s acknowledgement returns, then require the initial window to keep the transmitter busy until that instant.

Step-by-step solution

1. Frame transmission time is T_tx=1000/100000 s=0.01 s=10 ms. Propagation time is T_prop=100 ms in each direction.
2. Start frame 1 at time 0. Its last bit leaves the sender at 10 ms and reaches the receiver at 110 ms. With zero processing and ACK transmission time, its ACK is sent then and reaches the sender at 210 ms.
3. Sending W frames back-to-back occupies the sender for W·10 ms. If this duration is less than 210 ms, the sender exhausts its window before the first ACK returns and must sit idle.
4. Full utilization requires 10W≥210, giving W≥21. With W=21, the first ACK arrives exactly when frame 21 finishes, allowing frame 22 to start without a gap. Later acknowledgements then arrive at the same spacing as new frames are sent.
5. Therefore the minimum is 21 frames, option B. W=20 covers only the 200-ms propagation round trip and overlooks the first frame’s own 10-ms transmission. W=10 or 11 is also too small.

The equivalent formula is W≥1+2T_prop/T_tx=1+20=21. It assumes acknowledgements are issued after full frame reception as in the stated textbook link model.

Original paper, page 34 · Answer key