GateAI
Data Link Layer

GATE CSE 2014 Set 1 · Q28

NAT2 marksMedium

Time

Consider a selective repeat sliding window protocol that uses a frame size of 1 KB to send data on a 1.5 Mbps link with a one-way latency of 50 msec. To achieve a link utilization of 60%, the minimum number of bits required to represent the sequence number field is _________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 5

Data Link Layer

Given:

  • Frame size L=1 KB=1024×8 bits=8192 bitsL = 1\text{ KB} = 1024 \times 8\text{ bits} = 8192\text{ bits} (or 1000×8=8000 bits1000 \times 8 = 8000\text{ bits})

  • Bandwidth B=1.5 Mbps=1.5×106 bpsB = 1.5\text{ Mbps} = 1.5 \times 10^6\text{ bps}

  • Propagation delay Tp=50 ms=50×10−3 sT_p = 50\text{ ms} = 50 \times 10^{-3}\text{ s}

  • Utilization η=60%=0.6\eta = 60\% = 0.6

  1. Transmission time (TtT_t):

    Tt=LB=81921.5×106≈5.461 msT_t = \frac{L}{B} = \frac{8192}{1.5 \times 10^6} \approx 5.461\text{ ms}

    (Using 1 KB=8000 bits1\text{ KB} = 8000\text{ bits}, Tt=80001.5×106≈5.333 msT_t = \frac{8000}{1.5 \times 10^6} \approx 5.333\text{ ms})

  2. Parameter aa:

    a=TpTt=505.461≈9.155a = \frac{T_p}{T_t} = \frac{50}{5.461} \approx 9.155
  3. Link utilization in sliding window:

    η=WS1+2a≥0.60\eta = \frac{W_S}{1 + 2a} \ge 0.60
    WS≥0.60×(1+2×9.155)=0.60×19.31=11.586  ⟹  WS=12W_S \ge 0.60 \times (1 + 2 \times 9.155) = 0.60 \times 19.31 = 11.586 \implies W_S = 12
  4. Sequence numbers for Selective Repeat: For Selective Repeat, the sender window size is WS=WR=NW_S = W_R = N. The minimum number of sequence numbers required is:

    Total sequence numbers M≥WS+WR=2N=2×12=24\text{Total sequence numbers } M \ge W_S + W_R = 2N = 2 \times 12 = 24
  5. Number of bits (kk):

    2k≥24  ⟹  k=⌈log⁡2(24)⌉=52^k \ge 24 \implies k = \lceil \log_2(24) \rceil = 5

Thus, the minimum number of bits required is 5.

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 Data Link Layer previous year question is Q28 of the GATE CSE 2014 Set 1 paper. Find more GATE CSE PYQs on Data Link Layer 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 Data Link Layer 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.

Data Link Layer in GATE CSE

Data Link Layer has 27 GATE CSE PYQs across 17 papers from 2013 to 2026. 12 of them are 2-mark NAT questions like this one, and GATE CSE 2014 Set 1 has 2.

How GATE tests Data Link Layer

More from GATE CSE 2014 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2014 Set 1 · Q28 · NAT

Consider a selective repeat sliding window protocol that uses a frame size of 1 KB to send data on a 1.5 Mbps link with a one-way latency of 50 msec. To achieve a link utilization of 60%, the minimum number of bits required to represent the sequence number field is …

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.