Access over 20 million homework & study documents
search

A) What is the 1s compliment checksum of the following two bytes

Content type

User Generated

Rating

Showing Page:
1/2
a) What is the 1s compliment checksum of the following
two bytes?
11101101 10100001
b) True or False: The 1s compliment checksum is useful
because if the value is correct after transmission, the data
must not have been corrupted.
Solution
a) Let\'s consider the 2 bytes given and add the bits by
using the XOR funtions,
0 1 0 1 0 1 0 1
+ 0 1 1 1 0 0 0 0
---------------------------------
1 1 0 0 0 1 0 1
The technique to implement this addition is by following
the XOR funtion ie,
Note that while 1 and 1 are added we get the result of 0
with a 1 bit as a carry to the left bits.
Hence, our result is 11000101 whose 1\'s complement is
00111010 (By inverting the 0\'s to 1\'s and vice verse)
b) True, In the UDP transmission the data is sent in the
form of chunks as datagrams. When a packet is

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/2

Sign up to view the full document!

lock_open Sign Up

Unformatted Attachment Preview

a) What is the 1s compliment checksum of the following two bytes? 11101101 10100001 b) True or False: The 1s compliment checksum is useful because if the value is correct after transmission, the data must not have been corrupted. Solution a) Let\'s consider the 2 bytes given and add the bits by using the XOR funtions, 0 1 0 1 0 1 0 1 + 0 1 1 1 0 0 0 0 --------------------------------1 1 0 0 0 1 0 1 The technique to implement this addition is by following the XOR funtion ie, Note that while 1 and 1 are added we get the result of 0 with a 1 bit as a carry to the left bits. Hence, our result is ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
This is great! Exactly what I wanted.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4