Encoding a word as 8-bit ASCII binary
Look up each letter's ASCII code and write it as an 8-bit binary group, then join the groups in order. Example: A = 65 = 01000001.
Understanding Encoding a word as 8-bit ASCII binary in IGCSE Computer Science Paper 1
What it does: The number of bits is the number of characters multiplied by 8. Each 8-bit group is converted to its denary ASCII code and then to a letter, giving the word HI. Every character gets its own group of 8 bits, so a word with 5 letters uses 5 groups. 65 = 64 + 1, so the bits are 01000001. 01000010 is 66, which is B. The groups must be joined in the same order as the letters. H comes first, so 01001000 comes first. 3 characters x 8 bits per character = 24 bits. Each 8-bit group is one character: 67 = C, 65 = A, 84 = T, so the message is CAT.
Common mistakes: Each character must be stored as a full 8-bit group. 0100010 has only 7 bits. B = 66 = 01000010. 01001000 is the binary for 72 (H), not 73. The ASCII code 73 for I is 01001001.
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 28–41) and word search (Modules 28–58).
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
8-bit ASCII encodingFill in the Blanks
Spot the Error
Student with a class code? Join your class →