1. Count from 24 to 34 in decimal, binary, octal and hexadecimal.
2. Count from 56 to 66 in decimal, binary, octal and hexadecimal.
3. Count from 81 to 91 in decimal, binary, octal and hexadecimal.
4. Convert these decimal numbers in to binary, octal and hexadecimal.
123
12
26
36
99
100
82
5. Convert these numbers from binary to decimal.
1010
1100
1001
101010
110001
111111
1011010
1101001
1110100
6. Convert these numbers from octal to decimal.
723
127
342
65421
23127
23872
7. Convert these numbers from hexadecimal to decimal.
a3
4e
5f
af2
e4d
32a
8. Convert these binary numbers to octal.
101011
100110
111111
111010
110001
101110
9. Convert these binary numbers to hexadecimal
1001
1011
1010
1111
0011
0101
11010010
11001001
10010110
10101010
10110011
10100110
10. Convert these decimal numbers in to binary, octal and hexadecimal.
8.75
10.5
3.3125
5.75
9.25
6.6875
2.8125
11.4375
11. What possible bases could each number have? (Look at the largest digit) Assume letters work as in hexadecimal.
1011
123
237
983
2b
a2g
5zw
12. Suppose a number has a base 8.
What digits could be used in the number?
What would the first four columns be?
13. Suppose a number has a base 4.
What digits could be used in the number?
What would the first four columns be?
What is decimal 12 in written in this base system?
14. Which of the following would make a good base for a number system? Justify your choices.
5
23
23456
0.4
p
½
0
1
-1
-23
15. (a) Why are binary, octal and hexadecimal the number systems used most often by computer scientists?
(b) Why is it easy to convert numbers between binary, octal and hexadecimal? What other bases would it be easy to translate between?