Does Parity Checking Have Any Real Value in Error Detection?

  • Thread starter frenzal_dude
  • Start date
  • Tags
    Parity
In summary, parity error detection is used to check for errors in a transmission. If there are an even number of errors, the errors will not be detected.
  • #1
frenzal_dude
77
0
I don't understand how parity error detection is any use since if there are an even number of mistakes, the errors won't be detected.

If there's more to it than this please let me know.
 
Engineering news on Phys.org
  • #2
Yes its useful. Its used everywhere sometimes on individual characters being transmitted. It works best if you have a very clean comm channel and single bit fails occur rarely. Detection means the receiver can request a retransmission of the character. If the line degrades a lot then you'll get a lot of parity checks in a transmission then you can terminate the transmission (even though you may have missed the even bit errors) forcing the transmittor to send everything again.

For more comprehensive error checking and repair, other schemes will be used with the attendant hardware/software complexity that goes with them.
 
  • #3
Wow.

Back in the days of teletype machines and punched paper tape,

parity check could tell you quickly if an individual character(byte) was corrrupted.

That was handy because you could stop partway through a file load and reload the tape. Also it gave you a clue where in the tape to look for your trouble. Teletype machines read about ten bytes/second, and a high speed reader could do aout 400. Obviously we didn't do multi-megabyte files on paper tape.

Usually a "Checksum" on the whole file was done at end of read, which will detect an even # of bit errors. That was deadly - you didn't know where to look.

I liked paper tape - a corrupted file you could hold up to the light and see every bit. With Scotch tape and a pocket knife one could fix a corrupt file.

But back then 32K was a lot of memory.

old jim
 
  • #4
If you just talking about single parity check, you catch 50% only. But you don't just use one time, like Jim said, you have check sum and other check at the same time. So if the data pass all the check, it is quite reliable...notice "quite"? Nothing is absolute.
 
  • #5


Parity checking is a useful method for detecting errors in transmitted data. While it is true that an even number of errors may not be detected, parity checking is still valuable because it can detect the majority of errors that occur during data transmission. In addition, parity checking can help identify the location of the error, making it easier to correct. Furthermore, parity checking is a simple and efficient method that does not require a lot of additional resources. It is just one of many error detection techniques that scientists and engineers use to ensure the accuracy and reliability of data transmission.
 

FAQ: Does Parity Checking Have Any Real Value in Error Detection?

What is parity checking and what is its purpose?

Parity checking is a method used to detect errors in data transmission. It involves adding an extra bit to a data unit to make the total number of 1s either even or odd. The purpose of parity checking is to ensure the integrity of data by detecting any errors that may occur during transmission.

How does parity checking work?

In parity checking, a parity bit is added to the end of a data unit. This bit is calculated based on the number of 1s in the data unit. If the number of 1s is already even, the parity bit will be set to 0, making the total number of 1s still even. If the number of 1s is odd, the parity bit will be set to 1, making the total number of 1s odd. When the data is received, the parity bit is checked to see if the total number of 1s is still either even or odd. If not, an error is detected.

Is parity checking still useful in modern technology?

Yes, parity checking is still useful in modern technology. While it may not be the most advanced error detection method, it is a simple and cost-effective way to ensure data integrity. It is commonly used in systems that are not prone to frequent errors, such as home computers, consumer electronics, and simple communication systems.

Are there any limitations to parity checking?

Yes, there are some limitations to parity checking. It can only detect errors that result in an odd number of bits being flipped during transmission. It cannot detect errors where an even number of bits are flipped. Additionally, it cannot correct errors, only detect them. Therefore, it is not suitable for systems where the risk of errors is high.

Are there any alternatives to parity checking?

Yes, there are other error detection methods that can be used instead of parity checking. Some examples include cyclic redundancy check (CRC), checksum, and Hamming code. These methods are more advanced and can detect and correct a wider range of errors. However, they may also be more complex and costly to implement compared to parity checking.

Similar threads

Replies
8
Views
2K
Replies
2
Views
2K
Replies
1
Views
1K
Replies
27
Views
3K
Replies
12
Views
2K
Replies
3
Views
3K
Back
Top