GateAI
TCP Flow and Congestion Control

GATE CSE 2026 Set 2 · Q58

NAT2 marksMedium

Time

Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 48 KB, the maximum segment size (MSS) is 2 KB, and the slow start threshold for TCP congestion control is 16 KB. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm of the TCP connection to reach the congestion avoidance phase is ________. (answer in integer) Note: 1K=2102^{10}

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 4

TCP Flow and Congestion Control

Given parameters:

  • MSS=2 KB\text{MSS} = 2\text{ KB}

  • ssthresh=16 KB=8 MSS\text{ssthresh} = 16\text{ KB} = 8\text{ MSS}

  • Receiver advertised window (rwnd\text{rwnd}) = 48 KB48\text{ KB}

Initially, the TCP sender starts in the Slow Start phase with CWND=1 MSS=2 KB\text{CWND} = 1\text{ MSS} = 2\text{ KB}.

In the slow start phase, the congestion window doubles every round of transmission (assuming all ACKs are received successfully):

  • Round 1: Transmit CWND=1 MSS=2 KB\text{CWND} = 1\text{ MSS} = 2\text{ KB}. Upon receiving ACK, CWND\text{CWND} increases to 2 MSS=4 KB2\text{ MSS} = 4\text{ KB}.

  • Round 2: Transmit CWND=2 MSS=4 KB\text{CWND} = 2\text{ MSS} = 4\text{ KB}. Upon receiving ACKs, CWND\text{CWND} increases to 4 MSS=8 KB4\text{ MSS} = 8\text{ KB}.

  • Round 3: Transmit CWND=4 MSS=8 KB\text{CWND} = 4\text{ MSS} = 8\text{ KB}. Upon receiving ACKs, CWND\text{CWND} increases to 8 MSS=16 KB8\text{ MSS} = 16\text{ KB}.

  • Round 4: CWND=16 KB=ssthresh\text{CWND} = 16\text{ KB} = \text{ssthresh}. At this point, CWND≥ssthresh\text{CWND} \ge \text{ssthresh}, so the connection reaches and enters the Congestion Avoidance phase during this round of transmission.

Therefore, the number of transmission rounds required to reach the congestion avoidance phase is 4.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This TCP Flow and Congestion Control previous year question is Q58 of the GATE CSE 2026 Set 2 paper. Find more GATE CSE PYQs on TCP Flow and Congestion Control in Computer Networks, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related TCP Flow and Congestion Control PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

TCP Flow and Congestion Control in GATE CSE

TCP Flow and Congestion Control has 23 GATE CSE PYQs across 21 papers from 2012 to 2026. 6 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2026 Set 2.

How GATE tests TCP Flow and Congestion Control

More from GATE CSE 2026 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 2 · Q58 · NAT

Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 48 KB, the maximum segment size (MSS) is 2 KB, and the slow start threshold for TCP congestion control is 16 KB. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm of the TCP connection to reach the congestion avoidance phase is … (answer in integer) Note: 1K=210

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.