The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
23 views
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.
asked in Computer Networks by (37 points) | 23 views

2 Answers

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
answered by Active (2.9k points)
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.

answered by Active (1.1k points)


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

36,994 questions
44,570 answers
126,774 comments
43,636 users