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...
-
For the following exercises, solve the system of linear equations using Cramers Rule. 4x + 5y z = -7 -2x9y+ 2z = 8 5y + 7z = 21
-
Why is there only one axial reading on a given machine?
-
1. The number of issued shares is shown in the first column of the statement of stockholders equity. Had Lowes issued more or fewer shares of common stock than The Home Depot at the end of Fiscal...
-
Discuss the implications of Quality by Design (QbD) in bioprocessing for regulatory compliance and process robustness. How do risk assessment and design of experiments (DoE) play a role in ensuring...
-
The proposed rates were not in the range the CEO expected given the pricing analysis. The CEO has asked the pricing actuary to verify the total projected loss cost excluding potential large storm...
-
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....
-
The Delldata.xlsx file contains monthly returns for the Standard & Poors stock index and for Dell stock. The beta of a stock is defined as the slope of the least-squares line used to predict the...
-
A firm has the cost curve \(C(q)=100+150 q-\) \(46 q^{2}+5 q^{3}\). What are the equations of the firm's marginal cost, average variable cost, and average cost curves? What are the minimum values of...
-
Collect monthly data for five years and explain whether there is a deterministic or stochastic trend in the data. Does the data show seasonal patterns? Why? Use your data to generate a univariate...
-
Is the Gini ratio for Australia larger or smaller than that for South Africa? Explain your answer. The table shows shares of income in Australia. Households (quintile) Lowest Second Third Fourth...
-
A recent civil engineering graduate wishes to buy a new home costing \($200\),000, make a 5 percent down payment, and finance the remaining \($190\),000. The rate quoted for a conventional 30-year...
-
Compile the work you have done throughout this class for the department of the government that you chose: Create two deliverables: one for your contact at the department, and one for your professor....
-
What are the strength and direction of the electric field at the position indicated by the dot in FIGURE EX23.4? Specify the direction as an angle above or below horizontal. +) 3.0 nC 5.0 cm 10 cm...
-
Express these numbers in standard notation. a. 2.87 10-8 b. 1.78 1011 c. 1.381 10-23
-
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...
-
I need to find out how to calculate the 3-year % rate of return. The information I have is a $10,000 investment and a 12-month yield percentage (1.138 for AB company, 1.894 for AIG company, 0.679 for...
-
Anna has an investment that will bring her $100 with a 30% probability and $40 with a 70% probability. Anna's Utility function is U = Y (1/2) . Where Y= income. Anna is considering selling this...
-
on January 1, 2000, the price of koka kola was $10. on jan and, 2020, the shares were worth $100. the stock Paid no dividends during the period. what is the annual geometric return.
Study smarter with the SolutionInn App