Question

In: Computer Science

Two communication devices are using a single-bit even parity check for error detection. The transmitter sends...

  1. Two communication devices are using a single-bit even parity check for error detection. The transmitter sends the byte 10101010 and, because of channel noise,
  1. the receiver gets the byte 10011010. Will the receiver detect the error? Why or why not?
  2. the receiver gets the byte 10111010. Will the receiver detect the error? Why or why not?
  3. Compute the Internet checksum for the data block E3 4F 23 96 44 27 99 D3. Then perform the verification calculation.

Solutions

Expert Solution

Solution:

Given,

=>Transmitted byte = 10101010

=>Single bit even parity check for error detection is used.

(a)

Given,

=>Received byte = 1011010

Explanation:

=>The number of 1's in the received byte = 4 which is even and we are using even parity so no error will be detected.

(b)

Given,

=>Received byte = 10111010

Explanation:

=>Number of 1's in the received byte = 5 which is odd and we are using even parity so error will be detected.

(c)

Given,

=>Data block = E3 4F 23 96 44 27 99 D3

Explanation:

Finding checksum:

Step 1:

=>Add the data bytes of all the segments

=>Result = E3 + 4F + 23 + 96 + 44 + 27 + 99 + D3

=>Result = 11100011 + 01001111 + 00100011 + 10010110 + 01000100 + 00100111 + 10011001 + 11010011

=>Result = 1111000010

Step 2:

=>As result contains 10 bits so wrapping around 2 extra bits

=>Result = 11 + 11000010

=>Result = 11000101

Step 3:

=>Taking the 1's complement of result obtained in step 2

=>1's complement of result 11000101 = 00111010

=>Hence checksum = 00111010

=>Checksum in hexadecimal = 3A

Verification:

Step 1:

=>Adding all the data segments and checksum

=>Result = 11100011 + 01001111 + 00100011 + 10010110 + 01000100 + 00100111 + 10011001 + 11010011 + 00111010

=>Result = 1111000010 + 00111010

=>Result = 1111111100

Step 2:

=>Result contains 10 bits so wrapping around 2 extra bits

=>Result = 11111100 + 11

=>Result = 11111111

Step 3:

=>Taking the 1's complement of the result obtained in step 2.

=>1's complement of result = 00000000

=>Hence the checksum has no error and is verified.

I have explained each and every part with the help of statements attached to it.


Related Solutions

5. Implement 2-D error detection mechanism using even parity check. Given a data bit to be...
5. Implement 2-D error detection mechanism using even parity check. Given a data bit to be send, perform the even parity check for the data to be send. Append the parity bit at the end of that data. At the receiver end, the receiver has to check for errors in transmission Please code in C language.
Design a 32 bit after using a single 4 bit using verilog code
Design a 32 bit after using a single 4 bit using verilog code
Using the parity bit, port b is to flash in a pattern of Odd Numbered LEDs...
Using the parity bit, port b is to flash in a pattern of Odd Numbered LEDs On and Even Numbered LEDS Off for 1 second, and then Odd Numbered LEDs Off and Even Numbered LEDS On for 1 second. This pattern will repeat indefinitely. Please provide the both the assembly code for MPLAB and a flow chart. Note - consider delay calculations and port B initialization have already been completed.
Design a 32 bit adder using a single 4 bit adder using verilog code
Design a 32 bit adder using a single 4 bit adder using verilog code
Given the 21-bit even-parity Hamming code: 0 1010 0111 0011 0000 0101 and assuming there is...
Given the 21-bit even-parity Hamming code: 0 1010 0111 0011 0000 0101 and assuming there is one incorrect bit. a. Which bit is incorrect? My educated guess for what the incorrect bit maybe has me thinking it is the '1' bit at the end of the '0111' byte, but I have no full proof as to why it is that specific bit. Am I in the right area to think that? b. After the error is corrected, what decimal number...
Briefly describe the different methods for synchronizing communication between two devices.
Briefly describe the different methods for synchronizing communication between two devices.
1. Assume that a bit sequence "10000000" has been transmitted through a transmission media using parity...
1. Assume that a bit sequence "10000000" has been transmitted through a transmission media using parity bits. Two bits have been altered in the path and the receiver has received it as "10000011". will the receiver be able to detect the error. Justify your answer. 2.Which of the following is NOT a consequence of poor project management? a. Time slippage. b. Loss of intellectual property. c. Failure to obtain anticipated benefits. d. Costs that exceed budgets. 3. Simon's software company...
write and explain two dimensional parity check code and hamming codes in simple way please
write and explain two dimensional parity check code and hamming codes in simple way please
Analyze the corporate communication practices of one or two corporations, using the “organizational communication/public communication” distinction...
Analyze the corporate communication practices of one or two corporations, using the “organizational communication/public communication” distinction between corporate communication activity. How a corporation communicates internally—the way it organizes itself, its different business units, its vendors, suppliers, and subcontractors—impacts how the corporation ethically and responsibly represents its activities and identity to the public.
Analyze the corporate communication practices of one or two corporations, using the “organizational communication/public communication” distinction...
Analyze the corporate communication practices of one or two corporations, using the “organizational communication/public communication” distinction between corporate communication activity. Xerox & Disney
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT