Unité de mesure en informatique : Différence entre versions
De Wicri Manuel
imported>Jacques Ducloy |
imported>Jacques Ducloy m (13 révisions importées) |
||
(8 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 9 : | Ligne 9 : | ||
Pour représenter un jeu de caractère en informatique, le principe de base consiste à affecter à chaque caractère un profil binaire unique. Le code ASCII (American Standard Code for Information Interchange), défini en 1960 était un code à 7 bits. | Pour représenter un jeu de caractère en informatique, le principe de base consiste à affecter à chaque caractère un profil binaire unique. Le code ASCII (American Standard Code for Information Interchange), défini en 1960 était un code à 7 bits. | ||
+ | |||
+ | La table ci-dessous montre des extraits des caractères imprimables du code ASCII (les premières valeurs correspondent à des codes de contrôle, non imprimables). | ||
{| style="background:none; text-align:center;" | {| style="background:none; text-align:center;" | ||
Ligne 25 : | Ligne 27 : | ||
|010 0011 ||style="background:lightblue;"| 043 || style="background:#cff;"| 35 ||style="background:lightblue;"| 23 || # | |010 0011 ||style="background:lightblue;"| 043 || style="background:#cff;"| 35 ||style="background:lightblue;"| 23 || # | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|010 1111 ||style="background:lightblue;"| 057 || style="background:#cff;"| 47 ||style="background:lightblue;"| 2F || [[Slash (punctuation)|/]] | |010 1111 ||style="background:lightblue;"| 057 || style="background:#cff;"| 47 ||style="background:lightblue;"| 2F || [[Slash (punctuation)|/]] | ||
Ligne 51 : | Ligne 37 : | ||
|011 0010 ||style="background:lightblue;"| 062 || style="background:#cff;"| 50 ||style="background:lightblue;"| 32 || [[2 (number)|2]] | |011 0010 ||style="background:lightblue;"| 062 || style="background:#cff;"| 50 ||style="background:lightblue;"| 32 || [[2 (number)|2]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|011 1001 ||style="background:lightblue;"| 071 || style="background:#cff;"| 57 ||style="background:lightblue;"| 39 || [[9 (number)|9]] | |011 1001 ||style="background:lightblue;"| 071 || style="background:#cff;"| 57 ||style="background:lightblue;"| 39 || [[9 (number)|9]] | ||
Ligne 67 : | Ligne 43 : | ||
|011 1010 ||style="background:lightblue;"| 072 || style="background:#cff;"| 58 ||style="background:lightblue;"| 3A || [[Colon (punctuation)|:]] | |011 1010 ||style="background:lightblue;"| 072 || style="background:#cff;"| 58 ||style="background:lightblue;"| 3A || [[Colon (punctuation)|:]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|011 1111 ||style="background:lightblue;"| 077 || style="background:#cff;"| 63 ||style="background:lightblue;"| 3F || [[Question mark|?]] | |011 1111 ||style="background:lightblue;"| 077 || style="background:#cff;"| 63 ||style="background:lightblue;"| 3F || [[Question mark|?]] | ||
Ligne 80 : | Ligne 50 : | ||
{| class="wikitable" style="text-align:center;" | {| class="wikitable" style="text-align:center;" | ||
|- style="vertical-align:bottom;" | |- style="vertical-align:bottom;" | ||
− | ! | + | !Binaire !! Oct !! Dec !! Hex !! Glyphe |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | |100 | + | |100 0000 ||style="background:lightblue;"| 100 || style="background:#cff;"| 64 ||style="background:lightblue;"| 40 || @ |
|- | |- | ||
− | |100 | + | |100 0001 ||style="background:lightblue;"| 101 || style="background:#cff;"| 65 ||style="background:lightblue;"| 41 || A |
|- | |- | ||
− | |100 | + | |100 0010 ||style="background:lightblue;"| 102 || style="background:#cff;"| 66 ||style="background:lightblue;"| 42 || B |
|- | |- | ||
− | |100 | + | |100 0011 ||style="background:lightblue;"| 103 || style="background:#cff;"| 67 ||style="background:lightblue;"| 43 || C |
|- | |- | ||
− | | | + | |colspan=5| ... |
|- | |- | ||
|100 1111 ||style="background:lightblue;"| 117 || style="background:#cff;"| 79 ||style="background:lightblue;"| 4F || [[O]] | |100 1111 ||style="background:lightblue;"| 117 || style="background:#cff;"| 79 ||style="background:lightblue;"| 4F || [[O]] | ||
Ligne 120 : | Ligne 70 : | ||
|101 0010 ||style="background:lightblue;"| 122 || style="background:#cff;"| 82 ||style="background:lightblue;"| 52 || [[R]] | |101 0010 ||style="background:lightblue;"| 122 || style="background:#cff;"| 82 ||style="background:lightblue;"| 52 || [[R]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|101 1001 ||style="background:lightblue;"| 131 || style="background:#cff;"| 89 ||style="background:lightblue;"| 59 || [[Y]] | |101 1001 ||style="background:lightblue;"| 131 || style="background:#cff;"| 89 ||style="background:lightblue;"| 59 || [[Y]] | ||
Ligne 136 : | Ligne 76 : | ||
|101 1010 ||style="background:lightblue;"| 132 || style="background:#cff;"| 90 ||style="background:lightblue;"| 5A || [[Z]] | |101 1010 ||style="background:lightblue;"| 132 || style="background:#cff;"| 90 ||style="background:lightblue;"| 5A || [[Z]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|101 1111 ||style="background:lightblue;"| 137 || style="background:#cff;"| 95 ||style="background:lightblue;"| 5F || [[Underscore|_]] | |101 1111 ||style="background:lightblue;"| 137 || style="background:#cff;"| 95 ||style="background:lightblue;"| 5F || [[Underscore|_]] | ||
Ligne 149 : | Ligne 83 : | ||
{| class="wikitable" style="text-align:center;" | {| class="wikitable" style="text-align:center;" | ||
|- style="vertical-align:bottom;" | |- style="vertical-align:bottom;" | ||
− | ! | + | !Binaire !! Oct !! Dec !! Hex !! Glyph |
|- | |- | ||
|110 0000 ||style="background:lightblue;"| 140 || style="background:#cff;"| 96 ||style="background:lightblue;"| 60 || [[Grave accent|`]] | |110 0000 ||style="background:lightblue;"| 140 || style="background:#cff;"| 96 ||style="background:lightblue;"| 60 || [[Grave accent|`]] | ||
Ligne 159 : | Ligne 93 : | ||
|110 0011 ||style="background:lightblue;"| 143 || style="background:#cff;"| 99 ||style="background:lightblue;"| 63 || [[c]] | |110 0011 ||style="background:lightblue;"| 143 || style="background:#cff;"| 99 ||style="background:lightblue;"| 63 || [[c]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|110 1111 ||style="background:lightblue;"| 157 || style="background:#cff;"| 111 ||style="background:lightblue;"| 6F || [[o]] | |110 1111 ||style="background:lightblue;"| 157 || style="background:#cff;"| 111 ||style="background:lightblue;"| 6F || [[o]] | ||
Ligne 189 : | Ligne 103 : | ||
|111 0010 ||style="background:lightblue;"| 162 || style="background:#cff;"| 114 ||style="background:lightblue;"| 72 || [[r]] | |111 0010 ||style="background:lightblue;"| 162 || style="background:#cff;"| 114 ||style="background:lightblue;"| 72 || [[r]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|111 1001 ||style="background:lightblue;"| 171 || style="background:#cff;"| 121 ||style="background:lightblue;"| 79 || [[y]] | |111 1001 ||style="background:lightblue;"| 171 || style="background:#cff;"| 121 ||style="background:lightblue;"| 79 || [[y]] | ||
Ligne 205 : | Ligne 109 : | ||
|111 1010 ||style="background:lightblue;"| 172 || style="background:#cff;"| 122 ||style="background:lightblue;"| 7A || [[z]] | |111 1010 ||style="background:lightblue;"| 172 || style="background:#cff;"| 122 ||style="background:lightblue;"| 7A || [[z]] | ||
|- | |- | ||
− | | | + | |colspan=5| ... |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | |111 | + | |111 1111 ||style="background:lightblue;"| 177 || style="background:#cff;"| 127 ||style="background:lightblue;"| 7F || ''nul'' |
|} | |} | ||
|} | |} | ||
+ | |||
+ | Ces codes étant utilisés en télé-transmission, le huitième bit d'un octet était un code de parité. |
Version actuelle datée du 24 juin 2017 à 18:17
Les unités de mesure sont utilisées en informatique pour quantifier la taille de la mémoire d'un ordinateur, l'espace utilisable sur un disque dur, le débit d'un organe de transmission ou la taille d'un fichier.
Unités élémentaires courantes
- Bit - Le terme bit vient de l'anglais binary digit et désigne la plus petite unité de mémoire utilisable sur un ordinateur. Cette mémoire ne peut prendre que deux valeurs, la plupart du temps interprétées comme 0 ou 1. Les autres unités de mesure ne correspondent qu'à des regroupements de bits.
- Octet - Le terme octet désigne un regroupement de 8 chiffres binaires (ou de 8 bits). Il peut prendre 28, soit 256, valeurs possibles. L'octet est la mesure la plus couramment utilisée car on sait y représenter un jeu de caractères courants (le code ASCII par exemple) et il est facilement manipulable par un ordinateur (8 étant une puissance de 2).
Notions de codification des caractères
Pour représenter un jeu de caractère en informatique, le principe de base consiste à affecter à chaque caractère un profil binaire unique. Le code ASCII (American Standard Code for Information Interchange), défini en 1960 était un code à 7 bits.
La table ci-dessous montre des extraits des caractères imprimables du code ASCII (les premières valeurs correspondent à des codes de contrôle, non imprimables).
|
|
|
Ces codes étant utilisés en télé-transmission, le huitième bit d'un octet était un code de parité.