PARITY BIT is a bit that is added to ensure that the number of bits is even or odd.
There are 2 types of parity bits:
1. Even parity bit
2. Odd parity bit
EVEN PARITY BIT
In the even parity if in a data for e.g. no of bit 8 ,the no of occurence of 1's is odd no of times, then we add 1 to it making entire set of bit even and making overall bit =9
e.g. 10001001 (1 occuring 3 times)
110001001 (even parity)
and if the occurence of 1's is even no of times then we add a zero to make it even.
e.g 10001101 (1 occuring 4 times)
010001101 (even parity)
ODD PARITY BIT
In the odd parity , if data bit consists of odd no of 1's we add a zero to it to make it odd.
e.g. 10001001(1 occuring 3 times)
010001001 (odd parity)
similarly if data bit consists of even no of 1's we add a 1 to make it odd.
e.g. 10001101(1 occuring 4 times)
110001101 (odd parity)
Even parity is a special case of a cyclic redundancy check (CRC), where the 1-bit CRC is generated by the polynomial x+1.
If the parity bit is present but not used, it may be referred to as mark parity (when the parity bit is always 1) or space parity (the bit is always 0).
(i hope you like the post. suggestions to improve and include more content clearly is welcomed)