Skip to content

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

Explain with AI

A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism's slow-start threshold is set to 1000010000 segments. Assume that the round-trip time is fixed at 11 millisecond. Assume that the sender always has data to send, the segments are numbered from 11, and no segment is lost. Let tt denote the time (in milliseconds) at which the transmission of segment number 20002000 starts.

Which one of the following options is correct?

Choose one option
View worked solution

Answer: B

In TCP slow-start, the congestion window (cwndcwnd) starts at 11 segment and doubles every round-trip time (RTT=1 msRTT = 1\text{ ms}) as long as cwnd<ssthresh=10000cwnd < ssthresh = 10000.

Let kk denote the kk-th RTT, which spans the time interval [k−1,k][k-1, k] milliseconds. The number of segments transmitted in the kk-th RTT is 2k−12^{k-1}.

The cumulative number of segments sent by the end of the kk-th RTT (at t=kt = k ms) is given by the geometric sum:

Sk=∑i=1k2i−1=2k−1S_k = \sum_{i=1}^{k} 2^{i-1} = 2^k - 1

Let's calculate SkS_k for k=10k = 10 and k=11k = 11:

  • For k=10k = 10 (at t=10 mst = 10\text{ ms}): S10=210−1=1023S_{10} = 2^{10} - 1 = 1023 segments.
  • For k=11k = 11 (at t=11 mst = 11\text{ ms}): S11=211−1=2047S_{11} = 2^{11} - 1 = 2047 segments.

Since segment number 20002000 lies between 10241024 and 20472047, it is transmitted during the 11th RTT, which corresponds to the time interval [10,11)[10, 11) ms. Therefore, the start time tt of segment 20002000 satisfies:

10≤t<1110 \leq t < 11

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