Paritätsbitcode
Paritätsbitcode, or parity bit coding, is one of the simplest forms of error-detecting codes used in digital communication and storage. In this scheme, a parity bit is appended to a block of data so that the total number of 1 bits follows a predefined parity, typically even or odd. The parity bit is computed as the modulo-2 sum (XOR) of the data bits. In an even-parity system, the parity bit is chosen so that the total number of 1s is even; in an odd-parity system, the total is odd.
Typically the parity bit is added per data unit, such as per byte or per word, and
Advantages of parity bit coding include its simplicity and very low overhead—one extra bit for every set
Variants include even parity and odd parity, as well as extended schemes like two-dimensional parity, which