GATE Computer Networks: TCP: Flow Control, Congestion Control, Socket API – Previous Year Questions
32 GATE previous year questions on TCP: Flow Control, Congestion Control, Socket API (Computer Networks, Computer Science) with answers and explanations, from every paper.
32 questions worth 47 marks in all (17 1-mark, 15 2-mark). Asked between 2008 and 2026, so you can see how the topic has been tested over time.
- GATE 2008 CS Q14 – What maximum data size can the application layer pass to TCP below it?
- GATE 2008 CS Q17 – Which system call sends a SYN packet?
- GATE 2008 CS Q56 – In TCP slow start, the congestion-window size
- GATE 2008 CS Q58 – A computer on a10 Mbps network is regulated by a token bucket filled at2 Mbps, initially full with16 megabits. For how long can it transmit at10 Mbps?
- GATE 2008 CS Q59 – Server S calls socket(), bind(), listen(), then is preempted before accept(). Client P subsequently calls socket(), connect() to S. Which event can…
- GATE 2009 CS Q47 – Opening a TCP connection uses an initial sequence number from a time-of-day clock that runs even while the host is down. Its low-order32 bits are…
- GATE 2021 CS (CS2) Q17 – P and Q choose initial TCP sequence numbers X and Y. P sends SYN=1,SEQ=X,ACK=0 to request a connection. Which header does Q return on accepting?
- GATE 2015 CS (CS3) Q19 – Consider: I TCP connections are full duplex. II TCP has no selective-acknowledgement option. III TCP connections are message streams. Which are…
- GATE 2015 CS (CS2) Q33 – In which order does a UNIX socket server invoke accept, bind, listen and recv?
- GATE 2015 CS (CS2) Q38 – A TCP connection has bandwidth 1048560 bits/s. Let α be the RTT in milliseconds, rounded to the nearest integer, beyond which window scaling is…
- GATE 2013 CS Q22 – Which transport protocols are used respectively for real-time multimedia, file transfer, DNS and email?
- GATE 2012 CS Q32 – Which transport-layer protocol supports electronic mail?
- GATE 2012 CS Q55 – TCP AIMD starts slow start with window 2 MSS and initial threshold 8 MSS. A timeout occurs during transmission five. Find congestion window at the end…
- GATE 2017 CS (CS2) Q28 – Linux supports connected UDP sockets, on which connect has already been called. Which hold? I: One connected UDP socket communicates with multiple…
- GATE 2014 CS (CS2) Q34 – Which socket API converts an unconnected active TCP socket into a passive socket?
- GATE 2014 CS (CS1) Q37 – A TCP connection has congestion window 32 KB when timeout occurs. RTT is 100 ms and MSS is 2 KB. Find time to recover a 32 KB congestion window (ms).
- GATE 2017 CS (CS1) Q24 – Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls `close` to terminate…
- GATE 2016 CS (CS1) Q64 – 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…
- GATE 2015 CS (CS1) Q23 – 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.…
- GATE 2018 CS Q24 – Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion…
- GATE 2018 CS Q35 – 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.…
- GATE 2026 CS (CS2) Q58 – 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…
- GATE 2026 CS (CS1) Q18 – With respect to a TCP connection between a client and a server, which one of the following statements is true?
- GATE 2026 CS (CS1) Q44 – A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism’s…
- GATE 2025 CS (CS2) Q16 – Consider the following statements: (i) Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware…
- GATE 2025 CS (CS1) Q22 – Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be…
- GATE 2024 CS (CS2) Q54 – 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…
- GATE 2024 CS (CS1) Q29 – 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…
- GATE 2023 CS Q50 – 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…
- GATE 2022 CS Q60 – 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…
- GATE 2021 CS (CS1) Q54 – 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…
- GATE 2020 CS Q65 – 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…