Computer Science
Convert the following hexadecimal numbers to octal:
(a) 38AC
(b) 7FD6
(c) ABCD
Number System
154 Likes
Answer
(a) 38AC
Hexadecimal Number | Binary Equivalent |
---|---|
C (12) | 1100 |
A (10) | 1010 |
8 | 1000 |
3 | 0011 |
(38AC)16 = (11100010101100)2
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
100 | 4 |
101 | 5 |
010 | 2 |
100 | 4 |
011 | 3 |
(38AC)16 = (34254)8
(b) 7FD6
Hexadecimal Number | Binary Equivalent |
---|---|
6 | 0110 |
D (13) | 1101 |
F (15) | 1111 |
7 | 0111 |
(7FD6)16 = (111111111010110)2
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
110 | 6 |
010 | 2 |
111 | 7 |
111 | 7 |
111 | 7 |
(7FD6)16 = (77726)8
(c) ABCD
Hexadecimal Number | Binary Equivalent |
---|---|
D (13) | 1101 |
C (12) | 1100 |
B (11) | 1011 |
A (10) | 1010 |
(ABCD)16 = (1010101111001101)2
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
101 | 5 |
001 | 1 |
111 | 7 |
101 | 5 |
010 | 2 |
001 | 1 |
(ABCD)16 = (125715)8
Answered By
13 Likes