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*16 ^{5} + B*16^{4} + C*16^{3} + D*16^{2} + 0*16^{1} + 1*16^{0}**

^{ }=10*16^{5} + 11*16^{4} + 12*16^{3} + 13*16^{2} + 0*16^{1} + 1*16^{0}

=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