in Computer Networks edited by
725 views
2 votes
2 votes
A TCP connection is transferring $6000$ bytes where the first byte is numbered $10010.$ If data is sent in five segments with the first four segments carrying $1000$ bytes and the last segment carrying $2000$ bytes then number of the last byte sent is ______
in Computer Networks edited by
by
725 views

3 Comments

sir plz explain???
0
0
$10010$ is in decimal.

$10010+6000-1=16009$
0
0

1 Answer

3 votes
3 votes
Best answer

The following shows the sequence number for each segment:

Segment 1 -> 10,010 (10,010 to 11,009)

Segment 2 -> 11,010 (11,010 to 12,009)

Segment 3 -> 12,010 (12,010 to 13,009)

Segment 4 -> 13,010 (13,010 to 14,009)

Segment 5 -> 14,010 (14,010 to 16,009)

Read page number 9

 https://users.cs.jmu.edu/aboutams/Web/Networking/Spring03/Lectures/Lecture%2012-%20TCP%20Part%201.pdf

selected by

4 Comments

Unless specified as binary, you should not assume a given number as binary. I mean in GATE exam you won't have to assume stuffs as in mock tests -- I hope mock tests haven't spoiled many.
1
1
How we will differentiate if sequence number is in binary or decimal ? Base of number system should be mention or it will be explicitly mentioned in the question?
1
1

 I got trolled by that too, lol.

0
0
Answer:

Related questions