GateAI
TCP Flow and Congestion Control

GATE CSE 2023 · Q50

MSQ2 marksMedium

Time

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?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: B) 32 bits; C) 34 bits; D) 36 bits

TCP Flow and Congestion Control

To prevent sequence number wrap-around while old packets might still be in the network, the sequence number wrap-around time must be greater than the Maximum Segment Lifetime (MSL).

  1. Data generation rate:

    Bandwidth=100 Mbps=100×1068 bytes/sec=1.25×107 bytes/sec\text{Bandwidth} = 100\text{ Mbps} = \frac{100 \times 10^6}{8}\text{ bytes/sec} = 1.25 \times 10^7\text{ bytes/sec}
  2. Maximum Segment Lifetime (MSL):

    MSL=2 minutes=120 seconds\text{MSL} = 2\text{ minutes} = 120\text{ seconds}
  3. Total bytes transmitted during MSL:

    Data transferred=120×1.25×107=1.5×109 bytes\text{Data transferred} = 120 \times 1.25 \times 10^7 = 1.5 \times 10^9\text{ bytes}
  4. Minimum sequence number space required:

    2N≥1.5×1092^N \ge 1.5 \times 10^9

    Since 230≈1.0737×1092^{30} \approx 1.0737 \times 10^9 and 231≈2.147×1092^{31} \approx 2.147 \times 10^9, we require:

    N≥31 bitsN \ge 31\text{ bits}

Therefore, any field length greater than or equal to 3131 bits is valid. Hence, 32 bits (B), 34 bits (C), and 36 bits (D) are valid sequence number lengths.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This TCP Flow and Congestion Control previous year question is Q50 of the GATE CSE 2023 paper. Find more GATE CSE PYQs on TCP Flow and Congestion Control in Computer Networks, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related TCP Flow and Congestion Control PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

TCP Flow and Congestion Control in GATE CSE

TCP Flow and Congestion Control has 23 GATE CSE PYQs across 21 papers from 2012 to 2026. 2 of them are 2-mark MSQs like this one, and it is the only one in GATE CSE 2023.

How GATE tests TCP Flow and Congestion Control

More from GATE CSE 2023

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2023 · Q50 · MSQ

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?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.