KnowledgeBoat Logo

Computer Science

Convert the following binary numbers to octal

(a) 11001

(b) 10101100

(c) 111010111

Number System

20 Likes

Answer

(a) 11001

Grouping in bits of 3:

011undefined001undefined\underlinesegment{011} \quad \underlinesegment{001}

Binary
Number
Equivalent
Octal
0011
0113

Therefore, (11001)2 = (31)8

(b) 10101100

Grouping in bits of 3:

010undefined101undefined100undefined\underlinesegment{010} \quad \underlinesegment{101} \quad \underlinesegment{100}

Binary
Number
Equivalent
Octal
1004
1015
0102

Therefore, (10101100)2 = (254)8

(c) 111010111

Grouping in bits of 3:

111undefined010undefined111undefined\underlinesegment{111} \quad \underlinesegment{010} \quad \underlinesegment{111}

Binary
Number
Equivalent
Octal
1117
0102
1117

Therefore, (111010111)2 = (727)8

Answered By

2 Likes


Related Questions