Computer Networks · Previous year questions
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
27 questions from GATE CS 2012 to 2026, newest first.
Questions
GATE CS 2026 Set 1, Q.18
With respect to a TCP connection between a client and a server, which one of the following statements is true?
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2026 Set 1, Q.44
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 se...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2026 Set 2, Q.58
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 th...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2025 Set 1, Q.22
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 or...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2025 Set 2, Q.16
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...
IPv4/IPv6 Addressing, Subnetting, CIDR, ARP, ICMP and NAT · Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2024 Set 1, Q.16
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-...
Application Layer: DNS, HTTP, SMTP, FTP · Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2024 Set 1, Q.29
TCP client P successfully establishes a connection to TCP server Q. Let denote the sequence number in the SYN sent from P to Q. Let denote the acknowledgement number...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2024 Set 2, Q.54
Consider a TCP connection operating at a point of time with the congestion window of size 12 MSS (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2023, Q.50
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 Round Trip Time of 150 mill...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2022, Q.60
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 bits required for the seque...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2021 Set 1, Q.54 (CS Q.44)
A TCP server application is programmed to listen on port number on host . A TCP client is connected to the TCP server over the network. Consider that while the TCP connec...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2021 Set 2, Q.17 (CS Q.7)
Consider the three-way handshake mechanism followed during TCP connection establishment between hosts and . Let and be two random 32-bit starting sequence numbers...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2020, Q.65 (CS Q.55)
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 advertised window is 50 KB, slow...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2018, Q.24 (CS Q.14)
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 denotes the...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2017 Set 1, Q.14 (CS Q.14)
Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls
closeto terminate the connection and a FIN segm...Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2017 Set 2, Q.9 (CS Q.9)
Consider the following statements about the routing protocols, Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an IPv4 network. I: RIP uses distance ve...
Routing Algorithms (Distance Vector, Link State) and BGP/OSPF · Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2017 Set 2, Q.18 (CS Q.18)
Consider socket API on a Linux machine that supports connected UDP sockets. A connected UDP socket is a UDP socket on which
connectfunction has already been called. Which of...Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2016 Set 1, Q.64 (CS Q.54)
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 rate is 20 megabytes per sec...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2016 Set 2, Q.35 (CS Q.25)
Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the h...
Application Layer: DNS, HTTP, SMTP, FTP · Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2015 Set 1, Q.29 (CS Q.19)
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. If the sequence number of...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2015 Set 2, Q.44 (CS Q.34)
Assume that the bandwidth for a TCP connection is 1048560 bits/sec. Let be the value of RTT in milliseconds (rounded off to the nearest integer) after which the TCP win...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2015 Set 3, Q.32 (CS Q.22)
Consider the following statements. I. TCP connections are full duplex II. TCP has no option for selective acknowledgement III. TCP connections are message streams Which of the f...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2014 Set 1, Q.37 (CS Q.27)
Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2014 Set 2, Q.34 (CS Q.24)
Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket?
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2013, Q.12 (CS Q.12)
The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2012, Q.22 (CS Q.22)
Which of the following transport layer protocols is used to support electronic mail?
Application Layer: DNS, HTTP, SMTP, FTP · Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
GATE CS 2012, Q.45 (CS Q.45)
Consider an instance of TCP's Additive Increase Multiplicative Decrease (AIMD) algorithm where the window size at the start of the slow start phase is 2 MSS and the threshold at...
Transport Layer: UDP, TCP Flow and Congestion Control, Sockets
Other topics of Computer Networks
- OSI/TCP-IP Layering, Physical Layer and Switching
- Data Link Layer: Framing, Error Detection and Sliding Window
- Medium Access Control (ALOHA, CSMA/CD) and Ethernet/Switching
- IPv4/IPv6 Addressing, Subnetting, CIDR, ARP, ICMP and NAT
- Routing Algorithms (Distance Vector, Link State) and BGP/OSPF
- Application Layer: DNS, HTTP, SMTP, FTP