## Counting in Other Number Bases

## written by Teresa Carrigan

## Run model in your browser

- 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

## HOW TO USE IT

Use thenumber-of-digitsslider to set the number of digits that the counter can hold. Use thebaseslider to set the base. Now press thesetupbutton. This will zero all the digits and initialize the patch variables.The

slow-motionslider is an easy way to adjust the speed of the display so you can watch the digits change as the red arrow moves. Set it to zero if you want to quickly count to a large number.The

incrementbutton adds one to the counter.The

loopbutton will continuously increment the counter until clicked a second time.To take a quiz, first select the quiz topic, and then click the

quizbutton. You may choose to include commas or spaces in your answer to help you count digits; they will be ignored. If you choose "random quiz topic" for your quiz topic, then one of the other possible quiz topics will be chosen for you. When answering a counting quiz question for a base higher than decimal, upper and lower case do not matter.The

baseslider sets the base to be used the next time thesetupbutton is pressed. You may choose any base from two to sixteen.The

number-of-digitsslider sets the number of digits that the count will hold the next time thesetupbutton is pressed. Possible values range from two to ten.The

setupbutton consults thebaseslider andnumber-of-digitsslider, then initializes the counter to that base and number of digits, setting each digit to zero.

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.