KnowledgeBoat Logo

Computer Science

Convert the following binary numbers to hexadecimal:

(a) 1010110110111

(b) 10110111011011

(c) 0110101100

Number System

39 Likes

Answer

(a) 1010110110111

Grouping in bits of 4:

0001undefined0101undefined1011undefined0111undefined\underlinesegment{0001} \quad \underlinesegment{0101} \quad \underlinesegment{1011} \quad \underlinesegment{0111}

Binary
Number
Equivalent
Hexadecimal
01117
1011B (11)
01015
00011

Therefore, (1010110110111)2 = (15B7)16

(b) 10110111011011

Grouping in bits of 4:

0010undefined1101undefined1101undefined1011undefined\underlinesegment{0010} \quad \underlinesegment{1101} \quad \underlinesegment{1101} \quad \underlinesegment{1011}

Binary
Number
Equivalent
Hexadecimal
1011B (11)
1101D (13)
1101D (13)
00102

Therefore, (10110111011011)2 = (2DDB)16

(c) 0110101100

Grouping in bits of 4:

0001undefined1010undefined1100undefined\underlinesegment{0001} \quad \underlinesegment{1010} \quad \underlinesegment{1100}

Binary
Number
Equivalent
Hexadecimal
1100C (12)
1010A (10)
00011

Therefore, (0110101100)2 = (1AC)16

Answered By

6 Likes


Related Questions