Skip to content
GATEiit

GATE CSE 2025 Session 1 Q22: TCP flags in the three-way handshake

Question

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?

Try it: multiple select: one or more correct options

Select one or more options
Select all correct options. No negative marking, no partial marks.
Show answer and explanation

Answer: B, D (official GATE 2025 final answer key)

Concept used: Three-way handshake: SYN, then SYN+ACK, then ACK.

First step: Write the three segments: client SYN, server SYN-ACK, client ACK (with SYN = 0).

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2025 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key