Decoding 0s and 1s into an image
To turn a code back into a picture: fill the grid row by row, colouring a square for each 1 and leaving it white for each 0. Then check the picture makes sense.
Understanding Decoding 0s and 1s into an image in ACARA Digital Technologies Years 5–6
What it does: Each line of the code is one row of the grid, so you fill the first row, then the second, working down. This is the rule that turns every digit of the code into a square you colour or leave blank. A 0 means the square stays white. Don't colour it. After you decode, check that the picture makes sense. A jumble can mean a digit was missed or the rows were filled in the wrong order. The same digits can make different pictures on different grid sizes. Share the width and height along with the code. Turning a picture into a code is encoding. Decoding goes the other way, from the code back to the picture.
Common mistakes: A 0 means the square stays white. Only a 1 is coloured in, so the line should be: if digit is 0, leave it white. Each row is read from left to right, so after each digit you move right along the row. You only move down when the row is finished.
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 44–57) and word search (Modules 44–71).
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
decodeFill in the Blanks
Spot the Error
Student with a class code? Join your class →