Parity Checking


In communications, parity checking refers to the use of parity bits to check that data has been transmitted accurately. The parity bit is added to every data unit (typically seven or eight bits ) that are transmitted. The parity bit for each unit is set so that all bytes have either an odd number or an even number of set bits.

Assume, for example, that two devices are communicating with even parity(the most common form of parity checking). As the transmitting device sends data, it counts the number of set bits in each group of seven bits. If the number of set bits is even, it sets the parity bit to 0; if the number of set bits is odd, it sets the parity bit to 1. In this way, every byte has an even number of set bits. On the receiving side, the device checks each byte to make sure that it has an even number of set bits. If it finds an odd number of set bits, the receiver knows there was an error during transmission.

The sender and receiver must both agree to use parity checking and to agree on whether parity is to be odd or even. If the two sides are not configured with the same parity sense, communication will be impossible.

Parity checking is the most basic form of error detection in communications. Although it detects many errors, it is not foolproof, because it cannot detect situations in which an even number of bits in the same data unit are changed due to electrical noise. There are many other more sophisticated protocols for ensuring transmission accuracy, such as MNP and CCITT V.42.

Parity checking is used not only in communications but also to test memory storage devices. Many PCs, for example, perform a parity check on memory every time a byte of data is read.

Read Also:

  • park

    (pärk) (v.) To lock the read/write head of a hard disk drive in a safe position so that the disk will not be damaged while moving the drive. The space where the head is parked typically is called the landing zone. Parking the disk is particularly important for portable computers, which are moved frequently. The […]

  • Parse

    In linguistics, to divide language into small components that can be analyzed. For example, parsing this sentence would involve dividing it into words and phrases and identifying the type of each component (e.g.,verb, adjective, or noun). Parsing is a very important part of many computer science disciplines. For example, compilers must parse source code to […]

  • parser

    A program that dissects source code so that it can be translated into object code. See parse.

  • partial classes

    Partial classes and partial methods are two programming language features of .NET programming languages that make it possible for developers to extend and enhance auto-generated code. Partial classes allow for a single class’s members to be divided among multiple source code files. At compile-time these multiple files get combined into a single class as if […]

  • partial methods

    Partial classes and partial methods are two programming language features of .NET programming languages that make it possible for developers to extend and enhance auto-generated code. Partial methods are methods defined in a partial class that are (optionally) divided across two files. With partial methods one file contains the method signature – the method name, […]


Disclaimer: Parity Checking definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.