Reference no: EM13251842
UDP and TCP use 16-bit 1s complement arithmetic to compute checksums. In this problem we investigate why. For simplicity we will work with 4-bit words. Let x = 1101, y = 1011, and z = 0110.
(a) Reason 1: Incremental Update. Typically, after every hop at least one packet header field (e.g., a packet's time-to-live field) needs to be overwritten. Because the checksum is a simple complement of a 1s complement sum, it turns out that when, for instance, a packet's header x is updated to y, rather than recomputing the checksum from scratch, it success to simply add x+y to the original checksum to compute the update. Suppose that packet [ x | z ] is updated to packet [ y | z ]. Verify, for the x, y, and z given above, that checksum{[ y | z ]} = checksum{[ x | z ]} + x + y,
where "+" denotes 1s complement addition and y denotes the y complement.
(b) Reason 2: Endian Independence. Little endian computers store numbers with the least significant byte first (Intel processors for example). Big endian computers put the most significant byte first (IBM mainframes for example). It turns out, once again, that because the checksum is a simple complement of a 1s complement sum the checksum computation is endian independent (this is not true if 1s complement arithmetic is not used). Partition x and z as x = x1 x2 = 11 01 and z = z1 z2 = 01 10. Verify that checksum{[x1 x2|z1 z2]} = c1 c2 if and only if checksum{[x2 x1|z2 z1]} = c2 c1.
What decision should be made according to the emv decision
: What decision should be made according to the EMV decision rule? Solve using a decision tree.
|
Find the focal length of your friend''s glasses
: A friend tells you that when he takes off his eyeglasses and holds them 18cm above a printed page, what is the focal length of your friend's glasses
|
Explain standard reduciton potential table
: Refer to the following abbreviated standard reduciton potential table. Which one is the of the following reactions would be considered NON=SPONTANEOUS
|
Describe zapoos organizational culture
: Using this list of corporate values and Exhibit 2-4, describe zapoos organizational culture. In which areas would you say that zappos culture is very high (or typical)? Explain.
|
Determine 1s complement addition and complement
: Incremental Update. Typically, after every hop at least one packet header field (e.g., a packet's time-to-live field) needs to be overwritten. Because the checksum is a simple complement of a 1s complement sum, it turns out that when, for instance..
|
What is the mse for the eight forecasts
: Which method would you suggest using to predict future sales- a linear trend equation b trend-adjusted exponential smoothing? Why?
|
Barbie in borderless worlds - a case study
: One night a year, the attention of the TV-watching world is focused on Hollywood's most spectacular event, the Oscar award ceremony.
|
Options results in lower total interest costs
: Which of these options results in lower total interest costs - A 30-year student loan of $120,000 with an annual interest rate of 3% or a 20-year loan of $120,000 with an upfront cost of $5,000 but an annual interest rate of 3.750%?
|
Explain attraction with the stationary phase or mobile phase
: Could someone explain this competition and interaction? I know that chromatography is based on the attraction with the stationary phase or mobile phase
|