A black-and-white picture from 0s and 1s in a spreadsheet
A rule for a grid of cells: type 0s and 1s, then fill each 1 black and each 0 white so the code shows as a picture. Change one digit to change one pixel.
Understanding A black-and-white picture from 0s and 1s in a spreadsheet in ACARA Digital Technologies Years 5–6
What it does: Typing one digit per cell gives a row of 0s and 1s. The rules then colour the 1s black and the 0s white, giving white, black, black, black, white. Each digit controls one pixel, so editing a single digit changes just that one cell of the picture. In our black-and-white code, 1 is filled black and 0 is filled white. Keep the rule the same so the picture makes sense. The rule fills 0 with white, so the cell looks empty. Black is 1 and white is 0, so black, white, white, black is 1 0 0 1.
Common mistakes: In this code 1 means black. The rule should be 'Rule: if 1, fill black'. White is used for 0. A 0 must be filled white. If 0s were black too, the whole grid would be black and the picture would disappear. It should be 'Rule: if 0, fill white'.
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 73–84) and word search (Modules 73–104).
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
1 = black, 0 = whiteFill in the Blanks
Spot the Error
Student with a class code? Join your class →