Binary Presentation
(Site réalisé pour un projet de classe, d'où l'utilisation de l'anglais)
This website is a presentation of binary and his variables. It includes "Binary", "Decimal" and "Hexadecimal".
 Summary : |
The Decimal code:
The Decimal code is a massive digital system that found everywhere, everytime. This system uses a system of "0" to "9" in the aim to count easily on the base 10.
Example : (19)10 = 1 x 101 + 9 x 100 = 10 + 9
The Binary code:
The base of Binary code:
The Binary code is a massive digital system that is found in computers. This system uses a system of "0" and "1" in order to execute a sequence of instruction on the computer. This system works according to the base 2.
Example : (0101 1010)2 = 26 + 24 + 23 + 21 = 64 + 16 + 8 + 2 = (90)10
The Binary Coded Decimal:
The Binary Coded Decimal is a system which looks like the basic Binary code but this one writes every number of the base 10 in base 2. We must know only the first 10 numbers in Binary code as to write the Binary Coded Decimal.
Example : (245)10 = (0010 0100 0101)BCD
The Binary Thoughful:
The Binary Thoughtful is a system which looks like the basic Binary code but this one change only one bit between two numbers. To switch from one number to another one, we use a princip of mirror in order to write the number. (The exemple is below)
Example with the first 4 numbers : 0 = 0000 ; 1 = 0001 ; 2 = 0011 ; 3 = 0010
The Hexadecimal code:
The Hexadecimal code is a digital system based on base 16. We use 16 caracters and numbers to write the code : "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E" et "F".
Example : (3E8)16 = 3 x 162 + 14 x 161 + 8 x 160 = 768 + 224 + 8 = (1000)10
The Conclusion : The first 16 numbers in different languages
Decimal Number |
Binary Number |
Binary Coded Decimal Number |
Binary Thoughtful Number |
Hexadecimal Number |
0 |
0000 |
0000 |
0000 |
0 |
1 |
0001 |
0001 |
0001 |
1 |
2 |
0010 |
0010 |
0011 |
2 |
3 |
0011 |
0011 |
0010 |
3 |
4 |
0100 |
0100 |
0110 |
4 |
5 |
0101 |
0101 |
0111 |
5 |
6 |
0110 |
0110 |
0101 |
6 |
7 |
0111 |
0111 |
0100 |
7 |
8 |
1000 |
1000 |
1100 |
8 |
9 |
1001 |
1001 |
1101 |
9 |
10 |
1010 |
0001 0000 |
1111 |
A |
11 |
1011 |
0001 0001 |
1110 |
B |
12 |
1100 |
0001 0010 |
1010 |
C |
13 |
1101 |
0001 0011 |
1011 |
D |
14 |
1110 |
0001 0100 |
1001 |
E |
15 |
1111 |
0001 0101 |
1000 |
F |