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

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

=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