GCSE · Computer Science · Eduqas · Spec C500QS

Digital storage of characters

Every message you have ever sent was really 0s and 1s. So how does your friend’s phone know those bits mean “hello” and not something else?

​

Computer Science · Data

Follow a word into binary and back

  1. 1 Find
  2. 2 Explore
  3. 3 Spot the mismatch
  4. 4 Translate

Model. Illustrative: a tiny extract with only the seven characters these examples need, every code 8 bits long. A real character set lists many more characters.

Step 1 · Find

Tap anything in this list that belongs to the letter “a”.

→

→

→

Look each character up: its code, one line per character.

What counts as a character?

Which idea sounds like yours?

You send a text message that contains a capital letter, a space, a digit and an exclamation mark, and it is saved on a computer.

Which of these is closest to what you think happens?
How sure are you?

Encode it yourself

Find the slip in the encoding

A student encodes the word “Dog” using this extract: D = 01000100, G = 01000111, d = 01100100, g = 01100111, o = 01101111. One line of the working goes wrong. Which one?

A student’s answer — which line goes wrong?

Predict, then check

Same bits, different codebook. Decide first.

Computer 1 stores “Cat” as 01000011 01100001 01110100 and sends exactly those bits to Computer 2. Computer 2 reads them using a different character set, in which those three codes stand for F, D and W. What does Computer 2 show?

How many characters fit?

Bits per code

Every character in a set gets its own unique code, and every code is exactly 8 bits long. At most, how many different characters could the set hold?

Your estimate

152 characters

0 characters300 characters

Exam-style explain

Why must the set be agreed?

Explain why computers need to use the same agreed character set to exchange text. [3 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Computers store letters as binary codes, and a shared codebook turns them back into text.

What you need to know

  • A computer stores all data, text included, as binary: patterns of 0s and 1s.
  • A character is one letter, digit, punctuation mark, symbol or space. Upper-case and lower-case forms of a letter are different characters.
  • Have a goSam says the text “aA 1?” has three characters: a letter, a digit and a symbol. Is Sam right?

    No. It has five: a, A, the space, 1 and ?

    Upper-case A and lower-case a are different characters, and a space is a character too, so Sam has lost two of them.

  • Every character gets its own unique binary code, so no two characters in a set share one.
  • A character set is the agreed list of characters a computer can represent, each with its unique code.
  • Text is stored as the codes of its characters, one after another, in the same order as the characters.
  • Have a goA tiny set gives P = 01, Q = 10 and R = 11. What is stored for the text “RPQ”?

    11 01 10

    Stored text is the characters’ codes in the same order as the characters: R’s code first, then P’s, then Q’s.

  • To display stored text, the computer looks each code up in the character set to find the character.
  • When two computers use the same character set, a code means the same character on both, so shared text reads correctly.
  • Read text with a different set from the one that stored it, and the codes may come out as the wrong characters.
  • More bits per code means more possible codes. Each extra bit doubles the number, so n bits give 2ⁿ codes.
  • Have a goA set gives every character a 3-bit code. Could it hold 10 different characters?

    No. 3 bits give 2³ = 8 codes.

    Each character needs its own unique code, and 3 bits make only 8 different codes, so the set can hold at most 8 characters.

The big picture

Text is stored as binary. Every character, including capitals, digits, punctuation and spaces, has its own unique code in an agreed character set. A piece of text is stored as those codes in order, and read by looking each code up in the set. Both sides must use the same set, and the number of bits per code limits how many characters a set can hold.

Key points

1Text is stored as the binary codes of its characters, one after another, in the same order.
2A character set is the agreed list pairing every character with its own unique code.
3Same set means same meaning; a different set may turn the codes into the wrong characters.
4More bits per code allows more different characters: n bits give 2ⁿ codes.

Worked example

Problem

Store the message “Hi 5!” using this extract, then read the stored bits back to check. H = 01001000, i = 01101001, space = 00100000, 5 = 00110101, ! = 00100001.

⚠ Watch out

Treating a capital, a space or a digit as “not really a character”, or as sharing a code with something else. Every character has its own unique code, so a capital A, a lower-case a and a space are three different characters.

🧠

Memory hook

Bits mean nothing until the codebook says so: same codebook, same text.

✓

Check yourself

Close the lesson and explain in your own words how the word “Dog” turns into bits and back into “Dog” on a screen, and what could go wrong in between.

Flashcards

(11)
How does a computer store all data, including text?
As binary: patterns of 0s and 1s.
What counts as a character?
A single letter, digit, punctuation mark, symbol or space.
Are “A” and “a” the same character?
No. Upper-case and lower-case forms of a letter are different characters, each with its own code.
What is special about the code given to each character?
It is unique: no two characters in the same set share a code.
What is a character set?
The agreed list of the characters a computer can represent, with the unique binary code for each.
How is a piece of text stored?
As the sequence of its characters’ binary codes, in the same order as the characters.
How does a computer turn stored codes back into text?
It looks up each binary code in the character set to find the character it stands for.
Why must computers use the same character set to exchange text?
So the same code means the same character on each, and text can be stored, sent and read correctly.
What may happen if text is read with a different character set from the one used to store it?
The binary codes may be interpreted as the wrong characters.
What limits how many different characters a set can hold?
The number of bits in each code: more bits per code allows more distinct characters.
How many different codes can n bits make?
2ⁿ. Each extra bit doubles the number of codes.

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 posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)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 16 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.