Even parity / A worked example
One extra bit.
One limited check.
Data: 1011 / three 1sAppend parity bit 1
The protected word has four 1s in five bits. Even parity means the total number of 1s is even.
Flip the third data bit: 1 becomes 0
One flipped bit
changes even to odd.
Sent1011 | 1
ReceivedAmber outlines the change
The even-parity check flags a change.
The check does not locate or correct the changed bit.
From the original word / Flip first and third data bits
Two flips can
pass the check.
Sent1011 | 1
ReceivedBoth outlined bits changed
The check passes. The data changed.
A passing check alone is not proof that the data is unchanged.
The parity bit is included in every count
Count all protected bits.
Keep the limit in view.
Unchanged
4 onesEven / Pass
One flip
3 onesOdd / Flag
Two flips
2 onesEven / Pass
Odd numbers of bit flips are detected, including a flipped parity bit. Even numbers can pass. This check provides no error location, correction, authentication or encryption.