3,058 views
5 votes
5 votes
Consider a sliding window protocol that uses Selective Repeat , the sender sliding window size is 32 .
The sequence number of the frame to be sent after sending 200 frames ______
After receiving first 100 frames the acknowledgement number that is piggybacked by the receiver along with data frame  is _______

1 Answer

Best answer
6 votes
6 votes

In selective Repeat Protocol:
Sender window size = 2n-1 where n is the number of bits in sequence Number field
now, given that WS = 32
So, 2n-1 =32
So ,n=6bits
So, we have 64 sequence numbers available(0...to .....63)
Now, to send 200 frames, it has to wrap around because of limited sequence numbers
0 to 63 --->64 frames are sent
again 0...to......63----->64+64=128 frames are sent
0----to-----63 ---->128+64 = 192 frames are
for 193th frame seq number is again 0 hence for 200th frame seq number. will be 7 after this seq number. is 8

2. Now, after sending 100 frames
0 to 63--->for 64 frames
0 to 35 ---> 64 + 36 = 100th frame are sent
so ack number of 100th frame = 36

selected by

Related questions

1 votes
1 votes
1 answer
1
amitarp818 asked Sep 18, 2023
593 views
Consider a sliding window protocol that uses Selective Repeat, the sender sliding window size is 32. The sequence number of the frame to be sent after sending 200 frames ...
1 votes
1 votes
0 answers
2
Sambhrant Maurya asked Sep 23, 2018
1,222 views
If the sender window size is 128 using selective repeat ARQ, then the sequence number of the frame to be sent after sending 400 frames is __________
2 votes
2 votes
1 answer
3
Na462 asked Sep 15, 2018
7,480 views
If the Sender Window size is 128 using selective repeat ARQ. Then the sequence number of frame to be send after sending 400 th frame is ?