Computer Science
Write binary representation of the following hexadecimal numbers:
(a) 4026
(b) BCA1
(c) 98E
(d) 132.45
Answer
(a) 4026
| Hexadecimal Number | Binary Equivalent |
|---|---|
| 6 | 0110 |
| 2 | 0010 |
| 0 | 0000 |
| 4 | 0100 |
Therefore, (4026)16 = (0100000000100110)2.
(b) BCA1
| Hexadecimal Number | Binary Equivalent |
|---|---|
| 1 | 0001 |
| A (10) | 1010 |
| C (12) | 1100 |
| B (11) | 1011 |
B → 1011
C → 1100
A → 1010
1 → 0001
Therefore, (BCA1)16 = (1011110010100001)2.
(c) 98E
| Hexadecimal Number | Binary Equivalent |
|---|---|
| E | 1110 |
| 8 | 1000 |
| 9 | 1001 |
Therefore, (98E)16 = (100110001110)2.
(d) 132.45
| Hexadecimal Number | Binary Equivalent |
|---|---|
| 5 | 0101 |
| 4 | 0100 |
| 2 | 0010 |
| 3 | 0011 |
| 1 | 0001 |
Therefore, (132.45)16 = (000100110010.01000101)2.
Related Questions
Write binary equivalent of the following octal numbers:
(a) 2306
(b) 5610
(c) 742
(d) 65.203
Perform the following conversions from decimal number to other number systems:
(a) (54)10 = (?)2
(b) (120)10 = (?)2
(c) (76)10 = (?)8
(d) (889)10 = (?)8
(e) (789)10 = (?)16
(f) (108)10 = (?)16
Express the following binary numbers into their equivalent octal numbers:
(a) 100101111
(b) 111011010
(c) 1010011
(d) 10011101