Complement in tcp and udp connections

Assignment Help Basic Computer Science
Reference no: EM13829769

Problem:

UDP and TCP use the 1s complement for their check sums. Suppose you have the following three 8-bit bytes: 10011001, 01010010, and 01011001.

a. What is the 1s complement of the sum of these 8-bit bytes? Show all your work.

b. Why is it that UDP takes the 1s complement of the sum; that is, why not just use the sum?

c. With the 1s complement scheme, how does the receiver detect errors?

d. Is it possible that a l-bit error will go undetected? How about a two-bit error? (Note that although UDP and TCP use 16-bit words to compute the checksum, for this problem you are being asked to consider 8-bit summands.)

Additional Information:

This question is from Computer Science, particularly to Networking as well as it is about 8-bit bytes complement in TCP and UDP. The difference in complement of sums has been given in solution.

Reference no: EM13829769

Questions Cloud

Fsm packet sending and receiving protocols : Consider a scenario in which a Host, A, wants to simultaneously send messages to Hosts B, C, and D. A is connected to B, C, and D via a broadcast channel, and a packet sent by A is carried by this channel to each of B, C, and D.
Compute the projects annual net cash flows : The Taylor Mountain Uranium Company currently has annual cash revenues of $1.2 million and annual cash expenses of $700,000. Depreciation amounts to $200,000 per year. These figures are expected to remain constant for the foreseeable future (at least..
Book review of bravo for the marshallese : Book Review of Bravo for the Marshallese
Example related to the issue of reporting human capital : Discuss an example related to the issue of reporting human capital in finance statement. offering examples of human capital being measured in the organization.
Complement in tcp and udp connections : UDP and TCP use the 1s complement for their check sums. Suppose you have the following three 8-bit bytes: 10011001, 01010010, and 01011001.
Explore the connection between agriculture and civilizations : The question is from Sociology and it is explores about the connection between agriculture and the first civilizations. The influence of agriculture in shaping early human societies around the world have been discussed
Represent source of competitive advantage in global market : Which of the following does not represent a source of competitive advantage in global marketing?
What is three-way handshake : What is three-way handshake? Draw a diagram showing how a TCP connection is established through three-way handshake.
Essay about chosing narendra modi as the prime ministerial : Essay about Chosing Narendra Modi as the Prime Ministerial

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd