Cambridge IGCSE Computer Science · Syllabus 0478 · Data Transmission
Parity Check
What is Parity Check?
A parity check is an error-detection method in which an extra parity bit is added to a group of bits so that the total number of 1 bits is even (even parity) or odd (odd parity); the receiver recounts the 1 bits and a mismatch shows that an error has occurred.
This definition is part of the Data Transmission chapter in Cambridge IGCSE Computer Science.
Parity Check in context
A parity check works by adding one extra bit — the parity bit — to each group of bits before transmission. Under even parity, the parity bit is set so that the total number of 1 bits in the group is even. Under odd parity, it is set so that the total number of 1 bits is odd. Sender and receiver must have agreed in advance which is being used. After transmission the receiver counts the 1 bits in each group: if the count no longer matches the agreed parity, an error has been detected.
Automatic repeat query (ARQ) is a method of establishing that data has been received without error. It uses an error-detection method — such as a checksum or a parity check — on the received data, and then acts on the result. If the data passes the check, the receiver returns a positive acknowledgement. If it fails, the receiver returns a negative acknowledgement, and the sender retransmits. If no acknowledgement arrives at all before the sender's timeout expires, the sender assumes the data did not get through and retransmits anyway. The process repeats until the data is acknowledged or the system stops after the number of attempts it permits.

