From decimal to binary
1. Write a number.
2. Divide it by two. If there is a remainder, put that number to the remainder list. If none, put 0.
3. Repeat step 2 until you have the number 0 or 1.
4. Put that number to the remainder list.
5. Reverse the order of the remainder list.
From decimal to octal
1. Write a number.
2. Divide it by eight. If there is a remainder, put that number to the remainder list. If none, put 0.
3. Repeat step 2 until you have a number from 0 to 7.
4. Put that number to the remainder list.
5. Reverse the order of the remainder list.
From decimal to hexadecimal
1. Write a number.
2. Divide it by sixteen. If there is a remainder, put that number to the remainder list. If none, put 0.
3. Repeat step 2 until you have a number from 1 to 15.
4. Put that number to the remainder list.
5. Reverse the order of the remainder list.
10 is A,
11 is B,
12 is C,
13 is D,
14 is E,
and 15 is F.
Exercise proper
Convert from decimal to binary, octal, or to hexadecimal.
Binary
1. 26
2. 40
3. 19
4. 712
5. 2204
Octal
6. 62
7. 28
8. 39
9. 337
10. 1920
Hexadecimal
11. 30
12. 98
13. 75
14. 576
15. 5536