What is the difference between even parity and odd parity?

Answer

Even parity and odd parity both refer to asynchronous communication parity checking modes; even parity sets an extra bit to 1 if the data item already has an odd number of "1" bits or to 0 if the number of "1" bits is even, while odd parity checking does the same but leaves the number of "1" bits odd. Parity bits are used to detect errors in devices that store memory.

Here's an example of odd parity. The transmitted message 01000000 has only one "1" in it. Converting this to odd parity adds a zero, which yields 0 01000000. The total number of "1" digits in the message remains one, which is an odd number. If a message is 10101100, that message has four 1s in it, giving an even number. Turning it into odd parity adds a "1" at the start, yielding 1 10101100.

With even parity, the results would have been reversed. The first message (01000000) would have a "1" added, yielding 1 01000000. The second message (10101100) already has an even number of "1" bits, to the parity message would be 0 10101100.

Both receiver and sender must agree to use parity checking and whether to go with even or odd methodology.

Q&A Related to "What is the difference between even parity and..."
An odd parity means there are an odd number of 1's and an even number of. 1's. For example. 0b11010100 has 4 1's therefore its an even parity. 0u110100 has 3 1's therefore its an
http://wiki.answers.com/Q/What_is_the_difference_b...
in computer language 1 or 0 is odd or even parity. In basic terms. - if it's 1 it's odd. - if it's 0 it's even As your number increases it cycles through even and odd. for example
http://answers.yahoo.com/question/index?qid=200608...
1. Write down the binary form of the data you want calculate the parity for. Binary numbers allow all information to be represented by a sequence of ones and zeroes. There are numerous
http://www.ehow.com/how_7525220_calculate-odd-pari...
7. When processing your data, you can use the numeric value of the bits to index into the parity array(s). This is the fastest way to 'calculate' your parity. Note: 2^11 is 2048.
http://www.experts-exchange.com/Q_22028344.htm
About -  Privacy -  Careers -  Ask Blog -  Mobile -  Help -  Feedback  -  Sitemap  © 2014 Ask.com