Parity Bit
- A Parity bit or Check bit is a single bit added to a binary data transmission used to indicate if whether the 0's and 1's within that data transmission is an even or odd number.
- The parity bit is used in parity error checking to find errors that may occur during data transmission.
Types of Parity Bit :
- Even Parity :
- In case of even parity, for a given set of bits, the occurrences of bits whose value is 1 is counted.
- If the count is odd the parity bit value set to 1. Making total count of occuerences of 1's in the whole set(including parity bit) an even number.
- If the count is even the parity bit value set to 0.
- Odd Parity :
- In case of odd parity, for a given set of bits, the occurrences of bits whose value is 1 is counted.
- If the count is even the parity bit value set to 1. Making total count of occuerences of 1's in the whole set(including parity bit) an odd number.
- If the count is odd the parity bit value set to 0.
Setting Parity :
- Both computers, the sending and receiving, must be set to operate with the same parity system.
- Both must be configured for even parity or odd parity in order to correctly interpret the parity bit and determine if transmission errors occurred.
Detecting Errors :
Validated Corruption(when the wrong bits are seen as "Okay") :