ƒ Performance of Checksum
o Detects all errors involving an odd
number of bits
o Detects most errors involving an even
number of bits
o One pattern remains elusive
Examples
Example
9.7
Suppose a block of 16 bits need to be sent: 10101001 00111001
10101001
00111001
----------------
11100010 Sum
00011101 Checksum
Sent pattern:
10101001
00111001 00011101
checksum
Example
9.8 Examples of no error and a burst error
|
Segment 1
Segment
2
Checksum
|
10101001
Segment1
00111001
Segment2
00011101
Checksum
|
-----------------
----------------
Sum 11111111 Sum
Complement 00000000 Complement
|
10101111
11111001
00011101
11000110
00111001
|
Error is invisible if a bit inversion is
balanced by an opposite bit inversion in
the
corresponding digit of another segment
Segment1 10111101
|
No comments:
Post a Comment