Parity Bit and Error CheckingErrors are caused by noise and other faults during data transmission. Error checking is important in order to avoid mistakes and enhance accuracy of data. In general, error detection techniques involve adding some extra data or redundant data to a message that is being transmitted. An example of simple error checking technique is the use of parity checking bit. Parity checkingThere are two types of parity checking techniques, these involves the use of the even parity bit or odd parity bit. Data are as a rule divided into groups of set bits, which are usually a set of seven or eight bits. In even parity checking, an additional bit is added to the number of set bits to make the total number of 1’s in the data (including the parity bit) an even number. Also, for the odd parity checking, an additional bit is added to make the total number of binary 1 in the set of bits an odd number. Using the Even ParityWhen the total number of 1s in a given set of bits (excluding the parity bit) is odd, then the parity bit is set to 1 and added to the given set of bits. This will set the total number of 1s in the bits of data (now including the parity bit) to even. If the total is already even, then the parity bit is set to 0. Using the Odd ParityWhen the total number of 1s in a given set of bits (excluding the parity bit) is even, then the parity bit is set to 1 and added to the given set of bits. This will set the total number of 1s in the bits of data (now including the parity bit) to odd. If the total is already odd, then the parity bit is set to 0.
See also: CRC Error Detection – How CRC Works Further Reading:
|
Adverts
Popular categories
|


By:
Date Added: Feb 18, 2010;
Category: 
