Skip to content

GATE CS Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions

Practise Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2026Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
With respect to a TCP connection between a client and a server, which one of the following statements is true?
Official PYQ2026Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 2 marks
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 1000010000 segments. Assume that the round-trip time is fixed at 11 millisecond. Assume that the sender always has data to send, the segments are numbered from 11, and no …
Official PYQ2026Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 2 marks
Consider the implementation of sliding window protocol over a lossless link, with a window size of WW frames, where each frame is of size 10001000 bits (including header). The bandwidth of the link is 100kbps(1k=103)100 \mathrm{kbps}\left(1 \mathrm{k}=10^{3}\right) and the one-way propagation delay is 100100 milliseconds. Assume that processing times at the sender …
Official PYQ2026Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 2 marks
Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 4848 KB, the maximum segment size (MSS) is 22 KB, and the slow start threshold for TCP congestion control is 1616 KB. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the …
Official PYQ2025Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMSQ · 1 mark
Consider the 33-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2\text{P1, P2}, and P3\text{P3}, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?
Official PYQ2025Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
​​​​​Consider the following statements: Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware (link-layer) address. A single TCP segment from a sender SS to a receiver RR cannot carry both data from SS to RR and acknowledgement for a segment from RR to SS Which one of the following is CORRECT?
Official PYQ2025Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 2 marks
​​​​Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is 30003000 bits. The transmission rate of the channel is 20002000 bps (bits/second) and the propagation delay between the two nodes is 100100 milliseconds. Assume that the processing times at the source and destination are negligible. Also, assume that the …
Official PYQ2024Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMSQ · 1 mark
​TCP\mathrm{TCP} client P\mathrm{P} successfully establishes a connection to TCP\text{TCP} server Q\mathrm{Q}. Let NP\text{N}_{P} denote the sequence number in the SYN\text{SYN} sent from P\mathrm{P} to Q\mathrm{Q}. Let NQ\text{N}_{Q} denote the acknowledgement number in the SYN ACK from Q\text{Q} to P\text{P}. Which of the following …
Official PYQ2024Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 2 marks
Consider a TCP\text{TCP} connection operating at a point of time with the congestion window of size 1212 MSS\text{MSS} (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that all the segments transmitted in the next two RTTs\text{RTTs} (Round Trip Time) are acknowledged correctly, the congestion window size (in MSSMSS) during the …
Official PYQ2023Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait\textsf{Stop-and-Wait} protocol for reliable data transfer. Identify in which one of the following scenarios, the utilization of the link is the lowest.
Official PYQ2023Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMSQ · 2 marks
Suppose you are asked to design a new reliable byte-stream transport protocol like TCP.\text{TCP}. This protocol, named myTCP\textsf{myTCP}, runs over a 100 Mbps100 \mathrm{~Mbps} network with Round Trip Time of 150150 milliseconds and the maximum segment lifetime of 22 minutes. Which of the following is/are valid lengths of the Sequence Number field in the …
Official PYQ2022Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 2 marks
Consider a 100  Mbps100 \; \text{Mbps} link between an earth station (sender) and a satellite (receiver) at an altitude of 2100  km.2100 \; \text{km}. The signal propagates at a speed of 3×108  m/s.3 \times 10^{8} \; \text{m/s.} The time taken (in milliseconds,  rounded off to two decimal places)\text{(in milliseconds,} \; \textit{rounded off to two decimal places}) for the receiver to completely receive a packet of …
Official PYQ2022Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 2 marks
Consider the data transfer using TCP\text{TCP} over a 1  Gbps1 \; \text{Gbps} link. Assuming that the maximum segment lifetime (MSL)\text{(MSL)} is set to 60  seconds,60 \; \text{seconds}, the minimum number of bits required for the sequence number field of the TCP\text{TCP} header, to prevent the sequence number space from wrapping around during the MSL\text{MSL} is …
Official PYQ2021Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMSQ · 2 marks
A TCP\text{TCP} server application is programmed to listen on port number PP on host SS. A TCP\text{TCP} client is connected to the TCP\text{TCP} server over the network. Consider that while the TCP\text{TCP} connection was active, the server machine SS crashed and rebooted. Assume that the client does not use the TCP\text{TCP} keepalive timer. …
Official PYQ2021Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMSQ · 2 marks
Consider two hosts PP and QQ connected through a router RR. The maximum transfer unit (MTU)\text{(MTU)} value of the link between PP and RR is 15001500 bytes, and between RR and QQ is 820820 bytes. A TCP\text{TCP} segment of size 14001400 bytes was transferred from PP to QQ through RR, with IP\text{IP} identification value as …
Official PYQ2021Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 2 marks
Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following: The time taken for processing the data frame by the receiver is negligible. The time taken for processing the acknowledgement frame by the sender is negligible. The sender has infinite number of frames …
Official PYQ2021Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Consider the three-way handshake mechanism followed during TCP\text{TCP} connection establishment between hosts PP and QQ. Let XX and YY be two random 3232-bit starting sequence numbers chosen by PP and QQ respectively. Suppose PP sends a TCP\text{TCP} connection request message to QQ with a TCP\text{TCP} segment having …
Official PYQ2020Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 2 marks
Consider a TCP\textsf{TCP} connection between a client and a server with the following specifications; the round trip time is 66 ms, the size of the receiver advertised window is 5050 KB, slow-start threshold at the client is 3232 KB, and the maximum segment size is 22 KB. The connection is established at time t=0t=0. Assume that there are no …
Official PYQ2018Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsNAT · 1 mark
Consider a long-lived TCP\text{TCP} session with an end-to-end bandwidth of 1  Gbps  (=1091\; \text{Gbps}\; (=10^9 bits-per-second).). The session starts with a sequence number of 12341234. The minimum time (in seconds, rounded to the closet integer) before this sequence number can be used again is _________.
Official PYQ2018Computer NetworksTransport Layer: Flow Control, Congestion Control, UDP, TCP, SocketsMCQ · 1 mark
Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion window and MSS window denotes the Maximum Segments Size: The cwnd increases by 22 MSS on every successful acknowledgment The cwnd approximately doubles on every successful acknowledgment The cwnd increases …