16,511 views
1 votes
1 votes
A sender sends a series of packets to the same destination using 5 bit sequence numbers. If the sequence number starts with 0, what is the sequence number after sending 100 packets ?

3 Answers

5 votes
5 votes

in GO backN arq protocol

 SWS < 2m   and for 5 bits sequence no 25 = 32(0-31) 

Sequence no.         Total No. of  frame

           0-30       = 31 frame          (1-31)

           31-29     = 31 frame          (32-62)

           30-28     = 31 frame          (63-93)

until by now 93 frames has been sent

now  sequence no. 29  30  31   0    1    2    3   4

        frame no.      94  95  96  97  98  99 100  101

so after 100 frame sequence number will be 4

2 votes
2 votes
With 5bit no of sequence no. Possible is 32 ie (0-31)

For frames 1-32 seq no 0-31

For frame 33-64 seq no 0-31

For frame 65-96 seq no 0-31

Now  97 98 99 100

           0   1    2     3

So after sending 100 packets sequence no is 4
0 votes
0 votes

Though I believe that answer should be 4, but following screenshot is taken from the solution manual:

Related questions

0 votes
0 votes
0 answers
1
ro989 asked Apr 14, 2022
340 views
Packets are generated every 30 pico-seconds on each node, & we have an additional delay of 23 microseconds for processing on each node. Packets are sent in a connection-o...