Parity bit


A parity bit, or check bit is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd for error detection purposes.

There are two variants of parity bits.

Even parity bit

For a given set of bits, the occurrences of 1 is odd, the parity bit value is set to 1.

If the occurrence of 1 is even is even, the parity bit value is set to 0.

Odd parity bit

For a given set of bits, the occurrences of 1 is odd, the parity bit value is set to 0.

If the occurrence of 1 is even is even, the parity bit value is set to 1.







Parity bit Parity bit Reviewed by Unknown on 22:58:00 Rating: 5

No comments: