Transport Layer Protocol · Computer Networks
46 questions · asked in 22 of 27 years (2000–2026)
MCQ 33 · MSQ 6 · NAT 71-mark 29 · 2-mark 17
2000Questions per year2026
Questions 6–10 of 46
TCP client P successfully establishes a connection to TCP server . Let denote the sequence number in the SYN sent from to . Let denote the acknowledgement number in the SYN ACK from Q to P. Which of the following statements is/are CORRECT?
One or more options are correct.
Answer: (A), (D)
Let us go through each statement:
- The initial sequence number (ISN) is picked at random (this avoids mix-ups with old segments and helps security) This is TRUE. It is not always 0.
- A SYN segment uses up one sequence number. So Q acknowledges with the next number it expects: This is TRUE (so is false).
Answer: is picked at random by P;
- The initial sequence number (ISN) is picked at random (this avoids mix-ups with old segments and helps security) This is TRUE. It is not always 0.
- A SYN segment uses up one sequence number. So Q acknowledges with the next number it expects: This is TRUE (so is false).
Answer: is picked at random by P;
Which of the following statements about IPv4 fragmentation is/are TRUE?
One or more options are correct.
Answer: (B), (C)
Recall the IPv4 fragmentation rules:
- (A) is false and (B) is true. In IPv4, any router can fragment a datagram if the MTU of its outgoing link is smaller than the datagram. It is not only the source.
- (C) is true and (D) is false. Fragments can travel by different routes, so an intermediate router may not see all of them. So reassembly happens only at the destination.
Answer: (B), (C)
- (A) is false and (B) is true. In IPv4, any router can fragment a datagram if the MTU of its outgoing link is smaller than the datagram. It is not only the source.
- (C) is true and (D) is false. Fragments can travel by different routes, so an intermediate router may not see all of them. So reassembly happens only at the destination.
Answer: (B), (C)
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 _________
Answer: 4
When a timeout happens: MSS. The cwnd is reset to 1 MSS. Then slow start begins, and the window doubles in every RTT:
- RTT 1: cwnd = 1
- RTT 2: cwnd = 2
- RTT 3: cwnd = 4 (this is still less than ssthresh = 6)
Answer: 4
- RTT 1: cwnd = 1
- RTT 2: cwnd = 2
- RTT 3: cwnd = 4 (this is still less than ssthresh = 6)
Answer: 4
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?
Which of the following is/are valid lengths of the Sequence Number field in the myTCP header?
One or more options are correct.
Answer: (B), (C), (D)
Sequence numbers must not repeat (wrap around) within one MSL. Count the bytes sent in 2 minutes:
bytes
Compare with the sequence space: (too small), (big enough). So the field needs at least 31 bits.
Valid lengths are 32, 34 and 36 bits. 30 bits is not valid.
Answer: 32 bits, 34 bits, 36 bits
bytes
Compare with the sequence space: (too small), (big enough). So the field needs at least 31 bits.
Valid lengths are 32, 34 and 36 bits. 30 bits is not valid.
Answer: 32 bits, 34 bits, 36 bits
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
Answer: 33
TCP counts bytes, not packets. Number of bytes sent in one MSL:
bytes
The sequence number space must satisfy . With 32 bits we get , which is too small. With 33 bits we get , which is enough.
Answer: 33
bytes
The sequence number space must satisfy . With 32 bits we get , which is too small. With 33 bits we get , which is enough.
Answer: 33
Keep practising
Topics in Computer Networks
OSI LayerPhysical LayerData Link LayerNetwork Layer Protocol
Transport Layer ProtocolYou are here
Application Layer ProtocolsNetwork Security