Representing images with pixels
A pixel is one tiny square in a grid that makes up a digital image. Each pixel is stored as a number, such as 0 for white or 1 for black.
Understanding Representing images with pixels in Years 5–6 Data & Information
What it does: In a simple black and white image each pixel is saved as a number, and 1 means black. Resolution is the number of pixels across and down. A bigger grid like 1920 x 1080 has many more pixels than a small one, so the picture is sharper. 0 is white and 1 is black, so white, black, white, black is 0 1 0 1. A pixel grid is counted by multiplying rows by columns, so 8 x 8 gives 64 tiny squares.
Common mistakes: In black and white images, white pixels are stored as 0, not 1. It should be white = 0. Black is the pixel stored as 1. The list of pixel numbers is missing its closing square bracket. It should be image = [0, 1, 1, 0].
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 11–20) 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
pixelFill in the Blanks
Spot the Error
Student with a class code? Join your class →