GCSE · Computer Science · OCR · Spec J277
ASCII
Type an A and the computer stores a pattern of 1s and 0s. ASCII is the agreed list of which pattern means which character.
Computer Science · ASCII
Flip the bits, change the letter
Each box is one bit. The number below is the code your seven bits make. Switch bits on and off, then look the code up in the key.
Predict, then check
ASCII gives every character a sequence of seven bits. Commit to a number before you look.
How many different sequences can seven bits make?
Why a standard?
Reason it through
Why does it matter that every ASCII character has a standardised sequence?
First link · your turn
ASCII is a character set. What does each character get in it?
OCR GCSE Computer Science (J277), section 1.2.4: character sets, including ASCII.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How a computer gives every character its own seven-bit code, and why that code runs out at 128.
What you need to know
- A character set matches each character to its own unique binary sequence and keeps a record of which is which.
- ASCII is a character set that uses a seven-bit binary sequence for each character.
- Seven bits give 2 to the power of 7 = 128 different states, so ASCII has 128 possible characters.
- A sequence of n bits has 2 to the power of n states, and each extra bit doubles the number of states.
Have a goYour friend says four bits make 8 states, because 4 x 2 = 8. Can you put them right?
Four bits make 2 to the power of 4 = 16 states.
Each extra bit doubles the states: 2, 4, 8, 16 for one to four bits. Multiplying the number of bits by 2 is not the rule.
- ASCII stands for American Standard Code for Information Interchange. Its first edition was created in 1963.
- Every character has one standardised sequence, so all devices using ASCII know which character each sequence means.
- Letters and their sequences go up in order, and a capital and its lower-case partner differ by only one bit.
Have a goJo is very sure: 'Capital B and lower-case b are the same letter, so ASCII gives them the same sequence.' Is she right?
No. They are different characters, so they have different sequences.
Every character has its own unique sequence. A capital and its lower-case partner differ by only one bit, but they do differ.
- ASCII covers basic English letters, numbers and symbols. It cannot represent characters from languages not based on the same alphabet, such as Urdu or Mandarin Chinese, or many other symbols.
Have a goAli wants to send his gran a message in Mandarin Chinese using only ASCII. What goes wrong?
ASCII cannot represent Mandarin Chinese characters.
ASCII is built for basic English letters, numbers and symbols, so characters from languages not based on the same alphabet are out of reach.
- Unicode was created because of that limit. Its first 128 characters are ASCII's, so a system using Unicode still displays ASCII characters correctly.
The big picture
A character set matches each character to a unique binary sequence. ASCII uses seven bits per character, and seven bits have 2 to the power of 7 = 128 states, so ASCII has 128 possible characters. Its sequences are standardised, so every device using it agrees which character is which. Letters go up in order and a capital and its lower-case partner differ by one bit. ASCII covers basic English letters, numbers and symbols only, which is why Unicode was created.
Key points
Worked example
Problem
A games designer is inventing a toy character set with 40 characters. Each one needs its own unique binary sequence, and every sequence must be the same length. What is the fewest bits each sequence can have?
⚠ Watch out
Thinking ASCII can represent any character. With seven bits it has only 128, covering basic English letters, numbers and symbols, which is why Unicode was created.
Memory hook
Capital to small is one flip: change a single bit and A becomes a.
Check yourself
Without scrolling up: how many characters can seven bits give a unique sequence to, and why can ASCII not store a Mandarin Chinese character?
Flashcards
(12)What is a character set?
How many bits does ASCII use for each character?
Why does ASCII provide 128 possible characters?
How many states does a sequence of n bits have?
What does ASCII stand for?
When was the first edition of the ASCII standard created?
Why does it matter that each ASCII sequence is standardised?
How do the ASCII sequences of a capital letter and its lower-case partner compare?
In which order do the letters' sequences run in ASCII?
Which characters can ASCII not represent?
Why was Unicode created?
How do the first 128 characters of Unicode compare with ASCII?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
- Binary representation of characters
- Binary shifts
- Binary to hexadecimal conversion
- Bitmap images: pixels and binary
- Cache (primary storage context)
- Character set
- Colour depth and resolution
- Data capacity calculations
- Denary to binary conversion (8-bit)
- Denary to hexadecimal conversion
- Image metadata
- Larger units: KB, MB, GB, TB, PB
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.