Question

4. Find the checksum (one’s compliment) of the following set of data. (10 pts.) Data 1:...

4.

Find the checksum (one’s compliment) of the following set of data. (10 pts.)

Data 1: 01010101

Data 2: 11100001

Data 3: 11001100

5.

Consider a TCP connection between two hosts that are 500 miles away from each other

(propagation delay is 100 miles per msec.). Assume that there is no error or loss in this

communication and the receive window size is set to 64000 bytes. The size of data that needs

to be transmitted is 1.6 Mbytes. Assume that maximum size of each segment is 1600 bytes. If

this connection speed is 100 Mbps, what is the link utilization, ignoring the effects of the slow

start?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

4. The different data are given below :

Data 1 : 01010101

Data 2 : 11100001

Data 3 : 11001100

All of the above are of size 8 bits.

It is not given what the size of the checksum should be so I am going to assume that it should be of 8 bits.

  • First of all, we have to add these data segments.
  • We have to calculate the result as 01010101 + 11100001 + 11001100
  • We get the result as 01000000010.

The result is not of size 8 bits but rather of size 11 bits. In such a situation we have to wrao around the extra bits and add them to the result. So, we wrap around the extra 3 bits.

The result becomes 00000010 + 010 = 00000100

Finally, we take the 1's complement of this result. We get 11111011.

Thus, the checksum value is 11111011.

_______________________________________________________________-

Let me know if you have any doubts in the comments. Please upvote if the answer helped you.

Add a comment
Know the answer?
Add Answer to:
4. Find the checksum (one’s compliment) of the following set of data. (10 pts.) Data 1:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please Answer all Questions on Networks, They all involve calculation ( 1-9 Questions) "A single router...

    Please Answer all Questions on Networks, They all involve calculation ( 1-9 Questions) "A single router is transmitting packets, each of length L bits, over a single link with transmission rate R Mbps to another router at the other end of the link. Suppose that the packet length is L= 12000 bits, and that the link transmission rate along the link to router on the right is R = 1000 Mbps. What is the maximum number of packets per second...

  • Please answer me as soon as possible Quiz Question 1 (1 point) Saved What metric is...

    Please answer me as soon as possible Quiz Question 1 (1 point) Saved What metric is used to measure bandwidth? Question 1 options: a. msec b. bit/sec c. bytes d. number of packets/sec Question 2 (1 point) Saved Ethernet is one of access network technologies. Question 2 options: True False Question 3 (1 point) Saved Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by m meters,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT