Representing text with number codes
A number the computer uses to stand for one letter or symbol. It stores the number, then turns it back into the character on screen. In one A=1 code, A is 1 and B is 2.
Understanding Representing text with number codes in Years 5–6 Data & Information
What it does: The computer keeps the number 3 for C. When it shows the text, it turns 3 back into the letter C. Using A=1, the numbers 3, 1 and 20 stand for C, A and T. Someone who does not know the code sees only numbers. A=1, B=2, C=3. You count along the alphabet to find the number. H is the 8th letter and I is the 9th, so 8 9 spells HI. The order of the numbers matches the order of the letters. Letters, digits and symbols such as ! and ? all have number codes, so a computer can store and show them.
Common mistakes: In an A=1 code, C is the third letter, so C = 3, not 4. In an A=1 code, A is the first letter, so A becomes 1. The number 2 is the code for B.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 1–10) and word search (Modules 1–20).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
character codeFill in the Blanks
Spot the Error
Student with a class code? Join your class →