| 1. |
Explain the conversion process of Decimal to Hexadecimal ? |
|
Answer» Step-by-step explanation: First, divide the decimal number by 16, considering the number as an integer. Keep aside the remainder left. Again divide the quotient by 16 and repeat till you get the quotient value equal to zero. Now take the values of the remainder's left in the reverse order to get the hexadecimal numbers. For EXAMPLE Let's assume the number 1'000'000. We will turn it to base 16. Divide it by 16. It gives result 62500, remainder 0. Divide the result by 16. It gives result 3906, remainder 4. Divide the result by 16. It gives the result 244, remainder 2. Divide the result by 16. It gives the result 15, remainder 4. Divide the result by 16. It gives the result 0, remainder 15. Now take the remainders in reverse order from that above. You get 15-4-2-4-0. Now, let's pick from the digits 0123456789ABCDEF. 15 maps to F. The OTHERS map to normal digits. THUS, the result is F4240. In some CASES lowercase letters are used, giving you f4240. |
|