ASCII Code: What is it, what is it used for, and what is its importance in computing and the Internet?

Last update: 10/08/2022
ASCII Code: What is it, what is it used for, and what is its importance in computing and the Internet?

Imagine that when you had to write a message on your mobile phone or a text for a job on your computer, you had to write a large number of zeros (0) and ones (1); which is known as binary numbers, instead of doing it with letters and words.

Well, in case you didn't know, binary numbers are the only way your computer can process all the information it receives from the outside. All the orders and commands that we send you arrive at the processing center in the form of binaries.

But how does this information conversion happen? We'll be revealing all of that in this short installment we've prepared for you about... code «Aski», as this code is usually pronounced in our Spanish language.

What is ASCII code and what is it used for in computing?

Computers have a somewhat complex way of understanding and processing information, Basically, it receives the data in the form of characters and converts them into binary numbers, that is, into a cluster of ones and zeros.

The smallest units of information in these The characters are stored in 8 bits. These are generally a sequence of 8 binary digits, which can also be called octal numbers or octets.

Binary Numbers

The American Standard Code for Information Interchange, better known as ASCII, It is a character encoding that is based on the Roman or Latin alphabet. This serves to dictate the parameters that allow characters to be represented in bits, in the case of ASCII code, 7 bits.

In short, we can say that ASCII code It is an information translator between the user and the machine.

It allows for accelerating and optimizing the processing and storage of information on a computer while enhancing its communication with the outside world. It allows a total of 128 characters to be represented in its regular version, ranging from the numbers 0 to 127, with base 10.

These units are divided into two groups, which are the control of code and printables These include all the letters of the alphabet plus the symbols used on our keyboard. The extended version of the ASCII code provides twice as many, reaching up to 255 characters in decimal.

This version can include graphemes from older languages ​​such as Greek or Hebrew as needed, and in these tables the information is stored in 8 bits.

History and origin: Why was ASCII created?

As sad and regrettable as it may be, human beings have only made the most of our potential and increased our technology more during periods of war and crisis.

Approximately by the year 1945 during the development of the second world war, It was necessary to transmit messages in Morse code securely. This process was greatly expedited because the "dot and dash" of this could also easily be equivalent to the 1 and 0 of binary numbers, and for this they used the telegraphs of the time.

Telegraph

This first phase of what we know today as ASCII was developed by the Bell telecommunications company, which is now AT&T.

But it wasn't until 1963, thanks to the acceptance of the “American Standards Agency”, It was possible to reformulate many of the units that were already used in the old telegraphs, and also add many more in order to consolidate the ASCII code.

Despite the addition of new units, including new punctuation marks, accents, and lowercase letters, it still wasn't enough. That's why Years later IBM released the first extended version of the code, which reached 255 characters.

Data types in Arduino programming: What are they and which are the most important?

ASCII Control Characters: What are they and what are they used for?

In the ASCII code there are 33 codes that are not part of the known characters, These are the first ones, from the 0-31 and 127. They are designed as control units, facilitating the issuance of commands and control of both the computer and other external devices. It's worth noting that they could previously control printers and other equipment.

However, over time they have become obsolete, even so, They can be activated using the ALT key + the decimal number, but only from the numeric keypad.

For example, one of the most common symbols activated with this code is the @ symbol, which can be enabled using the keys ALT+ 64 of the numeric side keypad.

Binary Decimal Abbreviation Name/Meaning
0000 0000 0 NUL Null Character
0000 0001 1 SOH Header Start
0000 0010 2 STX Beginning of Text
0000 0011 3 ETX End of Text
0000 0100 4 EOT End of Transmission
0000 0101 5 ENQ Query
0000 0110 6 ACK Acknowledgment of receipt
0000 0111 7 BEL Stamps
0000 1000 8 BS Recoil
0000 1001 9 HT Horizontal tabulation
0000 1010 10 LF line break
0000 1011 11 VT Vertical Tabulation
0000 1100 12 FF Page Break
0000 1101 13 CR Car return
0000 1110 14 SO Turn off caps lock
0000 1111 15 SI Turn on caps lock
0001 0000 16 DLE Escape data link
0001 0001 17 DC1 Device control 1
0001 0010 18 DC2 Device control 2
0001 0011 19 DC3 Device control 3
0001 0100 20 DC4 Device control 4
0001 0101 21 NAK Negative acknowledgment
0001 0110 22 SYN Synchronization on hold
0001 0111 23 ETB End of transmission block
0001 1000 24 CAN Cancel
0001 1001 25 EM End of middle
0001 1010 26 SUB Substitution
0001 1011 27 ESC Escape
0001 1100 28 FS File separator
0001 1101 29 GS Group separator
0001 1110 30 RS Register separator
0001 1111 31 US Unit separator
0111 1111 127 TIME Suppress

Printable ASCII characters: What are they and what are they used for?

In the printable symbols table We can include all those digits and letters used in writing, Leaving aside all punctuation marks for the moment.

Similarly, these can be activated by pressing the ALT keys + the exact decimal number combination. These range from 48-57 for the numbers 0 to 9, and from 65-90 for the uppercase alphabet, and from 97-122 for the lowercase alphabet.

