Convert following binary numbers into hexadecimal number:
(a) 1110 1000
(b) 1010 1111 0110
(c) 1100 1011
(d) 1000 1011 1101 0110
Answers
Answer:
(a) E8
(b) AF6
(c) CB
(d) 8BD6
Explanation:
In this question
1 1 1 0 1 0 0 0
2^{3} 2^{2} 2^{1} 2^{0} 2^{3} 2^{2} 2^{1} 2^{0}
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
8 4 2 0 8 0 0 0
⇒ 8+4+2+0 = 14 ⇄ E 8+0+0+0 = 8
So, 1110 1000 hexadecimal number is E8
Therefore,
1 0 1 0 1 1 1 1 0 1 1 0 2^{3} 2^{2} 2^{1} 2^{0} 2^{3} 2^{2} 2^{1} 2^{0} 2^{3} 2^{2} 2^{1} 2^{0}
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
8 0 2 0 8 4 2 1 0 4 2 0
⇒ 8+0+2+0 = 10 ⇄ A, 8+4+2+1 = 15 ⇄ F, 0+4+2+0 = 6
so, 1010 1111 0110 hexadecimal number is AF6
1 1 0 0 1 0 1 1
2^{3} 2^{2} 2^{1} 2^{0} 2^{3} 2^{2} 2^{1} 2^{0}
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
8 4 0 0 8 0 2 1
⇒ 8+4+0+0 = 12 ⇄ C 8+0+2+1 = 11 ⇄ B
so, 1100 1011 hexadecimal number is CB
1 0 0 0 1 0 1 1 1 1 0 1 2^{3} 2^{2} 2^{1} 2^{0} 2^{3} 2^{2} 2^{1} 2^{0} 2^{3} 2^{2} 2^{1} 2^{0}
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
8 0 0 0 8 0 2 1 8 4 0 1
⇒ 8+0+0+0 = 8, 8+0+2+1 = 11 ⇄ B, 8+4+0+1 = 1`3 ⇆ D
0 1 1 0
2^{3} 2^{2} 2^{1} 2^{0}
↓ ↓ ↓ ↓
0 4 2 0
⇒ 0+4+2+0 = 6
so, 1000 1011 1101 0110 hexadecimal number is 8BD6