GATE CS 2025 Set 1 | Question 22

Computer Networks › Transport Layer · MSQ · 1 mark · Answer: B, D

  1. Question 22Computer Networksmsq1 mark
    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?
    • A.
      P3: SYN = 1, ACK = 1
    • B.
      P2: SYN = 1, ACK = 1
      ✓
    • C.
      P2: SYN = 0, ACK = 1
    • D.
      P1: SYN = 1
      ✓

    Answer: B, D

    Solution

    Answer: (B) and (D) TCP's three-way handshake: - P1 (client → server): SYN (request). → (D) True. - P2 (server → client): SYN , ACK (SYN-ACK). → (B) True, so (C) is False. - P3 (client → server): SYN , ACK (pure ACK). → (A) is False.

More GATE PYQ on Transport Layer

All GATE CS Computer Networks PYQ →

Attempt GATE CS 2025 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →