GATE CS 2024 Set 1 | Question 29

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

  1. Question 29Computer Networksmsq1 mark
    TCP client P connects to server Q. = sequence number in the SYN from P. = acknowledgement number in the SYN-ACK from Q. Which statements is/are CORRECT?
    • A.
      is chosen randomly by P
      ✓
    • B.
      is always 0 for a new connection
    • C.
      equals
    • D.
      equals
      ✓

    Answer: A, D

    Solution

    Answer: (A) and (D) TCP chooses the initial sequence number (pseudo-)randomly (not 0) -> (A) true, (B) false. The SYN consumes one sequence number, so the server acknowledges with -> (D) true, (C) false.

More GATE PYQ on Transport Layer

All GATE CS Computer Networks PYQ →

Attempt GATE CS 2024 Set 1 in real GATE exam mode

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

Create free account →