ARITHMETIC SYSTEMS
Decimal. The system people use when want to count something. It's a combination of 10 different numbers. 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
Binary. Binary system is a combination of 2 different numbers. 0 and 1.
Octal. Octal system is a combination of 8 different numbers. 1, 2, 3, 4, 5, 6, 7, and 8.
Hexadecimal. Hexadecimal system is a combination of 16 different numbers and letters. 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.
The table below, shows the difference among those 4 Arithmetic Systems.
DECIMAL | BINARY | OCTAL | HEXADECIMAL |
0 | 00000000 | 0 | 0 |
1 | 00000001 | 01 | 01 |
2 | 00000010 | 02 | 02 |
3 | 00000011 | 03 | 03 |
4 | 00000100 | 04 | 04 |
5 | 00000101 | 05 | 05 |
6 | 00000110 | 06 | 06 |
7 | 00000111 | 07 | 07 |
8 | 00001000 | 10 | 08 |
9 | 00001001 | 11 | 09 |
10 | 00001010 | 12 | 0A |
11 | 00001011 | 13 | 0B |
12 | 00001100 | 14 | 0C |
13 | 00001101 | 15 | 0D |
14 | 00001110 | 16 | 0E |
15 | 00001111 | 17 | 0F |
16 | 00010000 | 20 | 10 |
17 | 00010001 | 21 | 11 |
18 | 00010010 | 22 | 12 |
19 | 00010011 | 23 | 13 |
20 | 00010100 | 24 | 14 |
30 | 00011110 | 36 | 1E |
40 | 00101000 | 50 | 28 |
50 | 00110010 | 62 | 32 |
60 | 00111100 | 74 | 3C |
70 | 01000110 | 106 | 46 |
80 | 01010000 | 120 | 50 |
90 | 01011010 | 132 | 5A |
100 | 01100100 | 144 | 64 |