GRADE 5 · COMPUTING · UNIT 1 · LESSON 1.14

Computational thinking and programming

Compare and trace algorithms

Algorithms can differ while reaching the same goal. Decide what you are comparing: written instructions, executed moves, turns, checks or another stated measure. Fewer written lines alone do not prove fewer executed actions.

Topic 1.4 · Planning solutions6 fillable worksheet pagesRead at your own pace

LET’S LOOK, THINK AND TRY

Compare and trace algorithms

Algorithms can differ while reaching the same goal. Decide what you are comparing: written instructions, executed moves, turns, checks or another stated measure. Fewer written lines alone do not prove fewer executed actions.

I can…
  • Compare and trace algorithms.
  • Compare an algorithm with its stated success criteria.
An original PaxaKids workbook scene for planning solutions.
An original workbook scene. Use each worksheet’s own diagrams, labels and records for its questions.

Explore the clues

Tap one card to find out more.

Understand the idea

Algorithms can differ while reaching the same goal. Decide what you are comparing: written instructions, executed moves, turns, checks or another stated measure. Fewer written lines alone do not prove fewer executed actions. A useful solution must also obey the rules.

Look at an example

Both start at A4, facing north; goal D1. A: FORWARD 3, RIGHT, FORWARD 3. B: RIGHT, FORWARD 3, LEFT, FORWARD 3.

Explain with evidence

A ticket printer must print two rows of four dots. It starts at the first position in row 1. STAMP makes one dot and advances to the next position within that row, except after its fourth dot it stays at the row end.

Paxa the Fox

Think safely with Paxa!

Use the supplied examples and a paper simulation first. Ask a grown-up before using a device or creating an online account. Never share passwords or private information.

Use the supplied code, labels and records to explain your answer.

Our Unit 1 learning path
  1. Lesson 1.1: Meet variables and values
  2. Lesson 1.2: Trace variables and a robot route
  3. Lesson 1.3: Build a shared game counter
  4. Lesson 1.4: Debug and test variable programs
  5. Lesson 1.5: Calculate with stored numbers
  6. Lesson 1.6: Trace inputs and comparisons
  7. Lesson 1.7: Build and test a calculator
  8. Lesson 1.8: Debug calculator operations
  9. Lesson 1.9: Choose a path with selection
  10. Lesson 1.10: Trace branches on paper
  11. Lesson 1.11: Control a sprite with key conditions
  12. Lesson 1.12: Check branches and repair control bugs
  13. Lesson 1.13: Break a problem into clear parts
  14. Lesson 1.14: Compare and trace algorithms
  15. Lesson 1.15: Build a program from an outline
  16. Lesson 1.16: Test and improve a solution plan
  17. Lesson 1.17: Objects, behaviours and messages
  18. Lesson 1.18: Trace contacts and message effects
  19. Lesson 1.19: Build a two-sprite signal challenge
  20. Lesson 1.20: Debug interactions between objects
  21. Lesson 1.21: Meet the program-making team
  22. Lesson 1.22: Plan a useful program with clear criteria
  23. Lesson 1.23: Build and test a friendly four-question quiz
  24. Lesson 1.24: Evaluate, refine and retest a program
  25. Lesson 1.25: Inputs, conditions and LED outputs
  26. Lesson 1.26: Trace physical-device decisions on paper
  27. Lesson 1.27: Build the two-player Signal Match game
  28. Lesson 1.28: Find faults and test device programs
  29. Lesson 1.29: Paxa Mystery Number
For grown-ups: using this lesson

Explore the computing idea together, then try the workbook. 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 “Mark lesson finished” when ready. Optional account progress saves position and completion; save personal workbook responses before leaving. Use fictional data; do not share names, passwords or other private information.

2. Fill in your workbook

Read each page’s explanation and use its own diagrams, labels and supplied records. Choose, write or draw. Use Answer list for larger controls.

Compare and trace algorithms6 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.6 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: What is needed for a fair efficiency comparison? a) A stated measure
  2. Question 2: Does using REPEAT always reduce executed moves? a) No
  3. Question 3: Must a shorter algorithm still follow the task rules? a) Yes

Worksheet 2

  1. Question 4: How many actions does route A use? 7 / seven
  2. Question 5: How many actions does route B use? 8 / eight

Worksheet 3

  1. Question 6: How many dots are printed in all? 6 / six
  2. Question 7: How many dots are printed in one outer round? 3 / three
  3. Question 8: Which flat instruction gives the same dot count? b) REPEAT 6: STAMP

Worksheet 4

  1. Question 9: How many empty-cell checks happen? 6 / six
  2. Question 10: How many parcel placements happen? 3 / three

Worksheet 5

  1. Question 11: Which algorithm follows the one-parcel-per-cell rule? c) Y
  2. Question 12: How many placement attempts does Y avoid compared with X? 3 / three
  3. Question 13: Can we prove Y runs faster from placement counts alone? b) No

Worksheet 6

  1. Question 14: Write a clear plan using REPEAT for the dots in each row and NEXT ROW only between the two rows. REPEAT 4: STAMP; NEXT ROW; REPEAT 4: STAMP. Accept an equivalent bounded nested form if it moves rows only between rows and stamps exactly 4 dots per row. No extra NEXT ROW at the end. Grown-up review.
  2. Question 15: How many dots does your plan print? Explain using the row counts. 8 dots: 2 rows times 4 dots. Accept a concise explanation. A loop reduces written repetition but not the required 8 STAMP actions. Grown-up review.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Planning solutions with this free Grade 5 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 curriculum background, visit the Cambridge Primary Computing overview.

The book pages identify the related computing topic. The teaching and workbook activities are original PaxaKids learning materials.