GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER NETWORKS

Trace initial TCP slow-start rounds

5 questions solved the same way, newest first. Back to Computer Networks

How these are solved

Track per-ACK increase and approximate doubling per RTT up to the threshold, then linear growth when needed; sum rounds for a segment-index question. Initial-window convention is material and is omitted in the 2026 stems; grouping does not certify a unique answer.

2 marks · MCQ
Report issue

TCP slow start and an omitted initial window

Transport, Congestion Control & Traffic Shaping

Question 44, GATE 2026: A TCP connection has slow-start threshold 10000 segments, fixed RTT 1 ms, unlimited queued data, no losses, and segment numbering from 1. Find the interval when segment 2000 begins: A [9,10), B [10,11), C [11,12), D [12,13) ms. The initial congestion window and precise time origin are not explicitly stated.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Our answer: B under the implicit initial-window=1 convention; otherwise under-specified.

Givens and goal

A TCP connection has slow-start threshold 10000 segments, fixed RTT 1 ms, unlimited queued data, no losses, and segment numbering from 1. Find the interval when segment 2000 begins: A [9,10), B [10,11), C [11,12), D [12,13) ms. The initial congestion window and precise time origin are not explicitly stated.

Approach

Derive the official result under the usual one-segment, idealized-round convention, then identify which missing assumptions it uses.

Step-by-step solution

1. Assume the first segment starts at time 0, the initial congestion window is one segment, and each RTT doubles the allowed batch during slow start. The sending windows are 1,2,4,8,… .
2. Number rounds from r=0. Round r starts at r milliseconds and sends 2r segments. Through the end of round r the cumulative number is 1+2+…+2r=2r+1−1.
3. Through round 9 the cumulative count is 210−1=1023. Round 10 has window 1024 and covers segment numbers 1024 through 2047. Therefore segment 2000 belongs to the sending interval [10,11) ms, giving official option B.
4. The slow-start threshold does not change this calculation because the relevant window, 1024, is well below 10000.
5. The initial window is material. If it were ten segments, cumulative counts would be 10(2r+1−1). Through round 6 this is 1270; round 7 reaches 2550. The same segment would then begin in [7,8) under the same idealized batch convention.

CS-2026-S1-Q44-IW. Official B depends on initial window 1, the chosen post-establishment time origin, and the textbook round model. The stated parameters alone do not uniquely determine the interval. This is not a claim that a revised official key exists.

Original paper, page 33 · Answer key

2 marks · NAT
Report issue

Slow-start rounds and the initial-window convention

Transport, Congestion Control & Traffic Shaping

Question 58, GATE 2026: A new TCP connection has constant receive window 48 KB, MSS 2 KB, and slow-start threshold 16 KB, with no timeouts or duplicate ACKs. How many transmission rounds are needed to reach congestion avoidance? The initial congestion window and round-count convention are not explicitly stated.
Tap to enlarge
Answer & solution

Official answer: 4

Givens and goal

A new TCP connection has constant receive window 48 KB, MSS 2 KB, and slow-start threshold 16 KB, with no timeouts or duplicate ACKs. How many transmission rounds are needed to reach congestion avoidance? The initial congestion window and round-count convention are not explicitly stated.

Approach

Use the textbook one-MSS start for the published answer and explain the dependency on that assumption.

Step-by-step solution

1. Under the conventional exercise assumption, the initial congestion window is one MSS=2 KB. In idealized slow start, one successful round doubles the window because acknowledgements increase the congestion window for the next round.
2. The sending-window sequence is round 1:2 KB, round 2:4 KB, round 3:8 KB, round 4:16 KB. The threshold 16 KB is first reached in the fourth sending round.
3. The receive window is 48 KB, larger than every window in this sequence, so it never limits the growth before the threshold. Using the threshold-round index gives the official answer 4.
4. However, only three completed doubling rounds separate the initial 2 KB window from 16 KB. Counting completed slow-start rounds instead of labeling the first threshold sending round changes the wording of the answer by one.
5. Moreover the initial congestion window is not specified; starting at 4 KB would give sending windows 4,8,16 and an index of 3. Modern TCP implementation defaults need not be one MSS. Therefore retain 4 as the published scoring answer with these implicit assumptions, rather than asserting an implementation-independent fact.

