a parity check bit does: detects single-bit errors by making total 1s even/odd

Parity bit makes total 1s even/odd

Image: Public domain, via Wikimedia Commons

a parity check bit does: detects single-bit errors by making total 1s even/odd

Parity bit makes total 1s even/odd

A parity bit is added to binary data to ensure the total number of 1s is even or odd. This simple error detection method helps identify single-bit errors in data transmission.

Example

For the binary string 1011101, the count of 1s is 5 (odd). An even parity bit would be added as 0, making the total 6 (even). If the received string is 10111010, the count of 1s is 6 (even), indicating no error.

Remember this

Parity checks are crucial for maintaining data integrity in communication systems.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath