GRADE 5 · COMPUTING · UNIT 1 · LESSON 1.16
Computational thinking and programming
Test and improve a solution plan
A sound plan includes all the information the program needs, a clear order and the required outcomes. Testing compares actual behaviour with expected behaviour. Improving an algorithm must preserve correctness.
LET’S LOOK, THINK AND TRY
Test and improve a solution plan
A sound plan includes all the information the program needs, a clear order and the required outcomes. Testing compares actual behaviour with expected behaviour. Improving an algorithm must preserve correctness.
- Test and improve a solution plan.
- Compare an algorithm with its stated success criteria.

Explore the clues
Tap one card to find out more.
Understand the idea
A sound plan includes all the information the program needs, a clear order and the required outcomes. Testing compares actual behaviour with expected behaviour. Improving an algorithm must preserve correctness. Decide whether you want fewer unnecessary actions, clearer code or both.
Read the complete program model
Find a missing input step
Required task: ask for a whole-number count, store it in Count, check Count = 4, and
give one of two messages. This faulty outline begins with SET Count TO answer,
then checks Count = 4. It never asks the user for the new count.SET Count TO answer
Check whether Count = 4
Display the selected message
Explain with evidence
The intended club rule is: ask Choose music or another club; store the reply in Club; if Club = music, say Try singing; otherwise say Explore another club. Faulty plan: ask the question, check Club = music, then say Try singing in both branches. It also forgets to store the new answer.

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
- Lesson 1.1: Meet variables and values
- Lesson 1.2: Trace variables and a robot route
- Lesson 1.3: Build a shared game counter
- Lesson 1.4: Debug and test variable programs
- Lesson 1.5: Calculate with stored numbers
- Lesson 1.6: Trace inputs and comparisons
- Lesson 1.7: Build and test a calculator
- Lesson 1.8: Debug calculator operations
- Lesson 1.9: Choose a path with selection
- Lesson 1.10: Trace branches on paper
- Lesson 1.11: Control a sprite with key conditions
- Lesson 1.12: Check branches and repair control bugs
- Lesson 1.13: Break a problem into clear parts
- Lesson 1.14: Compare and trace algorithms
- Lesson 1.15: Build a program from an outline
- Lesson 1.16: Test and improve a solution plan
- Lesson 1.17: Objects, behaviours and messages
- Lesson 1.18: Trace contacts and message effects
- Lesson 1.19: Build a two-sprite signal challenge
- Lesson 1.20: Debug interactions between objects
- Lesson 1.21: Meet the program-making team
- Lesson 1.22: Plan a useful program with clear criteria
- Lesson 1.23: Build and test a friendly four-question quiz
- Lesson 1.24: Evaluate, refine and retest a program
- Lesson 1.25: Inputs, conditions and LED outputs
- Lesson 1.26: Trace physical-device decisions on paper
- Lesson 1.27: Build the two-player Signal Match game
- Lesson 1.28: Find faults and test device programs
- 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.
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 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
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
- Question 1: What should a test compare? a) Expected and actual results
- Question 2: What must an improved solution preserve? b) The required behaviour
- Question 3: Which plan is easiest to check? c) One with stated inputs and outputs
Worksheet 2
- Question 4: What essential step is missing? c) ASK for the new count and wait
- Question 5: Where should the missing step go? b) Before SET Count TO answer
Worksheet 3
- Question 6: Which test passes the required rule? b) star
- Question 7: Which branch most likely needs inspection? a) The False branch
- Question 8: Would testing only star reveal this fault? b) No
Worksheet 4
- Question 9: What is output in run A? Ready
- Question 10: What is output in run B? Retry
Worksheet 5
- Question 11: Which claim is supported by the table? b) B writes STAMP fewer times
- Question 12: How many STAMP actions does B execute? 6 / six
- Question 13: Does this table prove B runs faster? a) No
Worksheet 6
- Question 14: Write a corrected outline with input, assignment, condition and both distinct outputs. ASK Choose music or another club; SET Club TO answer; IF Club=music THEN SAY Try singing ELSE SAY Explore another club END IF. Store before compare; false output must be distinct and correct. Grown-up review.
- Question 15: Give a music test and one other-club test, with the expected recommendation for each. music -> Try singing; one non-music reply (such as drama) -> Explore another club. Both tests start fresh and check different branch outcomes. Grown-up review.
Curriculum & workbook reference
- Cambridge Primary Computing Learner’s Book 5 — pages 60–75
- PaxaKids Grade 5 Computing Lesson 1.16: Test and improve a solution plan — pages 1–6
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.
