GateAI
TCP Flow and Congestion Control

GATE CSE 2025 Set 1 · Q22

MSQ1 markEasy

Time

Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2, and P3, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) P2: SYN = 1, ACK = 1; D) P1: SYN = 1

TCP Flow and Congestion Control

In the standard TCP 3-way handshake for establishing a connection between a client and a server:

  1. First Packet (P1P_1) [Client →\to Server]: The client sends a segment with the synchronize flag set to initiate the connection.

    SYN=1,ACK=0\text{SYN} = 1,\quad \text{ACK} = 0

    Hence, Option (D) is TRUE.

  2. Second Packet (P2P_2) [Server →\to Client]: The server acknowledges the client's sequence number and synchronizes its own sequence number.

    SYN=1,ACK=1\text{SYN} = 1,\quad \text{ACK} = 1

    Hence, Option (B) is TRUE and Option (C) is FALSE.

  3. Third Packet (P3P_3) [Client →\to Server]: The client acknowledges the server's sequence number.

    SYN=0,ACK=1\text{SYN} = 0,\quad \text{ACK} = 1

    Hence, Option (A) is FALSE.

Therefore, the correct options are B and D.

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 Q22 of the GATE CSE 2025 Set 1 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. 2 of them are 1-mark MSQs like this one, and it is the only one in GATE CSE 2025 Set 1.

How GATE tests TCP Flow and Congestion Control

More from GATE CSE 2025 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2025 Set 1 · Q22 · MSQ

Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2, and P3, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?

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.