Parity Error Detection Simulation
written by Teresa Carrigan
- What is it?
- How it works
- How to use it
- Things to notice
- Things to try
- Extending the model
- NetLogo features
- Related models
- Credits and References
- For more information
- Run model in your browser
- Download the model
- Single webpage version
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.
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.
HomeApplets 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.