U1Ch1L5_Binary - Odometer
Purpose: Students will explore the limitations of representing numbers with bits.
Vocabulary: Overflow
Log On To Code.org / U1Ch1L5. The Odometer compares Binary, Decimal and Hexadecimal number systems. click here
You now know how to count in Binary and Decimal, so play with the Odometer and see if you can calculate what the Decimal value should be as the Binary value advances. (Ignore Hexadecimal and Octal. We will learn about them in the coming weeks.).
Journal:
- View the Decimal Value as you enter the following Binary Values: "1", "2", "4", "8", "16", "32", "64", "128", "256", "512".
- Question #1: How many Bits does this Odometer have showing?
- Question #2: What is the Binary Value for 512 & how many Bits do you need to count to 512?
- Question #3: What is the Binary Value for 1023 & how many Bits do you need to count to 1023?
- Question #4: Let the Odometer advance just one number or value. What happened & why can this be a big problem? What is the solution?