GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 25

Selective-repeat sequence space

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 2005 paper

GATE 2005, Q25 1 mark · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 25, GATE 2005: Maximum selective-repeat/reject window with n-bit sequence numbers? A 2^n; B 2^(n−1); C 2^n−1; D 2^(n−2).
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

With n sequence bits there are 2n labels. To prevent a delayed old frame from being confused with a new frame after wraparound, equal sender/receiver windows must occupy at most half the label space. Hence W≤2n−1, B, under the standard selective-repeat model.

There are 2n distinct labels. In selective repeat, receivers may accept out-of-order frames, so old and new receive windows must not overlap after sequence wrap. With equal window sizes W, the standard safety condition is 2W≤2n, hence W≤2n−1. The half-space restriction distinguishes this protocol from the different Go-Back-N bound.

Original paper, page 3