Transport Layer questions — page 1 of 2

Q18

GATE CS 2026 CS-1Transport LayerMCQ1 mark−1/3 if wrong
With respect to a TCP connection between a client and a server, which one of the following statements is true?
Show answer without attempting

Answer: D

Q44

GATE CS 2026 CS-1Transport LayerMCQ2 marks−2/3 if wrong
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 tt denote the time (in milliseconds) at which the transmission of segment number 2000 starts.

Which one of the following options is correct?
Show answer without attempting

Answer: B

Q45

GATE CS 2026 CS-1Transport LayerMCQ2 marks−2/3 if wrong
Consider the implementation of sliding window protocol over a lossless link, with a window size of WW frames, where each frame is of size 1000 bits (including header). The bandwidth of the link is 100 kbps (1k=1031\text{k} = 10^3) and the one-way propagation delay is 100 milliseconds. Assume that processing times at the sender and receiver are zero and the transmission time of acknowledgements is also zero. Which one of the following options gives the minimum size of WW (in number of frames) required to achieve 100% link utilization?
Show answer without attempting

Answer: B

Q58

GATE CS 2026 CS-2Transport LayerNAT2 marks
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=2101\text{K}=2^{10}
Show answer without attempting

Answer: 4

Q22

GATE CS 2025 CS-1Transport LayerMSQ1 mark
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?
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q16

GATE CS 2025 CS-2Transport LayerMCQ1 mark−1/3 if wrong
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?
Show answer without attempting

Answer: B

Q36

GATE CS 2025 CS-2Transport LayerMCQ2 marks−2/3 if wrong
Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is 3000 bits. The transmission rate of the channel is 2000 bps (bits/second) and the propagation delay between the two nodes is 100 milliseconds. Assume that the processing times at the source and destination are negligible. Also, assume that the size of the acknowledgement packet is negligible.

Which ONE of the following most accurately gives the channel utilization for the above scenario in percentage?
Show answer without attempting

Answer: A

Q29

GATE CS 2024 CS-1Transport LayerMSQ1 mark
TCP client P successfully establishes a connection to TCP server Q. Let NPN_P denote the sequence number in the SYN sent from P to Q. Let NQN_Q denote the acknowledgement number in the SYN ACK from Q to P. Which of the following statements is/are CORRECT?
More than one option can be correct.
Show answer without attempting

Answer: A, D

Q36

GATE CS 2024 CS-1Transport LayerMCQ2 marks−2/3 if wrong
Consider a network path P—Q—R between nodes P and R via router Q. Node P sends a file of size 10610^6 bytes to R via this path by splitting the file into chunks of 10310^3 bytes each. Node P sends these chunks one after the other without any wait time between the successive chunk transmissions. Assume that the size of extra headers added to these chunks is negligible, and that the chunk size is less than the MTU.
Each of the links P—Q and Q—R has a bandwidth of 10610^6 bits/sec, and negligible propagation latency. Router Q immediately transmits every packet it receives from P to R, with negligible processing and queueing delays. Router Q can simultaneously receive on link P—Q and transmit on link Q—R.
Assume P starts transmitting the chunks at time t=0t = 0.
Which one of the following options gives the time (in seconds, rounded off to 3 decimal places) at which R receives all the chunks of the file?
Show answer without attempting

Answer: B

Q54

GATE CS 2024 CS-2Transport LayerNAT2 marks
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 all the segments transmitted in the next two RTTs (Round Trip Time) are acknowledged correctly, the congestion window size (in MSS) during the third RTT will be _________
Show answer without attempting

Answer: 4

Q50

GATE CS 2023 CSTransport LayerMSQ2 marks
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 milliseconds and the maximum segment lifetime of 2 minutes.

Which of the following is/are valid lengths of the Sequence Number field in the myTCP header?
More than one option can be correct.
Show answer without attempting

Answer: B, C, D

Q60

GATE CS 2022 CSTransport LayerNAT2 marks
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 sequence number field of the TCP header, to prevent the sequence number space from wrapping around during the MSL is____________.
Show answer without attempting

Answer: 33

Q44

GATE CS 2021 CS-1Transport LayerMSQ2 marks
A TCP server application is programmed to listen on port number PP on host SS. A TCP client is connected to the TCP server over the network.
Consider that while the TCP connection was active, the server machine SS crashed and rebooted. Assume that the client does not use the TCP keepalive timer.
Which of the following behaviors is/are possible?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q49

GATE CS 2021 CS-1Transport LayerNAT2 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 available for transmission.
- The size of the data frame is 2,000 bits and the size of the acknowledgement frame is 10 bits.
- The link data rate in each direction is 1 Mbps (= 10610^6 bits per second).
- One way propagation delay of the link is 100 milliseconds.
The minimum value of the sender's window size in terms of the number of frames, (rounded to the nearest integer) needed to achieve a link utilization of 50% is ______.
Show answer without attempting

Answer: 50 to 52

Q7

GATE CS 2021 CS-2Transport LayerMCQ1 mark−1/3 if wrong
Consider the three-way handshake mechanism followed during TCP connection establishment between hosts P and Q. Let X and Y be two random 32-bit starting sequence numbers chosen by P and Q respectively. Suppose P sends a TCP connection request message to Q with a TCP segment having SYN bit = 1, SEQ number = X, and ACK bit = 0. Suppose Q accepts the connection request. Which one of the following choices represents the information present in the TCP segment header that is sent by Q to P?
Show answer without attempting

Answer: C

Q55

GATE CS 2020 CSTransport LayerNAT2 marks
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-start threshold at the client is 32 KB, and the maximum segment size is 2 KB. The connection is established at time t=0t = 0. Assume that there are no timeouts and errors during transmission. Then the size of the congestion window (in KB) at time t+60t + 60 ms after all acknowledgements are processed is __________.
Show answer without attempting

Answer: 44

Q13

GATE CS 2018 CSTransport LayerMCQ1 mark−1/3 if wrong
Match the following:
FieldLength in bits
P. UDP Header's Port NumberI. 48
Q. Ethernet MAC AddressII. 8
R. IPv6 Next HeaderIII. 32
S. TCP Header's Sequence NumberIV. 16
Show answer without attempting

Answer: C

Q14

GATE CS 2018 CSTransport LayerMCQ1 mark−1/3 if wrong
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 Maximum Segment Size.

(i) The cwnd increases by 2 MSS on every successful acknowledgment.
(ii) The cwnd approximately doubles on every successful acknowledgement.
(iii) The cwnd increases by 1 MSS every round trip time.
(iv) The cwnd approximately doubles every round trip time.

Which one of the following is correct?
Show answer without attempting

Answer: C

Q25

GATE CS 2018 CSTransport LayerNAT1 mark
Consider a long-lived TCP session with an end-to-end bandwidth of 1 Gbps (=109= 10^9 bits-per-second). The session starts with a sequence number of 1234. The minimum time (in seconds, rounded to the closest integer) before this sequence number can be used again is _______.
Show answer without attempting

Answer: 34 to 35

Q14

GATE CS 2017 CS-1Transport LayerMCQ1 mark−1/3 if wrong
Consider a TCP client and a TCP server running on two different machines. After completing data transfer, the TCP client calls close to terminate the connection and a FIN segment is sent to the TCP server. Server-side TCP responds by sending an ACK, which is received by the client-side TCP. As per the TCP connection state diagram (RFC 793), in which state does the client-side TCP connection wait for the FIN from the server-side TCP?
Show answer without attempting

Answer: D

0/200 correct0 marks

Related topics in Computer Networks