January 29, 2017

Parity Bit, Parity Check and Variants of Parity Bit: Even Parity bit & Odd Parity bit

Parity Bit:

An extra bit added to a string of bits, which enables the computer to detect internal errors in the transmission of binary data is called parity bit.

Parity Check: 

Parity is a special type of method in order to recover single bit error. An additional bit is added in the leftmost position of number sequences.
figure: position of parity bit

There are two variants of parity bit:

  1. Even parity bit
  2. Odd parity bit

Even Parity Bit: 

Even parity is a kind of parity where the number of 1’s in the number sequence including the parity bit is even.
Example: 
7 bits of data: 1010001
In case of even parity: 11010001;

Odd Parity Bit:

It is a kind of parity check where the number of 1’s in the number sequence including the parity bit is odd. 
Example: 
7 bits of data:1010001
In case of odd parity: 01010001



No comments:

Post a Comment