In any computing system, data – of any type – is stored in the form of numbers. Moreover, they are represented in base 2. Consequently, to store characters in the computer, it is necessary to use a representation of characters by numbers. Such a representation is ASCII Code.
ASCII is a form of character representation in the computer used in all programming languages studied in high school, along with possibly other representations.
The standard ASCII code encodes characters using 7 bits, allowing the encoding of 27=128 characters. That's not too many! In fact, only the letters of the English alphabet, digits from 0 to 9, punctuation marks, and operators are encoded, as well as other symbols. Letters specific to other Latin alphabets (so-called diacritical letters, such as ă Ă î Î â Â ș Ș ț Ț ş Ş Ţ ţ – note that there are two kinds of Ș and two kinds of Ţ, but we will discuss this in another article), as well as letters from other alphabets: Cyrillic, Hebrew, Arabic, Chinese, etc., are completely missing. To store these letters, the Extended ASCII code or the UNICODE code can be used.
By ASCII code, each character represented in this code is associated with a number. These numbers (called ASCII codes) are in the range 0 .. 127. ASCII characters are divided into two categories:
In this section you can generate a summary of the page content using AI! Feel free to use the button below whenever you are in a hurry and don't have time to learn everything!
In this section you can ask our expert robot anything related to the questions you encountered during the lessons! Feel free to use the button below whenever you need additional explanations!