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

  Create queue class should have the following methods

create queue class should have the following methods:

  Investigation-woman having inappropriate files on computer

Young woman who was fired from her job for inappropriate files discovered on computer, and she swears she never accessed files. What questions must you ask and how should you proceed?

  Construct the bifurcation diagram

Solve the full Hodgkin-Huxley equations numerically with a variety of constant current inputs. For what range of inputs are there self-sustained oscillations? Construct the bifurcation diagram.

  Prepare for the final presentation to the pvss management

Prepare for the final presentation to the PVSS management team on your information systems audit, you want to ensure that they accept it and understand your role as the certifying agent.

  First ask for the number of questions in the test

Then asks for the correct answers for each question. Note that multiple choice tests and questions will have answers from A to D. Ask for the number of students and process each student by asking for their name and then loop through the questions ask..

  Find minimum associativity needed of level cache

Determine the minimum associativity needed of the level 1 cache for consistent performance independent of both arrays' position in memory?

  Create a digital clock with time zone application

Create a Digital Clock with time zone application. For this WPF application create a window, which consists of a ComboBox control (to allow time zone selection) at the top, and a Grid area underneath, which contains a Digital Clock (to display tim..

  Company officers to find which planning approach is suitable

If you were in charge of systems planning for a small firm, what questions would you ask the company officers to determine which planning approach would be the most appropriate.

  Determine the value of the following expressions

Determine the value of the following expressions.

  Create variables and call modules

Create variables and call modules.

  Methods to display the applets code base and document base

Write a java applet that uses the getCodeBase() and getDocumentBase() and methods to display the applets code base and document base, respectively. Hint: Use the toString() method of the URL class.

  The liability for malicious traffic traversing the internet

The liability for malicious traffic traversing the Internet

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