Channel Coding
Single Parity Check Codes
Example
Consider a (8,7) ASCII code with information codeword (0, 1, 0, 1, 1,
0, 0) and encoded with overall even parity pattern
Thus the overall codeword is (0, 1, 0, 1, 1, 0, 0, 1) where the last bit
is the parity bit
If there is a single error in bit 3: (0, 1, 1, 1, 1, 0, 0, 1), then it can be
easily checked by the receiver that now there are odd number of 1s
in the codeword and hence there is an error
On the other hand, if there are two errors, say, errors in bit 3 and 5:
(0, 1, 1, 1, 0, 0, 0, 1), then error will not be detected.
(Bahir Dar Institute of Technology)Wireless and Mobile Communication 2009 46 / 51