Numbers
Binary Decimal Character represented
0011 0000 48 0
0011 0001 49 1
0011 0010 50 2
0011 0011 51 3
0011 0100 52 4
0011 0101 53 5
0011 0110 54 6
0011 0111 55 7
0011 1000 56 8
0011 1001 57 9
Capital letters
Binary Decimal Character represented
0100 0001 65 A
0100 0010 66 B
0100 0011 67 C
0100 0100 68 D
0100 0101 69 E
0100 0110 70 F
0100 0111 71 G
0100 1000 72 H
0100 1001 73 I
0100 1010 74 J
0100 1011 75 K
0100 1100 76 L
0100 1101 77 M
0100 1110 78 N
0100 1111 79 O
0101 0000 80 P
0101 0001 81 Q
0101 0010 82 R
0101 0011 83 S
0101 0100 84 T
0101 0101 85 U
0101 0110 86 V
0101 0111 87 W
0101 1000 88 X
0101 1001 89 Y
0101 1010 90 Z
Small letters
Binary Decimal Character represented
0110 0001 97 a
0110 0010 98 b
0110 0011 99 c
0110 0100 100 d
0110 0101 101 e
0110 0110 102 f
0110 0111 103 g
0110 1000 104 h
0110 1001 105 i
0110 1010 106 j
0110 1011 107 k
0110 1100 108 l
0110 1101 109 m
0110 1110 110 n
0110 1111 111 o
0111 0000 112 p
0111 0001 113 q
0111 0010 114 r
0111 0011 115 s
0111 0100 116 t
0111 0101 117 u
0111 0110 118 v
0111 0111 119 w
0111 1000 120 x
0111 1001 121 y
0111 1010 122 z

Finally, We have a single printable character that is found alone, it is the "Space" number 32, This character is activated with the space bar. It is considered an invisible character among the printable characters because, although it cannot be seen, it is always present in our texts.

How to configure your computer's BIOS to boot from a USB drive? Step-by-step guide
Binary Decimal Character represented
0010 0000 32 space ( )

List of ASCII special characters: What are they and what are they used for?

Special symbols include all symbols, punctuation marks, and mathematical operations, which are also part of the printable characters, but are separated in this way.

The groups range from the decimal number 33-47, joined by 58-64, followed by 91-96, and finally from 123-126:

Special characters
Binary Decimal Character represented
0010 0001 33 !
0010 0010 34 «
0010 0011 35 #
0010 0100 36 $
0010 0101 37 %
0010 0110 38 &
0010 0111 39 '
0010 1000 40 (
0010 1001 41 )
0010 1010 42 *
0010 1011 43 +
0010 1100 44 ,
0010 1101 45
0010 1110 46 .
0010 1111 47 /
0011 1010 58 :
0011 1011 59 ;
0011 1100 60 <
0011 1101 61 =
0011 1110 62 >
0011 1111 63 ?
0100 0000 64 @
0101 1011 91 [
0101 1100 92 \
0101 1101 93 ]
0101 1110 94 ^
0101 1111 95 _
0110 0000 96 `
0111 1011 123 {
0111 1100 124 |
0111 1101 125 }
0111 1110 126 ~

ASCII vs Unicode: What are the main differences between them?

Unicode can be described as an improved version of ASCII, since Unicode includes the same characters as ASCII without modifying any of them. but it can handle a greater quantity of these.

Its main objective is to be compatible with all devices, But let's see what the basic differences are that distinguish these 2 codes:

  • The main difference is that Unicode binary sequences are much longer and heavier than ASCII sequences, reaching up to 32 bits while ASCII only reaches up to 7 bits.
  • Another difference between these codes is the number of characters, with ASCII having only 128 characters while Unicode reaches up to 221 characters in its standard version.
  • Unicode is designed to support multiple languages ​​simultaneously, unlike ASCII code.

ASCII Art: What is this type of art created with this code?

This is an unconventional discipline that can be called a “Digital pointillism”.

ASCII art

Basically, the artist uses all the printable characters provided by the code, and in a simple text editor puts his imagination to work until he achieves truly admirable works.

This type of art has been widely used in older consoles that did not have the graphic processing capabilities of today. It was also present in the designs of early video games, and in some cases was useful for the graphic representation of diagrams.

ASCII Art 2

While the concept may sound quite basic, ASCII art is one of the most versatile styles, capable of being combined with others to create pieces in landscapes, realism, cubism, and much more. This versatility has even led to its use as a filter in numerous multimedia editing applications and software.

Furthermore, it had a strong influence on internet culture. You probably haven't realized it, but deep down you're an ASCII artist.We've all sent those combinations of a semicolon followed by a closing parenthesis in text messages to wink at a contact ( 😉 These expressions are part of this art, and were the first "emoticons" in history.

Its influence is so great that both WhatsApp and Telegram or Facebook Messenger It allows you to add an emoticon by entering its ASCII version.However, it is also one of the most underrated art forms.

Ebooks of IPAP
Ebooks IPAP

🔥JOIN🔥 THE NEW IP@P COMMUNITY! SIGN UP HERE!

Themes

Author: Félix Albornoz

I have over 20 years of experience working in the technology sector, helping companies and users develop and train in this field. I'm always learning new things.

Related