# Electronics - Number Systems and Codes - Discussion

Discussion Forum : Number Systems and Codes - General Questions (Q.No. 3)
3.
Convert the binary number 1011010 to hexadecimal.
5B
5F
5A
5C
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 1 of 2.

Susheela said:   4 years ago
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.

Steffen Rohit said:   6 years ago

Srikar said:   6 years ago
Given binary number is 1011010.

0101 ----- 1010
5 ----- 10 it can be represented as A.
5 ----- A.

Prabir dhara said:   7 years ago
For them who do not know it, 0*2^0=0,(not 1).

So for last four digit 1010 = 10 means (A)[1*2^3+0*2^2+1*2^1+0*2^0 = 8+0+2+0=10, We know for hexadecimal numbering system is 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,].

Last four digit 1 0 1 0.

= 1*2^3 + 0*2^2 + 1*2^1 + 0*2^0 = 8+0+2+1.

= 11 mtlb ex-0 1 2 3 4 5 6 7 8 9 (B).

In the above (0*2^0) is taken as 1 so you got B.
The correct is 8+0+2+0 = 10 = A.

Vimal sharma said:   9 years ago
(1011010) = ?

0 1 0 1 1 0 1 0.

1st four digit 0 1 0 1.

= 0*2^3+1*2^2+0*2^1+1*2^0 = 0+4+0+1.

Last four digit 1 0 1 0.

= 1*2^3+0*2^2+1*2^1+0*2^0 = 8+0+2+1.

= 11 mtlb ex-0 1 2 3 4 5 6 7 8 9 (B).

= 5+B.

(1011010) = ?

= 2^6*1+2^5*0+2^4*1+2^3*1+2^2*0+2^1*1+2^0*0.
= 64+0+16+8+0+2.
= 90.

Now this 90 convert into hexadecimal.
= 16/90_5-10.
= 5A.

A represent 10.

Ashish singh said:   1 decade ago
From last RHS group into four then it becomes 5A.

S kumar said:   1 decade ago
Converting binary to decimal.

2^6*1+2^5*0+2^4*1+2^3*1+2^2*0+2^1*1+2^0*0=64+0+16+8+0+2+0=90 and so on..converting (90)decimal to hexadecimal.

(16)^1*5+(16)^0*10=510. But in hexadecimal A is the code for digit 10. So answer would be 5A.