Original paper, page 40 · Answer key

2 marks · NAT
Report issue

Transport, Congestion Control & Traffic Shaping

Question 55, GATE 2020: TCP is established at t=0, RTT=6 ms, receiver advertised window=50 KB, client slow-start threshold=32 KB, MSS=2 KB, no errors or timeouts. Find congestion window after all ACKs at t=60 ms. Initial cwnd and ACK growth convention are not stated; give the intended classic-model answer with that caveat.
Tap to enlarge
Answer & solution

Official answer: 44

Our answer: 44 under classic one-MSS initial window

Worked explanation

There are 60/6=10 completed RTT rounds. In the intended one-MSS initial model the window in MSS after rounds 0…10 is 1,2,4,8,16,17,18,19,20,21,22. Multiply by 2 KB to get 2,4,8,16,32,34,36,38,40,42,44 KB at times 0,6,…,60 ms. The threshold 32 KB is reached after round 4, leaving six additive-increase rounds, not ten. The advertised receiver window limits allowed outstanding data to min(cwnd,rwnd), but here 44<50, so it does not bind. This table is conditional on the classic RTT-based growth and stated initial-window assumption; it is not a claim that all compliant TCP implementations must start at 2 KB.

Derivation and answer

In the classic round-based model, start cwnd at one MSS=2KB when t=0. After RTTs at 6, 12, 18, 24ms, slow start gives 4, 8, 16, 32KB. Then congestion avoidance adds one MSS=2KB per RTT; the next six acknowledgments rounds through 60ms give 34, 36, 38, 40, 42, 44KB. The50KB receiver window does not bind. Thus official 44KB follows. The initial congestion window and ACK growth convention are not explicitly specified; modern larger initial windows or different ACK accounting can change the result. Retain44 as the intended historical model, not a universal TCP outcome.

Original paper, page 16 · Answer key

1 mark · MCQ
Report issue

TCP slow start per ACK and per RTT

Transport, Congestion Control & Traffic Shaping

Question 14, GATE 2018: During textbook slow start consider: i cwnd increases by 2 MSS per ACK; ii doubles per ACK; iii increases by 1 MSS per RTT; iv approximately doubles per RTT. Choose A ii,iii; B i,iii; C iv only; D i,iv.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Method

Suppose cwnd is w MSS at the start of a round, so approximately w full segments are sent. Each successful ACK adds roughly one MSS, and the w acknowledgments add w MSS in total. The next round therefore starts near 2w MSS. This is exponential growth by rounds, not by individual ACKs. A one-MSS increase per RTT describes the rough congestion-avoidance behavior instead of slow start.

Solution

In textbook slow start, each ACK increases cwnd by approximately one MSS. With one ACK per segment in a full window, one RTT supplies about cwnd/MSS ACKs, approximately doubling the window. Only iv is true, C. Delayed ACKs and implementation details qualify the approximate doubling.

Original paper, page 8 · Answer key

2 marks · MCQ
Report issue

TCP slow-start congestion-window growth

Transport, Congestion Control & Traffic Shaping

Question 56, GATE 2008: During TCP slow start, how does the congestion-window size grow over successive round trips?

(A) Does not increase
(B) Linearly
(C) Quadratically
(D) Exponentially
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. The congestion window grows exponentially over successive round-trip times in slow start, option D. In the simplified textbook model each acknowledged segment increases the window by one MSS; a window of W segments produces about W acknowledgments in one RTT, so the window becomes approximately 2W.
2. After k such rounds it is approximately 2k times its initial value, until reaching a threshold or encountering loss. Growth is per ACK rather than continuous time; delayed ACKs and practical implementations affect the precise factor but not the intended exponential-versus-linear distinction.

Original paper, page 11