KnowledgeBoat Logo

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
81000
30011

(38AC)16 = (11100010101100)2

Grouping in bits of 3:

011undefined100undefined010undefined101undefined100undefined\underlinesegment{011}\medspace\underlinesegment{100}\medspace\underlinesegment{010}\medspace\underlinesegment{101}\medspace\underlinesegment{100}

Binary
Number
Equivalent
Octal
1004
1015
0102
1004
0113

(38AC)16 = (34254)8

(b) 7FD6

Hexadecimal
Number
Binary
Equivalent
60110
D (13)1101
F (15)1111
70111

(7FD6)16 = (111111111010110)2

Grouping in bits of 3:

111undefined111undefined111undefined010undefined110undefined\underlinesegment{111}\medspace\underlinesegment{111}\medspace\underlinesegment{111}\medspace\underlinesegment{010}\medspace\underlinesegment{110}

Binary
Number
Equivalent
Octal
1106
0102
1117
1117
1117

(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:

001undefined010undefined101undefined111undefined001undefined101undefined\underlinesegment{001}\medspace\underlinesegment{010}\medspace\underlinesegment{101}\medspace\underlinesegment{111}\medspace\underlinesegment{001}\medspace\underlinesegment{101}

Binary
Number
Equivalent
Octal
1015
0011
1117
1015
0102
0011

(ABCD)16 = (125715)8

Answered By

13 Likes


Related Questions