GATE / CS ARCHIVE

GATE CSE 2016 SET 2 / QUESTION 55

GATE CSE 2016 Set 2 Q55

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 2016 Set 2 paper

GATE 2016 Set 2, Q55 2 marks · NAT
Report issue

Data Link, Framing, Error Control & ARQ

Question 55, GATE 2016: A 128×10^3 bit/s satellite link has 150 ms one-way propagation delay. Selective repeat sends 1-kilobyte frames; ACK serialization is negligible. Find minimum sequence-number bits needed for 100% utilization.
Tap to enlarge
Answer & solution

Official answer: 4.0 : 4.0

Our answer: 4

Step through it (6 steps)

Using1 KiB=1024 bytes, frame serialization takes 8192/128000=0.064s. To keep the link busy for serialization plus 0.3s round-trip propagation requires W≥ceil(1+0.3/0.064)=6 frames. Selective repeat requires a sequence space of at least 2W=12, so ceil(log2 12)=4 bits. Decimal1KB gives W=ceil(1+0.3/0.0625)=6 as well, so the answer does not depend on that unit convention.

The first ACK can return only after one frame serialization plus a round trip, at 0.064+0.300=0.364 s. Six serializations span 0.384 s and avoid an idle gap; five span only 0.320 s. With m sequence bits, selective repeat requires W≤2^(m−1), so three bits allow only four outstanding frames, whereas four allow eight.

Original paper, page 43 · Answer key