Which Changes a Parity Check Detects
A parity check detects an odd number of bit flips in its protected word. Even numbers of flips can preserve the original parity.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace two changes
Starting from 0000 with even parity, changing one position produces odd parity. Changing two distinct positions produces two ones and even parity again. An even parity word supplies a stored example.
Distinguish detection and location
A parity discrepancy says some protected bit changed under the model. It does not name which one. Hamming distance counts all differing positions when both words are available.[1][2]
Trace one changed bit and two changed bits
Even-parity codeword 1100 contains two ones. Flipping the first bit gives 0100 and changes the parity. Flipping both first bits gives 0000, whose even count passes despite a changed word. See an even parity bit.
Original 1100 → even
One flip 0100 → odd, detected
Two flips 0000 → even, undetected
Distinguish detection from locating an error
Every single flip changes the parity, but the result alone cannot identify its position. An even number of flips preserves parity. Test one corruption in the parity bit as well as one within data.