Parity Bit


Parity bit is an extra bit included with the n-bit binary message to make the total number of 1's in this message(including the parity bit) either odd or even.
  • Parity bit acts as a check on a set of binary values.
  • It is used to find errors that may occur during data transmission.
  • Parity bit is added to every data unit that are transmitted.

There are two ways of parity error checking :

Even Parity :

Even parity refers to a parity checking mode, in which the extra bit is set to 1 if there are odd number of 1's in the given data stream.
  • If the number of 1's are even number in the data stream then the extra bit is set as 0.

Odd Parity :

Odd parity refers to a parity checking mode, in which the extra bit is set to 1 if there are even number of 1's in the given data stream.
  • If the number of 1's are odd number in the data stream then the extra bit is set as 0.

Examples of Even/Odd parity :



0 comments:

Post a Comment