Question: Computing the checksum ( 2 + 2 = 4 points ) . In this problem, we will get practice with computing the checksum according to

Computing the checksum (2+2=4 points). In this problem, we will get practice with computing the checksum according to the algorithm used by TCP and UDP. The checksum is the ones complement of the ones complement sum of a sequence of data values. We will use the same algorithm as covered in lecture to compute the TCP/UDP checksum, but do so over a sequence of 4-bit chunks rather than 16-bit chunks.
a. Consider the following data bits. What is the (4-bit) checksum of this (8-bit) data? (2 points)
01011100
b. Consider the following data bits. What is the 4-bit checksum of this (12-bit) data? (Note: you can reuse calculations from part (a).)(2 points)
010111001001

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!