Home › GATE CS › PYQs › Computer Networks › TCP: Flow Control, Congestion Control & Socket API

TCP: Flow Control, Congestion Control & Socket API — GATE CS Previous Year Questions

Practise GATE CS previous year questions on TCP: Flow Control, Congestion Control & Socket API in Computer Networks (CN). Filter by year, marks and question type.

Public question previews

  • With respect to a TCP connection between a client and a server, which one of the following statements is true? (2026 · 1 mark · MCQ)
  • A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism’s slow-start threshold is set to 10000 segments. Assume that the round-trip time is fixed at 1 millisecond. Assume that the sender always has data to send, the segments are numbered from 1, and no segment is lost. Let t denote the time (in milliseconds) at which the transmission of segment number 2000 starts. Which one of the following options is correct? (2026 · 2 marks · MCQ)
  • 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 2 KB, and the slow start threshold for TCP congestion control is 16 KB. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm of the TCP connection to reach the congestion avoidance phase is ___________. (answer in integer) Note: 1K=2^10 (2026 · 2 marks · NAT)
  • 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? (2025 · 1 mark · MSQ)
  • Consider the following statements: (i) Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware (link-layer) address. (ii) A single TCP segment from a sender S to a receiver R cannot carry both data from S to R and acknowledgement for a segment from R to S. Which ONE of the following is CORRECT? (2025 · 1 mark · MCQ)