Hamming Distance Simulation

written by Crystal Barchet and Teresa Carrigan


Run model in your browser


Top

THINGS TO NOTICE

The smallest distance should never be zero. If it is zero, then an error has occured (2 of the bit patterns are the same).

Top

THINGS TO TRY

Set the slow-motion slider to about .4 seconds (or slower) and press the step button a few times. Watch the demonstration of each step.

Set the slow-motion slider to about .4 seconds and press the go button. Watch the entire demonstration.

Do each step by hand, then press step to check your work.


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.