GATE / CS ARCHIVE

GATE CSE 2023 / QUESTION 50

GATE CSE 2023 Q50

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2023 paper

GATE 2023, Q50 2 marks · MSQ
Report issue

Transport, Congestion Control & Traffic Shaping

Question 50, GATE 2023: A TCP-like byte-stream protocol runs at 100 Mbps, RTT 150 ms, and maximum segment lifetime 2 minutes. Which sequence-number field lengths prevent reuse within a segment lifetime at full rate? A 30 bits; B 32; C 34; D 36.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, C, D

At100Mbps a byte-stream consumes 100×10⁶/8=12.5×10⁶ sequence numbers per second. During the 120-second maximum segment lifetime it can send 1.5×10⁹ bytes. The sequence space must exceed that count to avoid wraparound while old data can still exist. Since2³⁰≈1.074×10⁹ is too small and 2³¹≈2.147×10⁹ is sufficient, the listed 32-, 34-, 36-bit fields work, but 30 bits does not. Thus B, C, D. RTT affects window sizing, not this lifetime wraparound bound.

Teaching detail. Sequence numbers label bytes, not bits or whole packets, so the conversion from 100 megabits/second to bytes/second is essential. For b bits, wrap time is 2b/(12.5×106) seconds; it must exceed 120 seconds in the intended model. A 30-bit space wraps in about 85.9 seconds, whereas 32 bits lasts about 343.6 seconds. The mathematical minimum is 31 bits, which is absent from the offered choices; that does not make 32 the sole valid answer, because larger listed fields also work.

Original paper, page 53 · Answer key