Question 15Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

Which of the following correctly describes a TCP connection termination?

  1. AIt is immediate and requires no acknowledgment.
  2. BIt does not involve the FIN flag.
  3. CIt uses a two-way handshake.
  4. DIt ensures both the sender and receiver agree to close the connection.
Show answerHide answer

Correct answer: (D) It ensures both the sender and receiver agree to close the connection.

Explanation

TCP connection termination is graceful: each side sends a FIN and the other acknowledges it (a four-way exchange), so both ends agree to close. It is not immediate and does use the FIN flag.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

This is question 15 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.