Question
It is necessary to design a link-layer protocol between two hosts that are directly connected over a lossless link of length 3000 kilometers. Assume that the link bandwidth is bits per second and that the propagation delay in the link is 5 nanoseconds per meter. Every transmitted data byte is assigned a unique sequence number.
Let be the minimum number of bits needed for the sequence number field in the protocol header such that
i. the sequence numbers do not wrap around before 60 seconds, and
ii. the maximum utilization of the link is achieved.
The value of is ______. (answer in integer)
Official answer and solution
- Official answer
- 30
- From
- Official GATE 2026 answer key
Solution
Compute both the number of bytes transmitted in 60 seconds at full link rate and the window size required for 100% link utilization.
- Bytes transmitted in 60 seconds at maximum (100%) link utilization:
- Link bandwidth .
- In , the number of bytes transmitted is:
- Check condition (ii) (sliding window size for 100% utilization):
- One-way propagation delay , so (much smaller than ).
- Minimum sequence number bits :
- For sequence numbers not to wrap around within , we need .
- Since , the minimum number of bits is .
30
Forgetting to divide bits/s by 8 to convert bits into bytes (which would give ).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 65 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.