Number Systems and Codes - Technical MCQs

Q1:

Convert the binary number 1011010 to hexadecimal.

A 5B

B 5F

C 5A

D 5C

ANS:C - 5A

Given (1011010) to the base 10.

Let's divide this binary number into four digits from last. i.e; 0101 1010
as there are only 7 numbers in the given binary form we are adding 0 in front just to make it even.

We have a rule called 8421. according to that;
The binary number 0101= 5 (4+1).
The binary number 1010=10 (8+2).
Then we get the hexadecimal number as 510 = 5A.
Answer= 5A.