ASCII
From Compsci.ca Wiki
(Difference between revisions)
Revision as of 17:52, 14 June 2006
ASCII (American Standard Code for Information Interchange) is a 7-bit character coding that is standard among almost the entire field of modern techknowledgy. The ASCII code contains 32 "non-printable" command characters and 96 printable characters for a total of 128 characters with binary values ranging from 00000000 to 01111111. The ASCII standard was first defined in 1967 and last updated in 1986 though since then there have been many ASCII extensions since then often to encorporate character from other languages.
Dec | Bin | Char | Dec | Bin | Char | Dec | Bin | Char | Dec | Bin | Char |
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 00000000 | ␁ | 32 | 00100000 | 64 | 01000000 | @ | 96 | 01100000 | ` | |
1 | 00000001 | ␁ | 33 | 00100001 | ! | 65 | 01000001 | A | 97 | 01100001 | a |
2 | 00000010 | ␁ | 34 | 00100010 | " | 66 | 01000010 | B | 98 | 01100010 | b |
3 | 00000011 | ␁ | 35 | 00100011 | # | 67 | 01000011 | C | 99 | 01100011 | c |
4 | 00000100 | ␁ | 36 | 00100100 | $ | 68 | 01000100 | D | 100 | 01100100 | d |
5 | 00000101 | ␁ | 37 | 00100101 | % | 69 | 01000101 | E | 101 | 01100101 | e |
6 | 00000110 | ␁ | 38 | 00100110 | & | 70 | 01000110 | F | 102 | 01100110 | f |
7 | 00000111 | ␁ | 39 | 00100111 | ' | 71 | 01000111 | G | 103 | 01100111 | g |
8 | 00001000 | ␁ | 40 | 00101000 | ( | 72 | 01001000 | H | 104 | 01101000 | h |
9 | 00001001 | ␁ | 41 | 00101001 | ) | 73 | 01001001 | I | 105 | 01101001 | i |
10 | 00001010 | ␁ | 42 | 00101010 | * | 74 | 01001010 | J | 106 | 01101010 | j |
11 | 00001011 | ␁ | 43 | 00101011 | + | 75 | 01001011 | K | 107 | 01101011 | k |
12 | 00001100 | ␁ | 44 | 00101100 | , | 76 | 01001100 | L | 108 | 01101100 | l |
13 | 00001101 | ␁ | 45 | 00101101 | - | 77 | 01001101 | M | 109 | 01101101 | m |
14 | 00001110 | ␁ | 46 | 00101110 | . | 78 | 01001110 | N | 110 | 01101110 | n |
15 | 00001111 | ␁ | 47 | 00101111 | / | 79 | 01001111 | O | 111 | 01101111 | o |
16 | 00010000 | ␁ | 48 | 00110000 | 0 | 80 | 01010000 | P | 112 | 01110000 | p |
17 | 00010001 | ␁ | 49 | 00110001 | 1 | 81 | 01010001 | Q | 113 | 01110001 | q |
18 | 00010010 | ␁ | 50 | 00110010 | 2 | 82 | 01010010 | R | 114 | 01110010 | r |
19 | 00010011 | ␁ | 51 | 00110011 | 3 | 83 | 01010011 | S | 115 | 01110011 | s |
20 | 00010100 | ␁ | 52 | 00110100 | 4 | 84 | 01010100 | T | 116 | 01110100 | t |
21 | 00010101 | ␁ | 53 | 00110101 | 5 | 85 | 01010101 | U | 117 | 01110101 | u |
22 | 00010110 | ␁ | 54 | 00110110 | 6 | 86 | 01010110 | V | 118 | 01110110 | v |
23 | 00010111 | ␁ | 55 | 00110111 | 7 | 87 | 01010111 | W | 119 | 01110111 | w |
24 | 00011000 | ␁ | 56 | 00111000 | 8 | 88 | 01011000 | X | 120 | 01111000 | x |
25 | 00011001 | ␁ | 57 | 00111001 | 9 | 89 | 01011001 | Y | 121 | 01111001 | y |
26 | 00011010 | ␁ | 58 | 00111010 | : | 90 | 01011010 | Z | 122 | 01111010 | z |
27 | 00011011 | ␁ | 59 | 00111011 | ; | 91 | 01011011 | [ | 123 | 01111011 | { |
28 | 00011100 | ␁ | 60 | 00111100 | < | 92 | 01011100 | \ | 124 | 01111100 | |
29 | 00011101 | ␁ | 61 | 00111101 | = | 93 | 01011101 | ] | 125 | 01111101 | } |
30 | 00011110 | ␁ | 62 | 00111110 | > | 94 | 01011110 | ^ | 126 | 01111110 | ~ |
31 | 00011111 | ␁ | 63 | 00111111 | ? | 95 | 01011111 | _ | 127 | 01111111 |