A parity bit is one of the most
common ways to achive
error detection when
binary information is
transmitted from one location to
another location. If an
error occur, and one of the bits
change from 0 to 1 or
vice versa. An extra pit is included with the message to make the total number of 1's transmitted either
odd or
even. If an odd parity is adopted, the parity bit is chosen such that the total number of 1's is odd. If an even parity is adopted, the parity bit is chosen such as the total number of 1's is even.
Example:
Odd Parity: (NBCD)
0000 1
0001 0
0011 1
0100 0
0101 1
0110 1
0111 0
1000 0
1001 1
Even Parity (NBCD)
0000 0
0001 1
0011 0
0100 1
0101 0
0110 0
0111 1
1000 1
1001 0