Parity Error Detection Simulation

written by Teresa Carrigan


Run model in your browser


Top

THINGS TO NOTICE

Any bits that are zero are always ignored. The number of bits does not change the parity either.

The receiver must know not only whether the message was sent using even or odd parity, but also whether the parity bit is the first or last bit. This means that even if no error is detected, we cannot determine the data bits, because we are not told whether the parity bit was first or last.

When an error is detected, there is no way to fix the error, other than to ask for the message to be sent again.

Top

THINGS TO TRY

Set slow-motion to 0.5, click setup, and then click go.

Set the parity to a type you wish to drill, and click setup. Work each step by hand, and then click the step button to check your answer.


Home

Applets on this website were written by Teresa Carrigan in 2004, for use in computer science courses at Blackburn College, with the exception of the Fireworks applet. The applets made with NetLogo require Java 1.4.1 or higher to run. The applets made with NetBeans require Java 1.4.2 or higher to run. Applets might not run on Windows 95 or Mac OS 8 or 9. You may obtain the latest Java plugin from Sun's Java site.