Professional Documents
Culture Documents
Decimal Base
12
8 8
9 9
10 A
11 B
12 10
13 11
14 12
15 13
16 14
17 15
18 16
19 17
20 18
21 19
22 1A
23 1B
24 20
25 21
26 22
* What is the exact number of bytes in a system that contains (a) 32K bytes, (b) 64M
bytes, and (c) 6.4G bytes?
A) 32 * 210 = 32768 bytes
B) 64 * 210 = 67108864 bytes
C) 6.4 * 210 = 6871947674 bytes
Convert the following numbers with the indicated bases to decimal: (a) * (4310) 5 (b)
* (198) 12 (c) (435) 8 (d) (345)6
(a) 4 * 53 + 3 * 52 + 1 * 51 + 0 * 50 = (580)10
(b) 1* 122 + 9 * 121 + 8 * 120 = (260)10
(c) 4 * 82 + 3 * 81 + 5 * 80 = (285)10
(d) 3 * 62 + 4 * 61 + 5 * 60 = (137)10.
1.10 Convert the following binary numbers to hexadecimal and to decimal: (a)
1.10010, (b) 110.010.
Answer:
(a) (1.10010)2 = (0001.1001)2 = (1.9)16 = (1 + 9*16-1 ) = (1.563)10
(b) (110.010)2 = (0110.0100)2 = (6.4)16 = (6 + 4*16-1 ) = (6.25)10
* Decode the following ASCII code: 1010011 1110100 1100101 1110110 1100101
0100000 1001010 1101111 1100010 1110011.
- Steve Jobs