ArticleslgStudy

computer science

ASCII

ASCII is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ASCII rather than just read about it. In short: ASCII ( ASS-kee), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English-language–focused) printable and 33 control characters – a total of 128 code points. The set of available punctuation had significant impact on the syntax of computer languages and text markup.

ASCII — main illustration
ASCII — illustration

Key takeaways

  • ASCII belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ASCII to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ASCII from memory before moving on to harder problems.

Reference excerpt

ASCII ( ASS-kee), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English-language–focused) printable and 33 control characters – a total of 128 code points. The set of available punctuation had significant impact on the syntax of computer languages and text markup. ASCII hugely influenced the design of character sets used by modern computers; for example, the first 128 code points of Unicode are the same as ASCII. ASCII encodes each code-point as a value from 0 to 127 – storable as a seven-bit integer. Ninety-five code-points are printable, including digits 0 to 9, lowercase letters a to z, uppercase letters A to Z, and commonly used punctuation symbols. For example, the letter i is represented as 105 (decimal). Also, ASCII specifies 33 non-printing control codes which originated with Teletype devices, most of which are now obsolete. The control characters that are still commonly used include carriage return, line feed, and tab. ASCII lacks code-points for characters with diacritical marks and therefore does not directly support terms or names such as résumé, jalapeño, or naïve. But, depending on hardware and software support, some diacritical marks can be rendered by overwriting a letter with a backtick (`) or tilde (~). The Internet Assigned Numbers Authority (IANA) prefers the name US-ASCII for this character encoding. ASCII is one of the IEEE milestones.

History ASCII is the standardisation of a seven-bit teleprinter code developed in part from earlier telegraph codes. Work on the ASCII standard began in May 1961, when IBM engineer Bob Bemer submitted a proposal to the X3.2 subcommittee of the American Standards Association (ASA), now known as the American National Standards Institute (ANSI). The first edition of the standard was published in 1963, contemporaneously with the introduction of the Teletype Model 33. It later underwent a major revision in 1967, and several further revisions until 1986. In contrast to earlier telegraph codes such as Baudot, ASCII was ordered for more convenient collation (especially alphabetical sorting of lists), and added controls for devices other than teleprinters.

ASCII was developed under the auspices of the X3 committee by its X3.2 (later X3L2) subcommittee and later by that subcommittee's X3.2.4 working group (now INCITS). With the other special characters and control codes filled in, ASCII was published as ASA X3.4-1963, leaving 28 code positions without any assigned meaning, reserved for future standardization, and one unassigned control code. There was some debate at the time whether there should be more control characters rather than the lowercase alphabet. The indecision did not last long: during May 1963 the CCITT Working Party on the New Telegraph Alphabet proposed to assign lowercase characters to sticks 6 and 7, and International Organization for Standardization TC 97 SC 2 voted during October to incorporate the change into its draft standard. The X3.2.4 task group voted its approval for the change to ASCII at its May 1963 meeting. Locating the lowercase letters in sticks 6 and 7 caused the characters to differ in bit pattern from the upper case by a single bit, which simplified case-insensitive character matching and the construction of keyboards and printers. The X3 committee made other changes. It added the brace and vertical bar characters. It renamed some control characters – SOM became SOH. It moved or removed others – RU was removed. ASCII was subsequently updated as USAS X3.4-1967, then USAS X3.4-1968, ANSI X3.4-1977, and finally, ANSI X3.4-1986. The use of ASCII format for Network Interchange was described in 1969. That document was formally elevated to an Internet Standard in 2015.

Revisions ASA X3.4-1963 ASA X3.4-1965 (approved, but not published, nevertheless used by IBM 2260 & 2265 Display Stations and IBM 2848 Display Control) USAS X3.4-1967 USAS X3.4-1968 ANSI X3.4-1977 ANSI X3.4-1986 ANSI X3.4-1986 (R1992) ANSI X3.4-1986 (R1997) ANSI INCITS 4-1986 (R2002) ANSI INCITS 4-1986 (R2007) INCITS 4-1986 (R2012) INCITS 4-1986 (R2017) INCITS 4-1986 (R2022) In the X3.15 standard, the X3 committee also addressed how ASCII should be transmitted (least significant bit first) and recorded on perforated tape. They proposed a 9-track standard for magnetic tape and attempted to deal with some punched card formats.

Design considerations

… excerpt ends here. Continue reading the full article.

Illustrations

ASCII illustration
ASCII: ASCII (1963). Control Pictures of equivalent controls are shown where they exist, or a grey dot otherwise.
ASCII (1963). Control Pictures of equivalent controls are shown where they exist, or a grey dot otherwise.
ASCII: Early symbols assigned to the 32 control characters, space and delete characters (ISO 2047, MIL-STD-188-100, 1972)
Early symbols assigned to the 32 control characters, space and delete characters (ISO 2047, MIL-STD-188-100, 1972)

Worked examples

Example 1 — a first encounter with ASCII

Start with the simplest possible case. Write down what ASCII claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ASCII before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ASCII ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ASCII

In research
ASCII appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ASCII in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ASCII is common in secondary-school and first-year university syllabi. It links to neighbouring topics ASCII, American National Standards Institute standards, Character encoding, so understanding it makes those chapters shorter.
In everyday life
Look for ASCII outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ASCII” →

How to study ASCII in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ASCII means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ASCII out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ASCII in simple terms?

ASCII ( ASS-kee), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English-language–focused) printable and 33 control characters – a total of 128 code points. The set of available punctuation had significant…

Why does ASCII matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ASCII?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ASCII.

Tags

  • ASCII
  • American National Standards Institute standards
  • Character encoding
  • Character sets
  • Computer-related introductions in 1963
  • Latin-script representations
  • Presentation layer protocols

Keep exploring