MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-012
Course Title : Computer Organisation and Assembly Language Programming
Assignment Number : MCA (2)/012/Assign /2014-15
Maximum Marks : 100
Weightage : 25%
Convert the hexadecimal number: (ABCD01)16 into equivalent binary, octal and decimal.
The Base Value of Hexadecimal number is 16. The Table represents the value in decimal.
0 |
0 |
1 |
1 |
2 |
2 |
3 |
3 |
4 |
4 |
5 |
5 |
6 |
6 |
7 |
7 |
8 |
8 |
9 |
9 |
10 |
A |
11 |
B |
12 |
C |
13 |
D |
14 |
E |
15 |
F |
Any Hexadecimal number can be represented in the following format for converting to Decimal.
A*165 + B*164 + C*163 + D*162 + 0*161 + 1*160
=10*165 + 11*164 + 12*163 + 13*162 + 0*161 + 1*160
=10*1048576 + 11*65536 + 12*4096 + 13*256 + 0*16 + 1*1
=10485760 + 720896 + 49152 + 3328 + 0 + 1
=10485760 + 720896 + 49152 + 3328 + 0 + 1
=11259137
Decimal-to-Binary:
Converting can be found on this link http://www.wikihow.com/Convert-from-Decimal-to-Binary
Decimal-to-Octal:
Converting can be found on this link http://www.wikihow.com/Convert-from-Decimal-to-Octal