Enterprise Storage Forum   Earthweb  
Events Research Images Premium Services Media Kit Network Map E-mail Offers Whitepapers Vendor Showcases
   subjects:
Search EarthWeb Network


IT Newsletters
CIO Digest
CodeGuru Update
C#/.net Tech Notes
Visual Basic Tech Notes
CrossNodes Networking
Windows Networking
Practically Networked
EnterpriseStorageForum (text)
EnterpriseStorageForum (HTML)
Optically Networked (text)
Optically Networked (HTML)
Datamation IT Management Update
Developer.com Update
XML Tech Notes
Gamelan Java Update
Goodies to Go
Web Design Goodies
Javascripts Update
JARS Java Update
OpenSource Update
OpenSource Project
SysOpt Tech Notes
Search for TERMS:
Enter a keyword...
 
...or choose a category
 

 parity checking
LastModified: Monday, July 26, 2004 

In communications, parity checking refers to the use of parity bits to check that data has been transmitted accurately. The parity bit is added to every data unit (typically seven or eight bits ) that are transmitted. The parity bit for each unit is set so that all bytes have either an odd number or an even number of set bits.

Assume, for example, that two devices are communicating with even parity (the most common form of parity checking). As the transmitting device sends data, it counts the number of set bits in each group of seven bits. If the number of set bits is even, it sets the parity bit to 0; if the number of set bits is odd, it sets the parity bit to 1. In this way, every byte has an even number of set bits. On the receiving side, the device checks each byte to make sure that it has an even number of set bits. If it finds an odd number of set bits, the receiver knows there was an error during transmission.

The sender and receiver must both agree to use parity checking and to agree on whether parity is to be odd or even. If the two sides are not configured with the same parity sense, communication will be impossible.

Parity checking is the most basic form of error detection in communications. Although it detects many errors, it is not foolproof, because it cannot detect situations in which an even number of bits in the same data unit are changed due to electrical noise. There are many other more sophisticated protocols for ensuring transmission accuracy, such as MNP and CCITT V.42.

Parity checking is used not only in communications but also to test memory storage devices. Many PCs, for example, perform a parity check on memory every time a byte of data is read.

  Related Links

Memory Errors, Detection and Correction 
Describes the facilities available for doing error detection and correction and discusses what some of the important factors are. This page is from "The PC Guide."

related categories:

Communications

Error Correction

related terms:

CCITT

communications

communications protocol

Hamming code

MNP

modem

Books
parity checking Products


Shop by Top Models:
Robert G. Gallager - Low-Density Parity-Check Codes
2 store offers from $20 - $36

Sarah Johnson - Iterative Error Correction: Turbo, Low-Density Parity-Check and Repeat-Accumulate Codes
2 store offers from $60 - $66







IT ManagementNetworking & CommunicationsWeb DevelopmentHardware & SystemsSoftware Development
Earthweb Homeglobe
IT Jobs Events Training & Certification


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers