The Gateway to Computer Science Excellence
0 votes
150 views

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 by (47 points)
edited by | 150 views

1 Answer

0 votes

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

by (291 points)
edited by
0
You are using Select Repeat ARQ. but for GBN it will be

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

m is number of bits.
0

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

0
So, GBN is not sliding window protocol??
0
:D thanks.
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,650 questions
56,238 answers
194,266 comments
95,873 users