raptor programming
Prelude to Programming, 6th Edition by Stewart Venit and Elizabeth Drake
Try It Yourself: Appendix A: Decimal, Binary, & Hexadecimal Representation
|
Your name: Type your name here |
|
|
Question |
Answer |
|
1. |
Given the number 108 , __________ is the base. |
|
2. |
Given the number 105 , __________ is the exponent. |
|
3. |
When a base is raised to a power of __________ , the result is one. |
|
4. |
There are __________ digits in the decimal system. |
|
5. |
There are __________ digits in the hexadecimal system. |
|
6. |
Write the following decimal numbers in expanded notation: (a) 3410 ___________________________________________________ (b) 23810 __________________________________________________ |
|
7. |
Write the following decimal numbers in expanded notation: (a) 2,04510 __________________________________________________ (b) 50,02410 _________________________________________________ |
|
8. |
Write the decimal value of the following binary numbers: (a) 112 ________________ (b) 10112 ___________________ |
|
9. |
Write the decimal value of the following binary numbers: (a) 110101012 _____________ (b) 111111112 ___________________ |
|
10. |
Write the binary representation of the following decimal numbers: (a) 710 ___________________ (b) 3410 ___________________ |
|
( continued ( |
|
|
11. |
Write the binary representation of the following decimal numbers: (a) 6310 ___________________ (b) 15710 ____________________ |
|
12. |
Write the decimal value of the following hexadecimal numbers: (a) 6416 ___________________ (b) 9F16 ___________________ |
|
13. |
Write the decimal value of the following hexadecimal numbers: (a) 8E0A16 _________________ (b) ABCD16 ____________________ |
|
14. |
Write the hexadecimal representation of the following decimal numbers: (a) 1210 ___________________ (b) 16010 ___________________ |
|
15. |
Write the hexadecimal representation of the following decimal numbers: (a) 78510 ___________________ (b) 91610 ____________________ |
|
16. |
Find the decimal value of each digit in the following hexadecimal number: A75BC916 (a) The A = _____ (b) The 7 = _____ (c) The 5 = _____ (d) The B = _____ (e) The C = _____ (f) The 9 = ______ |
|
17. |
Convert the following binary numbers to hexadecimal notation: (a) 11012 __________ (b) 111011102 __________ |
|
18. |
Convert the following binary numbers to hexadecimal notation: (a) 1010101010102 ___________ (b) 10111111000000112 __________ |
|
19. |
What is wrong with this number: 01120012 ? __________________________________________________ |
|
( continued ( |
|
20. |
Find the number that comes right before each of the following numbers: (a) E916 __________________ (b) 20016 __________________ (c) 101012 __________________ (d) 1110002 ___________________ |
|
Challenge |
Convert the following decimal numbers to base 3: (a) 510 ________ (b) 910 _________ (c) 12610 ____________ |
PAGE
1
© 2011 Pearson Education