GRADE 7 · COMPUTING · UNIT 5 · LESSON 5.6
Living with AI: Digital data
Representing data: Images
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Representing data: Images
A bitmap stores a grid of pixel values. A colour key explains each code. With one bit there are two possible codes; with two bits there are four. Pixel dimensions and pixel density describe different properties.
- Explain how an image can be represented by a grid of pixels encoded with binary values.
- Decode and create a small bitmap using a consistent colour key and at most two bits per pixel.

Explore the clues
Tap one card to find out more.
Understand the idea
A bitmap stores a grid of pixel values. A colour key explains each code. With one bit there are two possible codes; with two bits there are four. Pixel dimensions and pixel density describe different properties.
Concept to practise: Representing data: Images.
Work through an example
A 6 × 4 image at one bit per pixel has 24 bits of raw pixel data. At two bits per pixel the same dimensions need 48 bits. This calculation excludes headers, palettes and any effect of compression.
Try before your workbook
A 10 × 10 image uses two bits per pixel. How many raw pixel bits are needed, and do those bits prove the final file size?
Check my readiness thinking
The pixel payload is 10 × 10 × 2 = 200 bits, or 25 bytes. An actual file may include other data and use compression. Decode the grid in row order using its stated key; do not treat density as the total number of pixels.
Your original programs and learning models
These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.
Represent an image as digital values
A bitmap represents an image as a grid of pixels. Each pixel has an encoded value. A bit is one binary digit, 0 or 1. A colour key tells us what a stored code means.
Read a one-bit bitmap
Code key: 0 = white, 1 = dark blue. Read top to bottom, left to right.
| Row / column | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 1 | 1 | 0 | 0 |
| 2 | 0 | 1 | 1 | 1 | 1 | 0 |
| 3 | 1 | 1 | 0 | 0 | 1 | 1 |
| 4 | 1 | 0 | 0 | 0 | 0 | 1 |
Decode two bits per pixel
Code key: 00 = white, 01 = blue, 10 = green, 11 = yellow. Read top to bottom, left to right.
| Row / column | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| 1 | 00 | 00 | 01 | 00 | 00 | 00 |
| 2 | 00 | 01 | 11 | 01 | 00 | 00 |
| 3 | 01 | 11 | 11 | 11 | 01 | 00 |
| 4 | 00 | 01 | 10 | 01 | 00 | 00 |
| 5 | 00 | 00 | 10 | 00 | 00 | 00 |
| 6 | 00 | 00 | 10 | 10 | 00 | 00 |
Calculate raw pixel storage
raw pixel bits = width × height × bits per pixel.
This counts pixel data only. Real files can also include headers, palettes and other data, and compression can change the stored file size.
Separate pixel dimensions from print density
| Setting | What it describes |
|---|---|
| Pixel dimensions | Width and height counted in pixels. |
| Colour depth | Bits used to encode each pixel in this model. |
| Pixel density, PPI | Pixels per linear inch at a stated physical size. |
Practice files for this lesson
Save a copy of these original PaxaKids learner files before editing in suitable software. Some code and datasets deliberately need completion or repair. Downloading a file does not run it. Use invented data; record actual tests separately from predictions. Native software practice files are not print-optimised; use the student PDF for printing.

Try one step with Paxa!
Use supplied fictional records. Do not disclose personal details, upload private photos or bypass browser warnings to complete an activity. Save personal responses before leaving.
Our Unit 5 learning path
- Lesson 5.1: Applications and systems software
- Lesson 5.2: AI around us
- Lesson 5.3: AI in industry
- Lesson 5.4: Collecting the input
- Lesson 5.5: Designing your own AI system
- Lesson 5.6: Representing data: Images
- Lesson 5.7: Vector graphics
- Lesson 5.8: Representing data: Sound and text
- Lesson 5.9: Introduction to logic gates
- Lesson 5.10: Types of logic gate
- Lesson 5.11: Smart-city design and extended logic circuits
- Lesson 5.12: Final project: School AI learning-system design
- Lesson 5.13: Evaluation
- Lesson 5.14: What can you do?
For grown-ups: using this lesson
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.
2. Fill in your workbook
Read the teaching and the complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 7 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.0 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 7 worksheets
Worksheet 1
- Question 1: What is one bit? one binary digit, 0 or 1
- Question 2: What does a bitmap store? encoded values arranged in a pixel grid
Worksheet 2
- Question 3: How many pixels wide is this grid? 6
- Question 4: How many pixels high is this grid? 4
- Question 5: How many raw pixel bits at one bit per pixel? 24
Worksheet 3
- Question 6: What colour is row 2, column 3? yellow
- Question 7: How many different codes are possible with two bits? 4
Worksheet 4
- Question 8: 12 pixels wide × 8 high × 2 bits per pixel = how many raw bits? 192
- Question 9: 24 pixels wide × 8 high × 2 bits per pixel = how many raw bits? 384
- Question 10: 8 pixels wide × 6 high × 1 bit per pixel = how many raw bits? 48
- Question 11: What changes when width doubles but height and colour depth stay fixed? raw pixel bits double
Worksheet 5
- Question 12: Which measurement is pixel density? pixels per linear inch
- Question 13: PPI changes without resampling. What happens to pixel count? it stays the same
Worksheet 6
- Question 14: Explain to a partner how a printed analogue image can be captured and represented digitally. Then decode the original 6 × 6 pattern on page 3 using its colour key. Colour the blank grid in BitmapPractice_Paxa.docx, or draw a matching grid below. Keep row and column positions unchanged. Show the raw pixel-storage calculation at two bits per pixel. Analogue-to-digital explanation: scanner/camera senses light, samples positions and assigns quantised numeric colour values encoded in binary; bitmap is a pixel grid, not storing the physical paper. Exact six-row pattern decoded with page3 key, all36 cells in correct positions. Rows in colour initials: WWBWWW; WBYBWW; BYYYBW; WBGBWW; WWGWWW; WWGGWW. 6*6*2=72 raw pixel bits, excludes headers/palette/compression. Partner explanation actual or marked pending; no copied publisher flower or fabricated peer test. No numeric score. Grown-up review; personal evidence is required.
Worksheet 7
- Question 15: Use YourBitmap_Paxa.docx to design an original 8 × 8 image using one or two bits per pixel. Include an unambiguous colour key and the code in every cell. Exchange the encoded version with a partner to colour or decode. Record the actual result or mark it pending, correct any mismatch and calculate width × height × bits per pixel. Explain how changing pixel dimensions differs from changing PPI without resampling. Original64-cell image, one or two bits per pixel and consistent one-to-one key (up to2 or4 codes/colours). Every encoded cell decodes back to intended image; partner decode/mismatch/repair recorded honestly, pending if unavailable. 8*8*1=64 or8*8*2=128 raw bits, excludes metadata/palette/compression. Width/height are pixel dimensions; PPI pixels per linear inch relates count to physical size; changing PPI metadata alone without resampling does not change pixel count/raw bits. Actual diagrams/records retained; no invented peer result. No numeric score. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 165–168
- PaxaKids Grade 7 Computing Lesson 5.6: Representing data: Images — pages 1–7
Computing for your homeschool day
Explore Representing data: Images with this free Grade 7 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.
The book pages identify the related teaching topic. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.
Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.
