GRADE 6 · COMPUTING · UNIT 1 · LESSON 1.18

Computational thinking and programming

Choose a systematic range of test data

Learn the idea, try your workbook and explain your thinking.

Topic 1.5 · Evaluating and testing programs6 fillable worksheet pagesRead at your own pace

LET’S LOOK, THINK AND TRY

Choose a systematic range of test data

Paxa and Sami plan tests for a counter that must accept whole numbers from 1 to 5 inclusive . Other replies must be rejected. Test ordinary valid values, the smallest and largest allowed values, and unexpected data.

I can…
  • Choose a systematic range of test data.
  • trace the supplied model step by step and justify my result.
An original PaxaKids workbook scene for evaluating and testing programs.
An original PaxaKids scene. Use the workbook’s exact diagrams and supplied records for its questions.

Compare the result with a clear expectation

Testing checks actual behaviour against an expected result. Evaluation asks how well a program meets its purpose and users’ needs. Success criteria describe what should happen. Use normal, boundary and invalid inputs where relevant; record the expected result before running the test. A successful test is evidence for that case, not proof that every possible case works. After a change, retest the affected behaviour.

Work through the example: Check calculations at several values

A separate correct counter starts Total at 0. For each accepted whole-number N, it repeats CHANGE Total BY 2 exactly N times, then displays Total. Each test is a fresh run.

Original workbook model: Check calculations at several values.
The unchanged model from page 4 of your original student workbook.

Why this helps: Testing checks actual behaviour against an expected result. Evaluation asks how well a program meets its purpose and users’ needs. Success criteria describe what should happen. Use normal, boundary and invalid inputs where relevant; record the expected result before running the test. A successful test is evidence for that case, not proof that every possible case works. After a change, retest the affected behaviour.

Try it before the workbook

What is the smallest allowed value?

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

Testing checks actual behaviour against an expected result. Evaluation asks how well a program meets its purpose and users’ needs. Success criteria describe what should happen. Use normal, boundary and invalid inputs where relevant; record the expected result before running the test. A successful test is evidence for that case, not proof that every possible case works. After a change, retest the affected behaviour.

Check your first try

1

Paxa and Sami plan tests for a counter that must accept whole numbers from 1 to 5 inclusive . Other replies must be rejected. Test ordinary valid values, the smallest and largest allowed values, and unexpected data. Boundary tests target the edges of the allowed range.

Explain with evidence

For a new selector, valid replies are the whole numbers 1, 2 and 3. It must reject everything else and ask again.

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 actual records and labels to explain your answer.

Our Unit 1 learning path
  1. Lesson 1.1: Read and explain a flowchart
  2. Lesson 1.2: Trace branches and repeated steps
  3. Lesson 1.3: Build an animation from a plan
  4. Lesson 1.4: Test and repair a decision plan
  5. Lesson 1.5: Combine programming ideas
  6. Lesson 1.6: Reason about loops, text and time
  7. Lesson 1.7: Build a small dialogue program
  8. Lesson 1.8: Test a clock and improve its rules
  9. Lesson 1.9: Define and call reusable routines
  10. Lesson 1.10: Trace routines and shared state
  11. Lesson 1.11: Build a quiz with reusable feedback
  12. Lesson 1.12: Coordinate sprites and test reuse
  13. Lesson 1.13: Plan a program and its interface
  14. Lesson 1.14: Trace choices before programming
  15. Lesson 1.15: Build a one-round choice game
  16. Lesson 1.16: Test a plan and improve a prototype
  17. Lesson 1.17: Evaluate against clear success criteria
  18. Lesson 1.18: Choose a systematic range of test data
  19. Lesson 1.19: Build and test an input-checking loop
  20. Lesson 1.20: Repair, retest and report improvements
  21. Lesson 1.21: Connect device inputs, variables and outputs
  22. Lesson 1.22: Act out a variable-controlled game
  23. Lesson 1.23: Build a button-controlled higher-or-lower game
  24. Lesson 1.24: Test device state and improve feedback
  25. 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.

Choose a systematic range of test data6 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: What is the smallest allowed value? 1
  2. Question 2: What is the largest allowed value? 5
  3. Question 3: Which is an ordinary valid value away from the edges? c) 3

Worksheet 2

  1. Question 4: How many listed replies should be accepted? 3
  2. Question 5: How many should be rejected? 5
  3. Question 6: Why must 2.5 be rejected? a) It is not a whole number

Worksheet 3

  1. Question 7: Would the faulty check accept or reject 2.5? Accept
  2. Question 8: Should the requirement accept or reject 2.5? Reject
  3. Question 9: Which test most directly exposes this missing rule? a) 2.5

Worksheet 4

  1. Question 10: What is expected Total for N = 1? 2
  2. Question 11: What is expected Total for N = 3? 6
  3. Question 12: What is expected Total for N = 5? 10

Worksheet 5

  1. Question 13: Which plan covers a wider range of requirements? a) Plan B
  2. Question 14: What does repeating only 3 fail to check? b) Boundaries and rejection of unexpected replies
  3. Question 15: What can successful tests establish? a) The checked cases behaved as expected

Worksheet 6

  1. Question 16: Give at least six test replies with expected Accept or Reject results. Include both boundaries, an ordinary valid value, a fraction and text. Require1Accept,2Accept,3Accept, a fraction such as1.5Reject, text such asfoxReject and at least one outside value such as0or4Reject. Empty reply may be an additional rejection test. Link each expected result to the requirement. Grown-up review.
  2. Question 17: Explain why a test plan should include expected results and varied data before running. Expected results provide an independent comparison so a bug is not treated as correct merely because it appeared. Varied data exercises normal, boundary and rejection paths. Passing these cases increases confidence but is not proof of all possible behaviour. Grown-up review.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Evaluating and testing programs 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.