The GATE Grind

GATE Computer Networks: TCP: Flow Control, Congestion Control, Socket API – Previous Year Questions

16 GATE previous year questions on TCP: Flow Control, Congestion Control, Socket API (Computer Networks, Computer Science) with answers and explanations, from every paper.

  1. GATE 2017 CS Q24 (1 mark, Multiple choice) – Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls `close` to terminate…
  2. GATE 2016 CS Q64 (2 marks, Numerical answer) – For a host machine that uses the token bucket algorithm for congestion control, the token bucket has a capacity of 1 megabyte and the maximum output…
  3. GATE 2015 CS Q23 (1 mark, Multiple choice) – Suppose two hosts use a TCP connection to transfer a large file. Which of the following statements is/are FALSE with respect to the TCP connection? I.…
  4. GATE 2018 CS Q24 (1 mark, Multiple choice) – Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion…
  5. GATE 2018 CS Q35 (1 mark, Numerical answer) – Consider a long-lived TCP session with an end-to-end bandwidth of 1 Gbps (=109 bits-per-second). The session starts with a sequence number of 1234.…
  6. GATE 2026 CS (CS2) Q58 (2 marks, Numerical answer) – Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 48 KB, the maximum segment size (MSS) is…
  7. GATE 2026 CS (CS1) Q18 (1 mark, Multiple choice) – With respect to a TCP connection between a client and a server, which one of the following statements is true?
  8. GATE 2026 CS (CS1) Q44 (2 marks, Multiple choice) – A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism’s…
  9. GATE 2025 CS (CS2) Q16 (1 mark, Multiple choice) – Consider the following statements: (i) Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware…
  10. GATE 2025 CS (CS1) Q22 (1 mark, Multiple select) – Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be…
  11. GATE 2024 CS (CS2) Q54 (2 marks, Numerical answer) – Consider a TCP connection operating with a congestion window of size 12 MSS when a timeout occurs due to packet loss. Assuming that all the segments…
  12. GATE 2024 CS (CS1) Q29 (1 mark, Multiple select) – TCP client P successfully establishes a connection to TCP server Q. Let N P denote the sequence number in the SYN sent from P to Q. Let N Q denote the…
  13. GATE 2023 CS Q50 (2 marks, Multiple select) – Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a 100 Mbps network with…
  14. GATE 2022 CS Q60 (2 marks, Numerical answer) – Consider the data transfer using TCP over a 1 Gbps link. Assuming that the maximum segment lifetime (MSL) is set to 60 seconds, the minimum number of…
  15. GATE 2021 CS Q54 (2 marks, Multiple select) – A TCP server application is programmed to listen on port number P on host S. A TCP client is connected to the TCP server over the network. Consider…
  16. GATE 2020 CS Q65 (2 marks, Numerical answer) – Consider a TCP connection between a client and a server with the following specifications: the round trip time is 6 ms, the size of the receiver…