590 views
0 votes
0 votes
17. 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?

My answer is 4. Is it true? if not then what is the answer with explanation.

2 Answers

0 votes
0 votes
yes its true ,answer will be 4 of for 101th packet.

as 5 bit sequence number so tatal sequence number =2^5=32 (0-31)

0-31 (32)

0-31(32)

0-31(32)

0-31(32)

so after sending 96 packets ,sequence number of next sending packets will be 0,1,2.3.4 so 101th packet sequence number will be 4
0 votes
0 votes

Since it is 5-bit sequence number starting with 0, =====>sequence number for 1st packet = 0

i.e., sequence number ranges from 00000 to 11111 ====> 0 to 31 

sequence number for 101th packet = sequence number for (101 % 32)th packet i.e., 5th packet = 4.

Related questions

0 votes
0 votes
0 answers
1
ermp888 asked Jul 5, 2018
672 views
30. A system uses the Stop-and-Wait ARQ Protocol. If each packet carries 1000 bits of data, how long does it take to send 1 million bits of data if the distance betwe...
0 votes
0 votes
3 answers
2
ermp888 asked Jun 29, 2018
1,290 views
16. Match the following to one or more layers of the OSI model:a. Route determination - Network layerb. Flow control ...
0 votes
0 votes
0 answers
3