Multiple choice

4 bits are used for packet sequence numbering in a sliding window protocol used in a computer network. What is the maximum window size?

  1. 4

  2. 8

  3. 15

  4. 16

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In a sliding window protocol, if n bits are used for sequence numbers, the sequence numbers range from 0 to 2^n - 1. For n=4, the range is 0 to 15. The maximum window size is 2^n - 1 = 15.