GRADE 6 · COMPUTING · UNIT 1 · LESSON 1.4
Computational thinking and programming
Test and repair a decision plan
Learn the idea, try your workbook and explain your thinking.
LET’S LOOK, THINK AND TRY
Test and repair a decision plan
Paxa and Sami test a pretend theatre kiosk. Its fictional rule is IF Tickets > 0 THEN display Choose a seat ELSE display Sold out. Tickets is a whole number from 0 to 20.
- Test and repair a decision plan.
- test my result and explain an improvement.

Follow the arrows, then the condition
An algorithm gives ordered instructions. A flowchart represents them using symbols joined by arrows. Start/end symbols mark the boundaries, rectangles show processes, parallelograms show input or output, and diamonds ask a question. At a decision, follow the labelled arrow that matches the condition. Trace one step at a time; a branch is chosen because of its rule, not its position or colour.
Work through the example: Trace the faulty chart
The designer mistakenly used Tickets at least 0 in the decision. Trace the actual chart here, then compare it with the intended rule on page 1.

Why this helps: An algorithm gives ordered instructions. A flowchart represents them using symbols joined by arrows. Start/end symbols mark the boundaries, rectangles show processes, parallelograms show input or output, and diamonds ask a question. At a decision, follow the labelled arrow that matches the condition. Trace one step at a time; a branch is chosen because of its rule, not its position or colour.
Try it before the workbook
Which test checks the boundary between the two messages?
Use the explanation to choose a reason. This first workbook question helps you check that you are ready.
Explore the clues
Open one card at a time.
Remember the idea
An algorithm gives ordered instructions. A flowchart represents them using symbols joined by arrows. Start/end symbols mark the boundaries, rectangles show processes, parallelograms show input or output, and diamonds ask a question. At a decision, follow the labelled arrow that matches the condition. Trace one step at a time; a branch is chosen because of its rule, not its position or colour.
Check your first try
Tickets = 0 and Tickets = 1
Paxa and Sami test a pretend theatre kiosk. Its fictional rule is IF Tickets > 0 THEN display Choose a seat ELSE display Sold out. Tickets is a whole number from 0 to 20. No purchases, personal details or live accounts are used. Expected means what the rule requires; actual means what a test records.
Explain with evidence
Repair the theatre-kiosk chart so it follows the intended rule: Tickets is a whole number 0 to 20; Tickets > 0 displays Choose a seat, otherwise Sold out. Both paths must reach END.

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 actual records and labels to explain your answer.
Our Unit 1 learning path
- Lesson 1.1: Read and explain a flowchart
- Lesson 1.2: Trace branches and repeated steps
- Lesson 1.3: Build an animation from a plan
- Lesson 1.4: Test and repair a decision plan
- Lesson 1.5: Combine programming ideas
- Lesson 1.6: Reason about loops, text and time
- Lesson 1.7: Build a small dialogue program
- Lesson 1.8: Test a clock and improve its rules
- Lesson 1.9: Define and call reusable routines
- Lesson 1.10: Trace routines and shared state
- Lesson 1.11: Build a quiz with reusable feedback
- Lesson 1.12: Coordinate sprites and test reuse
- Lesson 1.13: Plan a program and its interface
- Lesson 1.14: Trace choices before programming
- Lesson 1.15: Build a one-round choice game
- Lesson 1.16: Test a plan and improve a prototype
- Lesson 1.17: Evaluate against clear success criteria
- Lesson 1.18: Choose a systematic range of test data
- Lesson 1.19: Build and test an input-checking loop
- Lesson 1.20: Repair, retest and report improvements
- Lesson 1.21: Connect device inputs, variables and outputs
- Lesson 1.22: Act out a variable-controlled game
- Lesson 1.23: Build a button-controlled higher-or-lower game
- Lesson 1.24: Test device state and improve feedback
- Lesson 1.25: Build and evaluate a two-level quiz
For grown-ups: using this lesson
Explore the explanation and model 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.
Opening or checking a page does not complete the lesson. Choose “Mark lesson finished” when ready. Optional account progress saves the selected grade, lesson position and completion across devices. Personal workbook responses remain in this tab; save your copy before leaving. Use fictional data and supervised devices; do not share passwords, contact details or real personal records.
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.7 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: Which test checks the boundary between the two messages? c) Tickets = 0 and Tickets = 1
- Question 2: What does an actual result describe? b) What was observed during the test
Worksheet 2
- Question 3: At Tickets = 0, which message does this faulty chart display? Choose a seat
- Question 4: At Tickets = 0, which message should the intended rule display? Sold out
Worksheet 3
- Question 5: Which Tickets value exposes the decision bug? 0
- Question 6: How many of these three tests pass? 2
- Question 7: Which repair matches the intended rule? b) Use Tickets > 0
Worksheet 4
- Question 8: No tickets must display Sold out A
- Question 9: One available ticket must allow seat choice B
- Question 10: Neither branch may stop without reaching END C
- Question 11: Yes and No must identify different paths D
Worksheet 5
- Question 12: What does Choice = Help display before Thanks? Help desk
- Question 13: What is the final shared message? Thanks
- Question 14: Where should the Thanks step be placed? a) After the two paths join
Worksheet 6
- Question 15: Draw or write the repaired chart. Include the exact decision and both labelled paths. START; decision Tickets > 0?; Yes -> output Choose a seat; No -> output Sold out; both -> END. Require diamond for a drawn decision, input/output parallelograms for displayed messages, connected labelled arrows and the strict > comparison. Grown-up review.
- Question 16: Write a test for each side of the boundary, with expected messages. Explain why testing only Tickets = 10 would miss the original bug. Tickets0 -> Sold out; Tickets1 -> Choose a seat. At10 both >0 and >=0 are true, so that test cannot reveal the zero-boundary error. Accept other correct additional tests but both boundary sides are required. Grown-up review.
Curriculum & workbook reference
- Cambridge Primary Computing Learner’s Book 6 — pages 9–18
- PaxaKids Grade 6 Computing Lesson 1.4: Test and repair a decision plan — pages 1–6
Computing for your homeschool day
Explore Planning flowcharts with this free Grade 6 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.
The book pages identify the related teaching or assessment. These explanations, projects, review activities and student workbooks are original PaxaKids companion materials. These activities include paper alternatives. No separate publisher Workbook or proprietary digital project files are needed.
