Exercises

E.20Some people argue that many of our calculations would be easier in the base 12 number system because 12 is divisible by so many more numbers than 10 (for base 10). What is the lowest digit in base 12? What would be the highest symbol for the digit in base 12? What are the positional values of the rightmost four positions of any number in the base 12 number system?
E.21Complete the following chart of positional values for the rightmost four positions in each of the indicated number systems:
decimal1000100101
base 6......6...
base 13...169......
base 327.........
E.22Convert binary 100101111010 to octal and to hexadecimal.
E.23Convert hexadecimal 3A7D to binary.
E.24Convert hexadecimal 765F to octal. (Hint: First convert 765F to binary, ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.