GateAI
Data Link Layer

GATE CSE 2016 Set 2 · Q55

NAT2 marksMedium

Time

Consider a 128×103128 \times 10^3 bits/second satellite communication link with one way propagation delay of 150 milliseconds. Selective retransmission (repeat) protocol is used on this link to send data with a frame size of 1 kilobyte. Neglect the transmission time of acknowledgement. The minimum number of bits required for the sequence number field to achieve 100% utilization is _______.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 4

Data Link Layer

To achieve 100%100\% link utilization, the sender window size WsW_s must be sufficient to keep transmitting throughout the round-trip time (RTTRTT).

Given:

  • Bandwidth, B=128×103 bits/s=128000 bpsB = 128 \times 10^3\text{ bits/s} = 128000\text{ bps}

  • Propagation delay, Tp=150 ms=0.150 sT_p = 150\text{ ms} = 0.150\text{ s}

  • Frame size, L=1 KB=1024 bytes=1024×8=8192 bitsL = 1\text{ KB} = 1024\text{ bytes} = 1024 \times 8 = 8192\text{ bits} *(Taking 1 KB=1000 B=8000 bits1\text{ KB} = 1000\text{ B} = 8000\text{ bits} also yields the same final integer result)*

  • Transmission time of an ACK, Ta≈0T_a \approx 0

Step 1: Calculate the frame transmission time (TtT_t)

Tt=LB=8192 bits128×103 bits/s=0.064 s=64 msT_t = \frac{L}{B} = \frac{8192\text{ bits}}{128 \times 10^3\text{ bits/s}} = 0.064\text{ s} = 64\text{ ms}

Step 2: Calculate the parameter aa

a=TpTt=150 ms64 ms=2.34375a = \frac{T_p}{T_t} = \frac{150\text{ ms}}{64\text{ ms}} = 2.34375

Step 3: Determine the required sender window size (WsW_s)

Utilization η=Ws1+2a=1  ⟹  Ws≥1+2a=1+2(2.34375)=5.6875\text{Utilization } \eta = \frac{W_s}{1 + 2a} = 1 \implies W_s \ge 1 + 2a = 1 + 2(2.34375) = 5.6875

Since the window size must be an integer:

Ws=⌈5.6875⌉=6W_s = \lceil 5.6875 \rceil = 6

Step 4: Determine the minimum number of sequence numbers for Selective Repeat In the Selective Repeat protocol, the receiver window size is equal to the sender window size (Wr=Ws=6W_r = W_s = 6). The minimum number of distinct sequence numbers required is:

N≥Ws+Wr=6+6=12N \ge W_s + W_r = 6 + 6 = 12

Step 5: Calculate the number of sequence number bits (kk)

2k≥N  ⟹  2k≥12  ⟹  k=⌈log⁡212⌉=42^k \ge N \implies 2^k \ge 12 \implies k = \lceil \log_2 12 \rceil = 4

Thus, the minimum number of bits required for the sequence number field is 4.

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 Q55 of the GATE CSE 2016 Set 2 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 2016 Set 2 has 4.

How GATE tests Data Link Layer

More from GATE CSE 2016 Set 2

Share this solution

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

GateAI solution cardGATE CSE 2016 Set 2 · Q55 · NAT

Consider a 128 × 103 bits/second satellite communication link with one way propagation delay of 150 milliseconds. Selective retransmission (repeat) protocol is used on this link to send data with a frame size of 1 kilobyte. Neglect the transmission time of acknowledgement. The minimum number of bits required for the sequence number field to achieve 100% utilization 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.