in Computer Networks edited by
613 views
0 votes
0 votes

Four bits are used for packed 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$

Answer given is $16$

in Computer Networks edited by
by
613 views

1 Answer

1 vote
1 vote

Answer is 15.

As given, this is sliding window protocol so,in case consider Selective repeat:
 Sender window size = Receiver window size

and
Sender window size + Receiver window size = sequence numbering(24)

Let window size is N.
N+N= 24

N=23
window size=8.
If we consider GBN then the max window size (16-1) =15

So Max window size =15

edited by

4 Comments

You are using Select Repeat ARQ. but for GBN it will be

Sender window size $2^{m}-1$

m is number of bits.
0
0

see the question, it is asking for a sliding window protocol

0
0
So, GBN is not sliding window protocol??
0
0
:D thanks.
0
0

Related questions