Crack
GATE
C
G
Topic
Transport Layer
Computer Networks
0
/ 21 done
Questions per paper
All
MCQ
MSQ
NAT
2015 to 2026. Point at a year to read it.
0
1
2
2015
2019
2021
2023
2025
2026
Show as a table
Year
All
MCQ
MSQ
NAT
2015
2
1.3
0
0.7
2018
0
0
0
0
2019
0
0
0
0
2020
1
0
0
1
2021
1.5
0.5
0.5
0.5
2022
1
0
0
1
2023
2
1
1
0
2024
1
0
0.5
0.5
2025
1
0.5
0.5
0
2026
2
1.5
0
0.5
1
CS 2026 Set 1 · 1 mark · MCQ · Moderate
With respect to a TCP connection between a client and a server, which one of the following statements is true?
2
CS 2026 Set 1 · 2 marks · MCQ · Moderate
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
t
t
denote the time (in milliseconds) at which the transmission of segment number 2000 starts.
3
CS 2026 Set 1 · 2 marks · MCQ · Moderate
Consider the implementation of sliding window protocol over a lossless link, with a window size of
W
W
W
frames, where each frame is of size
1000
1000
1000
bits (including header). The bandwidth of the link is
100
k
b
p
s
100\,\mathrm{kbps}
100
kbps
(
1
k
=
10
3
1\,\mathrm{k} = 10^3
1
k
=
1
0
3
) and the one-way propagation delay is
100
m
i
l
l
i
s
e
c
o
n
d
s
100\,\mathrm{milliseconds}
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
W
W
W
(in number of frames) required to achieve
100
%
100\%
100%
link utilization?
4
CS 2026 Set 2 · 2 marks · NAT · Easy
Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at
48
K
B
48\,\mathrm{KB}
48
KB
, the maximum segment size (MSS) is
2
K
B
2\,\mathrm{KB}
2
KB
, and the slow start threshold for TCP congestion control is
16
K
B
16\,\mathrm{KB}
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)
5
CS 2025 Set 1 · 1 mark · MSQ · Easy
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?
6
CS 2025 Set 2 · 2 marks · MCQ · Easy
Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is
3000
3000
3000
bits. The transmission rate of the channel is
2000
2000
2000
bps (bits/second) and the propagation delay between the two nodes is
100
100
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?
7
CS 2024 Set 1 · 1 mark · MSQ · Easy
TCP client P successfully establishes a connection to TCP server Q. Let
N
P
N_P
N
P
denote the sequence number in the SYN sent from P to Q. Let
N
Q
N_Q
N
Q
denote the acknowledgement number in the SYN ACK from Q to P. Which of the following statements is/are CORRECT?
8
CS 2024 Set 2 · 2 marks · NAT · Easy
Consider a TCP connection operating at a point of time with the congestion window of size
12
12
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 ____
9
CS 2023 · 1 mark · MCQ · Moderate
Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which one of the following scenarios, the utilization of the link is the lowest.
10
CS 2023 · 2 marks · MSQ · Moderate
Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a
100
M
b
p
s
100\,\mathrm{Mbps}
100
Mbps
network with Round Trip Time of
150
m
i
l
l
i
s
e
c
o
n
d
s
150\,\mathrm{milliseconds}
150
milliseconds
and the maximum segment lifetime of
2
m
i
n
u
t
e
s
2\,\mathrm{minutes}
2
minutes
.
11
CS 2022 · 2 marks · NAT · Moderate
Consider the data transfer using TCP over a
1
G
b
p
s
1\,\mathrm{Gbps}
1
Gbps
link. Assuming that the maximum segment lifetime (MSL) is set to
60
60
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 __________.
12
CS 2021 Set 1 · 2 marks · MSQ · Moderate
A TCP server application is programmed to listen on port number
P
P
P
on host
S
S
S
. A TCP client is connected to the TCP server over the network.
13
CS 2021 Set 1 · 2 marks · NAT · Moderate
Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following:
14
CS 2021 Set 2 · 1 mark · MCQ · Easy
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?
15
CS 2020 · 2 marks · NAT · Moderate
Consider a TCP connection between a client and a server with the following specifications: the round trip time is
6
m
s
6\,\mathrm{ms}
6
ms
, the size of the receiver advertised window is
50
K
B
50\,\mathrm{KB}
50
KB
, slow-start threshold at the client is
32
K
B
32\,\mathrm{KB}
32
KB
, and the maximum segment size is
2
K
B
2\,\mathrm{KB}
2
KB
. The connection is established at time
t
=
0
t = 0
t
=
0
. Assume that there are no timeouts and errors during transmission. Then the size of the congestion window (in
K
B
\mathrm{KB}
KB
) at time
t
+
60
m
s
t + 60\,\mathrm{ms}
t
+
60
ms
after all acknowledgements are processed is ____.
16
CS 2015 Set 1 · 1 mark · MCQ · Hard
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?
17
CS 2015 Set 2 · 1 mark · MCQ · Easy
Identify the correct order in which a server process must invoke the function calls \texttt{accept}, \texttt{bind}, \texttt{listen}, and \texttt{recv} according to UNIX socket API.
18
CS 2015 Set 2 · 1 mark · NAT · Moderate
A link has a transmission speed of
10
6
b
i
t
s
/
s
e
c
10^6\,\mathrm{bits/sec}
1
0
6
bits/sec
. It uses data packets of size
1000
b
y
t
e
s
1000\,\mathrm{bytes}
1000
bytes
each. Assume that the acknowledgment has negligible transmission delay, and that its propagation delay is the same as the data propagation delay. Also assume that the processing delays at nodes are negligible. The efficiency of the stop-and-wait protocol in this setup is exactly
25
%
25\%
25%
. The value of the one-way propagation delay (in milliseconds) is ____.
19
CS 2015 Set 2 · 2 marks · MCQ · Moderate
Assume that the bandwidth for a TCP connection is
1048560
b
i
t
s
/
s
e
c
1048560\,\mathrm{bits\,/\,sec}
1048560
bits
/
sec
. Let
α
\alpha
α
be the value of RTT in milliseconds (rounded off to the nearest integer) after which the TCP window scale option is needed. Let
β
\beta
β
be the maximum possible window size with window scale option. Then the values of
α
\alpha
α
and
β
\beta
β
are
20
CS 2015 Set 3 · 1 mark · MCQ · Easy
Consider the following statements.
21
CS 2015 Set 3 · 2 marks · NAT · Moderate
packet size is
10
7
b
i
t
s
10^7\,\mathrm{bits}
1
0
7
bits
. The network is to be used to its full capacity. Assume that processing delays at nodes are negligible. Then, the minimum size in bits of the sequence number field has to be __________.