Addition in Other Bases

written by Teresa Carrigan


Run model in your browser


Top

THINGS TO NOTICE

If there is a carry out of the left-most column, an overflow error occurs. This is because computers reserve a fixed amount of space for each integer. In working problems by hand, we can always add another digit to the left.

Top

THINGS TO TRY

Set the slow-motion to about .50 seconds (or slower) and press the step button a few times. Watch the red arrow as it processes each row.

Press setup or random until you see a problem with large digits in the left-most column. Press go to see if an overflow error is detected.


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.