Assume a packet is made only of four 16-bit words (A7A2) 16 , (CABF) 16 , (903A)
Question:
Assume a packet is made only of four 16-bit words (A7A2)16, (CABF)16, (903A)16, and (A123)16. Manually simulate the algorithm in Figure 10.17 to find the checksum.
Figure 10.17
Transcribed Image Text:
Figure 10.17 Algorithm to calculate a traditional checksum Start Sum = 0 More words? Iyes] Sum = Sum + Next Word Ino] Left(sum) is nonzero? Įyes] Sum = Left(Sum) + Right(Sum) Notes: Ino] a. Word and Checksum are each Checksum = Complement (Sum) 16 bits, but Sum is 32 bits. b. Left(Sum) can be found by shifting Sum 16 bits to the right. c. Right(Sum) can be found by ANDing Sum with (0000FFFF. d. After Checksum is found, truncate Checksum = truncate (Checksum) 16 Stop it to 16 bits.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (8 reviews)
The following shows the steps a We first add the numbers to get 0002A3BE 16 This corresponds ...View the full answer
Answered By
AJIN KURIAKOSE
I HAVE ELECTRONICS ENGINEERING DEGREE..AND MY AREA OF INTEREST IS MATHEMATICS,CONTROL SYSTEM,NETWORK,DIGITAL
4.70+
21+ Reviews
32+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Consider the figure on the next page, which is similar to Figures 7.22-7.25. Answer the following questions: a. Assuming FIFO service, indicate the time at which packets 2 through 12 each leave the...
-
In the interleaving approach to FEC, assume each packet contains 10 samples from a sampled piece of music. Instead of loading the first packet with the first 10 samples, the second packet with the...
-
a. What does a firewall do when an arriving packet is definitely an attack packet? 24a.) When a firewall identifies an attack packet, it ________. a. Discards the packet b. Copies information about...
-
What is the output of the following statements? int a=2; float b=3.5; int c=a; printf("%d",c)
-
Jesse Brimhall is single. In 2016, his itemized deductions were $4,000 before considering any real property taxes he paid during the year. Jesse's adjusted gross income was $70,000 (also before...
-
Using the information in P22-2B, compute the overhead controllable variance and the overhead volume variance. Data from P22-2B Cost and Production Data Actual Standard Raw materials Units purchased...
-
Adjusting the accounts is the process of a. recording transactions as they occur during the period. b. updating the accounts at the end of the period. C. zeroing out account balances to prepare for...
-
Manon Corporation applies ASPE and sponsors a defined benefit pension plan. The following pension plan information is available for 2017 and 2018: The pension fund paid out benefits in each year....
-
7. A plane is in a holding pattern about an airport. The function d (t) = 70 sin (0.65 t) + 150 represents the distance d, in miles, that the airplane is from the airport at time t in minutes. At...
-
Enhance the Treasury Yield Rates database file to perform a database query that finds the rate associated with any date and term.
-
Traditional checksum calculation needs to be done in ones complement arithmetic. Computers and calculators today are designed to do calculations in twos complement arithmetic. One way to calculate...
-
Manually simulate the Fletcher algorithm (Figure 10.18) to calculate the checksum of the following bytes: (2B) 16 , (3F) 16 , (6A) 16 , and (AF) 16 . Also show that the result is a weighted checksum....
-
Does the Retained Earnings account that appears in the balance sheet credit column of a work sheet reflect the beginning or the ending balance in the account? Explain your answer.
-
CVP EXERCISES 1. The launch of a new product is being considered and four possible output levels are being considered depending on consumer reaction. The variable costs associated with these levels...
-
(a) Write 5x+2x-7 in the form a(x +b) + c, where a, b, and c are real numbers. (4 marks) (b) Hence, or otherwise, determine (i) the minimum value of the function y = 5x+2x-7 (ii) the value of x at...
-
At the beginning of its current fiscal year, Willie Corporation's balance sheet showed assets of $14,500 and liabilities of $5,900. During the year, liabilities decreased by $1,100. Net income for...
-
A gymnast is swinging around a high bar. We will treat his waist as his center of mass and locate all of his mass mathematically at that point. At the top of the high bar, his waist is 1.10 meters...
-
Whispering Winds Corporation has a division that manufactures children's and ladies' basketball shoes. If it eliminates manufactu the ladies' basketball shoes, $34,900 of fixed costs will still...
-
Repeat Problem 11.38, but replace the globe valve with a butterfly valve and use a DN 125 Schedule 40 steel pipe. Compare the results of Problems 11.3811.41. Repeat Problem Figure 11.31 depicts a DN...
-
What mass of H2 will be produced when 122 g of Zn are reacted? Zn(s) + 2HCl(aq) ( ZnCl2(aq) + H2(g)
-
Suppose you have a stack S containing n elements and a queue Q that is initially empty. Describe how you can use Q to scan S to see if it contains a certain element x, with the additional constraint...
-
Alice has three array-based stacks, A, B, and C, such that A has capacity 100, B has capacity 5, and C has capacity 3. Initially, A is full, and B and C are empty. Unfortunately, the person who...
-
Suppose you have three nonempty stacks R, S, and T. Describe a sequence of operations that results in S storing all elements originally in T below all of Ss original elements, with both sets of those...
-
A truck on a straight road starts from rest, accelerating at 2.00 m/s until it reaches a speed of 50.0 m/s. Then the truck travels for 51.0 s at constant speed until the brakes are applied, stopping...
-
what is GNOME? Does Ubuntu have GNOME also? Is Ubuntu only designed for system administration and developers only?
-
For the following exercises, solve each system by Gaussian elimination. 17. 2x-y+32 17 -5x+4y-22=-46 2y+5x=-7 20. 4x+6y 2z = 8 6x+9y-32-12 -2x-3y+2=-4 23. x+y+2=14 2y+32=-14 -16y-242 -112...
Study smarter with the SolutionInn App