Skip to content

GATE CS 2026 Set 1 Q35 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI

Consider the implementation of sliding window protocol over a lossless link, with a window size of WW frames, where each frame is of size 10001000 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 100100 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?

Choose one option
View worked solution

Answer: B

To achieve 100%100\% link utilization in a sliding window protocol, the sender must be able to transmit frames continuously without waiting for acknowledgements. This requires the window size WW to be at least the total number of frames that can be transmitted during one round-trip cycle.

1. Calculate Transmission Delay (TtT_t):

Tt=Frame SizeBandwidth=1000 bits100×103 bps=0.01 seconds=10 msT_t = \frac{\text{Frame Size}}{\text{Bandwidth}} = \frac{1000 \text{ bits}}{100 \times 10^3 \text{ bps}} = 0.01 \text{ seconds} = 10 \text{ ms}

2. Propagation Delay (TpT_p):

Tp=100 msT_p = 100 \text{ ms}

3. Calculate Round-Trip Time (RTT):
Since the processing time and acknowledgement transmission time are zero, the total time to complete one cycle (from sending the first bit of a frame to receiving its acknowledgement) is: Ttotal=Tt+2Tp=10 ms+2×100 ms=210 msT_{\text{total}} = T_t + 2 T_p = 10 \text{ ms} + 2 \times 100 \text{ ms} = 210 \text{ ms}

4. Calculate Minimum Window Size (WW):
For 100%100\% utilization, the window size WW must satisfy: W≥TtotalTt=210 ms10 ms=21W \ge \frac{T_{\text{total}}}{T_t} = \frac{210 \text{ ms}}{10 \text{ ms}} = 21

Thus, the minimum size of WW required is 21.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions