Converting a word to ASCII decimal codes
Look up each character in the ASCII table and write its decimal number in order. Capitals and lowercase differ, so Hi is 72 105 (H is 72, i is 105).
Understanding Converting a word to ASCII decimal codes in ACARA Digital Technologies Years 7–8
What it does: L is 76, e is 101 and o is 111. Each letter is looked up once and the codes stay in word order. Capital M is 77 and lowercase m is 109, which shows that capitals and lowercase are kept separate. Write the codes in the same order as the letters. H is 72 and i is 105, so Hi is 72 105. Capital M is 77. Lowercase m is 109. Mia starts with a capital M, then i is 105 and a is 97. Work from left to right: L is 76, e is 101, o is 111. Reversing the list would spell a different word.
Common mistakes: Capital H is 72 in the ASCII table. 73 is capital I. The line should be H = 72. The string is missing its closing quote. It should be word = "Cat".
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 128–152) and word search (Modules 69–152).
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
ASCII decimal codeFill in the Blanks
Spot the Error
Student with a class code? Join your class →