GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 69

Sliding-window sequence field width

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

GATE 2007, Q69 2 marks · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 69, GATE 2007: Stations M,N are L kilometres apart. Frames have K bits; propagation delay is t seconds per kilometre; channel capacity is R bits/s; processing delay is negligible. What minimum sequence-number bit width is intended for maximum utilization with the stated “sliding window” protocol? ACK timing and protocol variant are not explicitly specified.
Options:
(A) ceil(log₂((2LtR+2K)/K))
(B) ceil(log₂(2LtR/K))
(C) ceil(log₂((2LtR+K)/K))
(D) ceil(log₂((2LtR+K)/(2K)))
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. A frame takes K/R seconds to serialize and an ACK takes a round trip of approximately 2Lt after the frame is sent. First find the necessary window in frames, then apply the Go-Back-N sequence-space constraint; do not confuse window size with number of labels.

2. Derivation and interpretation. Let transmission time T=K/R and one-way propagation time P=Lt. With negligible ACK serialization, full utilization needs an integer window W >= ceil(1+2P/T). For Go-Back-N with an m-bit sequence field, W <= 2m-1, hence m >= ceil(log2(2+2LtR/K)); this is option A. The problem says only sliding window, not Go-Back-N, and does not state ACK timing: Selective Repeat instead needs sequence space at least 2W, while counting merely enough distinct labels without the Go-Back-N guard gives a different expression. Therefore A requires the standard Go-Back-N/negligible-ACK interpretation; the generic wording alone does not uniquely fix the answer.

Original paper, page 17