GRADE 7 · COMPUTING · UNIT 5 · LESSON 5.7

Living with AI: Digital data

Vector graphics

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

6 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Vector graphics

A vector graphic describes objects or paths using positions, dimensions and properties such as fill and outline. A bitmap describes a pixel grid. Choose a representation for its purpose rather than assuming one always makes a smaller file.

Today’s two goals
  • Describe a simple vector image using shapes, positions, sizes and colours.
  • Write a sequence of drawing instructions that a partner can follow.
Original PaxaKids illustration for Vector graphics. Precise program text and data are supplied in the workbook models.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Explore the clues

Tap one card to find out more.

Understand the idea

A vector graphic describes objects or paths using positions, dimensions and properties such as fill and outline. A bitmap describes a pixel grid. Choose a representation for its purpose rather than assuming one always makes a smaller file.

Concept to practise: Vector graphics.

Work through an example

A house plan can describe a rectangle and a roof using coordinates and sizes. Changing the rectangle's width changes one object's description. A detailed photograph is normally raster data; tracing it into vectors is a separate process.

Try before your workbook

What must you tell a partner so that 'draw a rectangle at 2,3' produces an unambiguous result?

Check my readiness thinking

State the origin, axis directions, units, which corner or reference point uses (2,3), the width and height, and relevant fill or outline. Compare the partner's result with the intended geometry and refine unclear instructions.

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.

Describe objects rather than every pixel

A vector graphic describes shapes or paths using positions, sizes and properties such as fill and outline. Moving one object can change a part of the picture without describing every background pixel again.

A bitmap stores a pixel grid. A photograph is usually raster data; turning it into vector objects requires a separate tracing or conversion step and may change the detail.

Use a coordinate system to remove ambiguity

This original target drawing uses a bottom-left origin. Positions are given as (x, y). The grid and labelled axes make size and placement clear.
Use a coordinate system to remove ambiguity — original vector house model. Refer to the adjacent explanation and original student workbook for labels.
Use a coordinate system to remove ambiguity · original PaxaKids workbook model.

Complete a drawing algorithm

Complete a drawing algorithm — original model
StepInstruction using the page 2 coordinates
1Start with a white background; use the stated axes.
2Draw a pale-yellow rectangle: lower-left (2, 1), width 6, height 5; blue outline.
3Draw a pink triangle through (2, 6), (5, 9), (8, 6); blue outline.
4Draw a blue door rectangle: lower-left (4, 1), width 2, height 3.
5Draw a white window: lower-left (3, 4), width 1, height 1; blue outline.

Choose a representation for the purpose

The useful detail depends on the task. A model inspecting photographs needs suitable image data; a system working with a geometric plan may use shape or path information. A conversion may be needed before processing.
Choose a representation for the purpose — original model
PurposeRepresentation to consider
Scalable simple iconVector shapes can preserve clean edges when scaled.
Detailed camera photographBitmap pixels preserve captured colour and texture.
File-size comparisonMeasure actual files; content, format and compression matter.

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.

Paxa the Fox

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
  1. Lesson 5.1: Applications and systems software
  2. Lesson 5.2: AI around us
  3. Lesson 5.3: AI in industry
  4. Lesson 5.4: Collecting the input
  5. Lesson 5.5: Designing your own AI system
  6. Lesson 5.6: Representing data: Images
  7. Lesson 5.7: Vector graphics
  8. Lesson 5.8: Representing data: Sound and text
  9. Lesson 5.9: Introduction to logic gates
  10. Lesson 5.10: Types of logic gate
  11. Lesson 5.11: Smart-city design and extended logic circuits
  12. Lesson 5.12: Final project: School AI learning-system design
  13. Lesson 5.13: Evaluation
  14. 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.

Vector graphics6 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

TAKE YOUR PRACTICE OFFLINE

3. Download the student worksheet

All 6 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.4 MiB · No answer key included

Download worksheet PDF ↓

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 6 worksheets

Worksheet 1

  1. Question 1: Which description is vector-style? draw a blue rectangle at a stated position and size
  2. Question 2: What must happen to turn a photograph into vector shapes? a separate tracing or vectorisation process

Worksheet 2

  1. Question 3: What is the x-coordinate of the roof peak? 5
  2. Question 4: What is the y-coordinate of the roof peak? 9

Worksheet 3

  1. Question 5: Which final command adds the right window shown on page 2? white rectangle lower-left (6, 4), width 1, height 1; blue outline
  2. Question 6: Why draw the door after the building body? so the door is visible above that filled shape

Worksheet 4

  1. Question 7: Which claim is careful? a complex vector file is not guaranteed smaller than every bitmap
  2. Question 8: Which information supports choosing image data for an AI task? the task, needed detail and model input requirements

Worksheet 5

  1. Question 9: Draw a simple original picture on squared paper or in the space below. Write vector-style instructions in VectorExchange_Paxa.txt so a partner can recreate it without seeing your picture. Specify the origin and directions, shapes, positions, sizes, line lengths, colours and drawing order. Exchange instructions and retain both drawings. Mark the exchange pending if necessary. Original simple picture and reproducible ordered instructions. Coordinate origin/directions/units clear; each shape or line has adequate position/size/endpoints, fill/outline where relevant, and layering order. Partner attempts reconstruction from instructions, with original and recreated drawing retained or honestly pending. Equivalent verbal/geometric descriptions accepted if unambiguous; no required specialised drawing app. No copied publisher house algorithm, no invented peer interaction or numeric score. Grown-up review; personal evidence is required.

Worksheet 6

  1. Question 10: Compare your picture and the partner’s reconstruction. Identify a match and any difference, then improve an ambiguous instruction. Explain how describing your image pixel by pixel could change the work required. Choose vector or bitmap data for a stated AI task and justify it using the detail that task needs. Explain why one representation is not always smaller. Record actual or pending peer evidence. Comparison grounded in retained drawings/instructions, specific ambiguity and revised command. Pixel description may require many cell values and a key, depending on image/grid; no invented universal timing. Vector suitable for simple scalable shapes/layout, raster useful for camera-image detail, but AI input representation depends on model/task/preprocessing; neither universally best. File size depends on content, representation, compression and format, not automatic vector-smaller rule. Raster-to-vector tracing is separate and may change detail. Actual peer result or pending state honest. No numeric score. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Vector graphics 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.