Computer Science - Networking - Discussion

Discussion Forum : Networking - Section 4 (Q.No. 5)
5.
Four bits are used for packet sequence numbering in a sliding window protocol used in a computer network. What is the maximum window size?
4
8
15
16
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
7 comments Page 1 of 1.

Rajesh Kumar said:   8 months ago
If there were 8 bits then it would be (2^8-1).

So, 256-1=255 is the maximum window size.

Am I right?

Shewangizaw Bogale said:   9 years ago
Well explained, Thank you @Shruti Jain.

Shruti Jain said:   1 decade ago
For k-bit numbering scheme, the total number of frames, N, in the sliding.

Window can be given as follows (using modulo-k).

N = 2^k-1.

Hence the range of sequence numbers is: 0, 1, 2, and 3.

Hence when a 4 bit numbering scheme is used the window size.

N = 2^4-1 = 15.

Preetinder kaur said:   1 decade ago
No formula is (2^ n)-1 i.e. (2^ 4)-1) = 16-1 = 15.

Datta vamshi said:   1 decade ago
Which one is correct?

Rohini said:   1 decade ago
But if we use selective repeat then it will be 2^ (n-1) i.e. 8.

Kamlesh said:   1 decade ago
The correct ans is c : sliding window protocol having window (2^n-1).

Post your comments here:

Your comments will be displayed after verification.