ASCII: The Foundation (1963)

Test yourself on Character Sets with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Character SetsGet your flashcardsBuild my revision planTrack my progress

ASCII: The Foundation (1963)

ASCII = American Standard Code for Information Interchange

Key Facts:

  • 7 bits: 2⁷ = 128 possible characters (0-127)
  • Coverage: English alphabet, numbers, punctuation, control codes
  • Designed for: English language, teletype machines, early computers
  • File size: 1 byte per character (8 bits, with 1 bit spare)

ASCII Character Ranges:

  0-31:    Control characters (e.g., newline, tab, delete)
  32:      Space
  33-47:   Punctuation (! " # $ % & ' ( ) * + , - . /)
  48-57:   Digits (0-9)
  58-64:   More punctuation (: ; < = > ? @)
  65-90:   Uppercase letters (A-Z)
  91-96:   Brackets and symbols ([ \ ] ^ _ `)
  97-122:  Lowercase letters (a-z)
  123-127: More symbols ({ | } ~ DEL)
  

Common ASCII Codes (Memorize These!):

Character ASCII Code Binary Hex
0 (digit)480011000030
9 (digit)570011100139
A (uppercase)650100000141
Z (uppercase)90010110105A
a (lowercase)970110000161
z (lowercase)122011110107A
Space320010000020

Clever ASCII Patterns:

  • 'A' = 65, 'B' = 66, 'C' = 67... Sequential codes make alphabetical sorting easy
  • Uppercase → Lowercase: Add 32 ('A' (65) + 32 = 'a' (97))
  • Digit characters: '0'=48, '1'=49... To get numeric value, subtract 48

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.