the computer language is all about bunch of 1 and 0.
you need 8 bits or 1 byte to represent characters, symbols, numbers, letters...
Here we describe the unit of computer
1. L’unité de mesure/ UNIT
Bit (0 ou 1)
Byte ou Octet= 8 bits
Notons 1 caractère = 8 bits(1 Byte) ex A
0
1
0
0
0
0
0
1
A
Kilobyte (KB) = 1024 B ~ 103 B mille (thousand)
Megabyte (MB) = 1024 KB ~ 106 B (million)
Gigabyte (GB) = 1024 MB ~ 109 B ~(milliard)
Terabyte (TB)= 1024 GB ~ 1012 B ~(trilliard)
1
2. Tableau du codage des caractères
Character
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
ASCII Code
100 0001
100 0010
100 0011
100 0100
100 0101
100 0110
100 0111
100 1000
100 1001
100 1010
100 1011
100 1100
100 1101
100 1110
100 1111
101 0000
101 0001
101 0010
101 0011
101 0100
101 0101
101 0110
101 0111
101 1000
101 1001
Character
0
1
2
3
4
5
6
7
8
9
Space
.
(
+
&
$
*
)
;
,
?
:
=
ASCII Code
011 0000
011 0001
011 0010
011 0011
011 0100
011 0101
011 0110
011 0111
011 1000
011 1001
010 0000
010 1110
010 1000
010 1011
010 0110
010 0100
010 1010
010 1001
011 1011
010 1100
101 1111
011 1111
011 1010
011 1101
2