Explain the conversion process of Decimal to Hexadecimal ?
Answers
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.
Step-by-step explanation:
To convert from decimal to hexa decimal
01. Divide the number by 16
02. Write the remainder to the right hand side
03.After the remainder comes when you can no longer divide by 16 (less than 16), write all the remainders side by side starting from the bottom to top.
Note: Substitute letters for numbers,
10 = A
11 = B
12= C
13 = D
14 = E
15 = F
Example: Convert 267 to hexadecimal
16 I 267
16 I 16 - 11
1 - 0
Hope it was understandable.
If my answer was helpful, please mark me as brainliest.