Answers to Self-Review Exercises
E.1 | 10, 2, 8, 16. | ||||||||||||||||||||
E.2 | Fewer. | ||||||||||||||||||||
E.3 | False. Hexadecimal does this. | ||||||||||||||||||||
E.4 | Hexadecimal. | ||||||||||||||||||||
E.5 | False. The highest digit in any base is one less than the base. | ||||||||||||||||||||
E.6 | False. The lowest digit in any base is zero. | ||||||||||||||||||||
E.7 | 1 (the base raised to the zero power). | ||||||||||||||||||||
E.8 | The base of the number system. | ||||||||||||||||||||
E.9 | Fill in the missing values in this chart of positional values for the rightmost four positions in each of the indicated number systems:
| ||||||||||||||||||||
E.10 | Octal 6530; Hexadecimal D58. | ||||||||||||||||||||
E.11 | Binary 1111 1010 1100 1110. | ||||||||||||||||||||
E.12 | Binary 111 011 001 110. | ||||||||||||||||||||
E.13 | Binary 0 100 111 111 101 100; Octal 47754. | ||||||||||||||||||||
E.14 | Decimal 2+4+8+32+64=110. | ||||||||||||||||||||
E.15 | Decimal 7+1*8+3*64=7+8+192=207. | ||||||||||||||||||||
E.16 | Decimal 4+13*16+15*256+14*4096=61396. | ||||||||||||||||||||
E.17 | Decimal 177 ... |
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.