Computer Science - Computer Fundamentals - Discussion
Discussion Forum : Computer Fundamentals - Section 3 (Q.No. 35)
35.
Conversion of binary number 1010101000010111 to hexadecimal number is
Discussion:
3 comments Page 1 of 1.
Suman sharma scobacs said:
1 decade ago
(1010101000010111)base 2=(AA17)base 16
First of all divide binary number with four pairs i.e. 1010 1010 0001 0111.
We know that 1010= 1*2^3 +0*2^2+1*2^1+0*2^0 =8+0+2+0=10 now we Want to convert it into hexadecimal.in hexadecimal(16=0-9+A-f).
Then 10=A.
Similarly calculate 0001=1 and 0111=7
Hence we got (AA17)
First of all divide binary number with four pairs i.e. 1010 1010 0001 0111.
We know that 1010= 1*2^3 +0*2^2+1*2^1+0*2^0 =8+0+2+0=10 now we Want to convert it into hexadecimal.in hexadecimal(16=0-9+A-f).
Then 10=A.
Similarly calculate 0001=1 and 0111=7
Hence we got (AA17)
ROHITASH BAIRWA said:
1 decade ago
First of all we divide given binary number into four digit pairs from right hand side. i.e-1010 1010 0001 0111.
Now we convert these pairs hexadecimal like.
1010 = 1*2^3+0*2^2+1*2^1+0*2^0=8+0+2+0 = 10 = A.
1010 = 1*2^3+0*2^2+1*2^2+0*2^0=8+0+2+0 = 10 = A.
0001 = 0*2^3+0*2^2+0*2^1+1*2^0=0+0+0+1 = 1.
0111 = 0*2^3+1*2^2+1*2^1+1*2^0=0+4+2+1 = 7.
So (1010101000010111)base 2=(AA17)base 16.
Because in hexadecimal 10=A, 11=B, 12=C, 13=D, 14=E, 15=F.
Now we convert these pairs hexadecimal like.
1010 = 1*2^3+0*2^2+1*2^1+0*2^0=8+0+2+0 = 10 = A.
1010 = 1*2^3+0*2^2+1*2^2+0*2^0=8+0+2+0 = 10 = A.
0001 = 0*2^3+0*2^2+0*2^1+1*2^0=0+0+0+1 = 1.
0111 = 0*2^3+1*2^2+1*2^1+1*2^0=0+4+2+1 = 7.
So (1010101000010111)base 2=(AA17)base 16.
Because in hexadecimal 10=A, 11=B, 12=C, 13=D, 14=E, 15=F.
(3)
Chitra Silambarasan said:
1 decade ago
Below are the standard set of values for converting a binary number to a hexadecimal number.
For example,
1. (0001) base 2 means (1)base 16
2. (1000) base 2 means (8)base 16
Like wise we can convert any binary number to hexadecimal value.
Bin: 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Hex: 0 1 2 3 4 5 6 7 8 9 A B C D E F
For example,
1. (0001) base 2 means (1)base 16
2. (1000) base 2 means (8)base 16
Like wise we can convert any binary number to hexadecimal value.
Bin: 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Hex: 0 1 2 3 4 5 6 7 8 9 A B C D E F
(2)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers