Search unanswered questions...
Enter a question here...
All Community Q&A Reference topics

What is a parity bit?

[Edit]

What is a parity bit?

Parity bits are used as a form of error checking during the transmission of information. When old modems transmitted data over a network or communications device, the data was encoded into a series of ones and zeros called bits (modern modems send information in packets and check for errors in different ways, so a parity bit is unnecessary). A single bit can describe only two possible states, 0 (off) or 1 (on). Several bits are thus needed to describe a letter or number. A total of seven bits are used to describe the set of ASCII characters, which include the letters and numbers that compose this document.

The letter "A", for example, has ASCII code 65, which in binary is 1000001. Note that each binary digit corresponds to a power of two, and 65, which is two to the sixth power plus two to the zeroth power, has ones in only the sixth and zeroth columns of its binary representation. The letter C, with code value 67, has the binary sequence 1000011.

Because noise or electrical interference may sometimes interfere with the transmission of data, it is useful to have some way to easily detect errors in information as it is exchanged. One way to do this is to add an eighth bit to characters that are transmitted, called a parity bit. The parity bit is chosen such that all correctly transmitted characters will have either an even or odd number of ones. Thus, if a zero were placed at the start of the code for the letter A, producing 01000001, a one would be placed before the code for C, producing 11000011.

The prefixes shown here produce binary codes with an even number of ones (and zeros), and the added bit is thus called an even parity bit. The leading ones and zeros could also be chosen to always produce odd numbers of ones and zeros, and this scheme is called odd parity. Familiar settings in communications programs are E7, which uses one even parity bit and seven data bits, and N8, which indicates no parity bit and the use of all eight bits for transmitting data.

Use of the wrong parity setting in a communications program may produce screens full of garbage characters. If this happens, check to see what parity settings the computer to which you are connecting expects. If you do not have this information, try connecting with a different parity setting and see if this produces legible text.

Improve Answer Discuss the question "What is a parity bit?" Click here to register and get updates when this answer is edited.

First answer by ID3705889170. Last edit by ID3705889170. Question popularity: 22 [recommend question]

Answers.com > Wiki Answers > Categories > Technology > Inventions > What is a parity bit?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
The use of parity?  What is parity bit?  What is even parity?  Parity bit generator?  Parity vs non parity?  Use of parity checker?  The use of parity bit?  What does parity bit mean?  What does parity bit meant?  One-bit parity chip used for?  How is a parity bit assigned?  What is the use of a parity bit?  Key characteristics of parity bit?  What is odd parity and even parity?  What is The purpose of a parity bit?  How is value of parity bit assigned?  How many bits does a parity bit use?  How many words 1 parity bit can send?  How many bytes does a parity bit use?  What does the use of parity bit mean?