GateAI
Switching and Performance Metrics

GATE CSE 2015 Set 3 · Q28

NAT2 marksMedium

Time

Consider a network connecting two systems located 8000 kilometers apart. The bandwidth of the network is 500×106500 \times 10^6 bits per second. The propagation speed of the media is 4×1064 \times 10^6 meters per second. It is needed to design a Go-Back-NN sliding window protocol for this network. The average packet size is 10710^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 ________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 8

Switching and Performance Metrics

To utilize the network to its full capacity, the sender's window size NN in a sliding window protocol must satisfy:

N≥1+2aN \ge 1 + 2a

where a=TpTta = \frac{T_p}{T_t}.

  1. Propagation time (TpT_p):

    Distance d=8000 km=8×106 m\text{Distance } d = 8000\text{ km} = 8 \times 10^6\text{ m}
    Propagation speed v=4×106 m/s\text{Propagation speed } v = 4 \times 10^6\text{ m/s}
    Tp=dv=8×1064×106=2 secondsT_p = \frac{d}{v} = \frac{8 \times 10^6}{4 \times 10^6} = 2\text{ seconds}
  2. Transmission time (TtT_t):

    Packet size L=107 bits\text{Packet size } L = 10^7\text{ bits}
    Bandwidth B=500×106 bps\text{Bandwidth } B = 500 \times 10^6\text{ bps}
    Tt=LB=107500×106=150=0.02 secondsT_t = \frac{L}{B} = \frac{10^7}{500 \times 10^6} = \frac{1}{50} = 0.02\text{ seconds}
  3. Ratio aa and Window Size (WsW_s):

    a=TpTt=20.02=100a = \frac{T_p}{T_t} = \frac{2}{0.02} = 100
    Ws≥1+2a=1+2(100)=201W_s \ge 1 + 2a = 1 + 2(100) = 201
  4. Sequence Number Field Size (kk bits): In a Go-Back-NN protocol, the maximum window size allowed with kk bits is 2k−12^k - 1.

    2k−1≥Ws=2012^k - 1 \ge W_s = 201
    2k≥2022^k \ge 202

    Since 27=128<2022^7 = 128 < 202 and 28=256≥2022^8 = 256 \ge 202, the minimum number of bits required in the sequence number field is 8.

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 Switching and Performance Metrics previous year question is Q28 of the GATE CSE 2015 Set 3 paper. Find more GATE CSE PYQs on Switching and Performance Metrics 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 Switching and Performance Metrics 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.

Switching and Performance Metrics in GATE CSE

Switching and Performance Metrics has 11 GATE CSE PYQs across 9 papers from 2013 to 2026. 3 of them are 2-mark NAT questions like this one, and GATE CSE 2015 Set 3 has 2.

How GATE tests Switching and Performance Metrics

More from GATE CSE 2015 Set 3

Share this solution

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

GateAI solution cardGATE CSE 2015 Set 3 · Q28 · NAT

Consider a network connecting two systems located 8000 kilometers apart. The bandwidth of the network is 500 × 106 bits per second. The propagation speed of the media is 4 × 106 meters per second. It is needed to design a Go-Back-N sliding window protocol for this network. The average packet size is 107 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 …

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.