MASTER OF COMPUTER APPLICATIONS
Course Code : MCS-012
Course Title : Computer Organisation and Assembly Language Programming
Assignment Number : MCA(I)/012/Assignment/15-16
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.
FAEBDC
F*165 + A*164 + E*163 + B*162 + D*161 + C*160
=15*165 + 10*164 + 14*163 + 11*162 + 13*161 + 12*160
=15*1048576 + 10*65536 + 14*4096 + 11*256 + 13*16 + 12*1
=15728640 + 655360 + 57344 + 2816 + 208 + 12
=16444380
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