GRADE 4 · COMPUTING · UNIT 1 · LESSON 1.17

Computational thinking and programming

Break a problem into smaller parts

Break a larger drawing into manageable parts.

Topic 1.5 · Decomposition and sub-routines6 fillable worksheet pagesRead at your own pace

LET’S LOOK, THINK AND TRY

Break a problem into smaller parts

Break a larger drawing into manageable parts.

I can…
  • break a larger drawing into manageable parts
  • distinguish a routine definition, call and trigger
Sami, Maya and Paxa take turns explaining a pretend program on a laptop.
An original learning scene. Use the worksheet’s own code, diagrams, data and keys for its questions.

Explore the clues

Tap one card to find out more.

Notice the idea

Decomposition breaks a large job into smaller tasks. A subroutine gives one task a name and a definition. Calling the name runs those instructions, then the main program continues.

Work through an example

DEFINE Pair { TAP; WAVE }. CALL Pair; SAY Rest; CALL Pair means TAP, WAVE, Rest, TAP, WAVE. Writing a definition alone does not call it.

Talk and check

Check the event that starts each script. Test each smaller task, then test the order of the calls when the tasks are joined.

Paxa the Fox

Think it through with Paxa!

Use fictional examples and the supplied model. Ask a grown-up before using equipment or exploring an online service.

A paper prediction explains a model. A real program or device also needs supervised practical testing.

Our Unit 1 learning path
  1. Lesson 1.1: Discover instructions and loops
  2. Lesson 1.2: Trace and correct a route
  3. Lesson 1.3: Build a concise paper program
  4. Lesson 1.4: Apply, debug and review
  5. Lesson 1.5: Explore forever blocks
  6. Lesson 1.6: Predict outputs and solve number puzzles
  7. Lesson 1.7: Build a paper Scratch animation
  8. Lesson 1.8: Debug indefinite-loop puzzles
  9. Lesson 1.9: Explore count-controlled loops
  10. Lesson 1.10: Debug maze and nested-loop puzzles
  11. Lesson 1.11: Draw shapes with counted repeats
  12. Lesson 1.12: Solve count-controlled coding challenges
  13. Lesson 1.13: Discover input, processing and output
  14. Lesson 1.14: Plan programs using user inputs
  15. Lesson 1.15: Build and test input-controlled programs
  16. Lesson 1.16: Debug input-and-output challenges
  17. Lesson 1.17: Break a problem into smaller parts
  18. Lesson 1.18: Trace routines and their triggers
  19. Lesson 1.19: Build a program with shared routines
  20. Lesson 1.20: Debug and test decomposed programs
  21. Lesson 1.21: Use helpful code comments
  22. Lesson 1.22: Plan and record fair program tests
  23. Lesson 1.23: Debug counted drawing programs
  24. Lesson 1.24: Review, test and explain a solution
  25. Lesson 1.25: Explore a physical computing device
  26. Lesson 1.26: Use buttons to control LED output
  27. Lesson 1.27: Build a digital-pet algorithm
  28. Lesson 1.28: Debug physical-device programs
  29. Lesson 1.29: Build and test Paxa explorer
For grown-ups: using this lesson

Discuss the idea, let your child make a prediction, then check the evidence together. Drawings, explanations and practical skills need human feedback alongside the automatic score.

Choose “Mark lesson complete” when ready. Optional account progress saves lesson position and completion; save personal workbook responses before leaving.

2. Fill in your workbook

Read the instructions and use each worksheet’s own code, diagrams, tables and key. Choose answers, write or draw. Use Answer list for larger controls.

Break a problem into smaller parts6 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: Which plan uses decomposition?
    Split the robot task into head, body and wheel tasks.
  2. Question 2: Why must the team agree how the pieces join?
    So the smaller parts fit together in the final model.

Worksheet 2

  1. Question 3: How many labelled wheel parts are there?
    2 / two
  2. Question 4: Write the letter of the body part.
    B / b
  3. Question 5: Which pair identifies the arm parts?
    C and D

Worksheet 3

  1. Question 6: Create a named set of instructions.
    A / a
  2. Question 7: Tell a named routine to run.
    B / b
  3. Question 8: A set of instructions for one particular smaller task.
    C / c
  4. Question 9: An event that starts a script.
    D / d
  5. Question 10: A connected set of code blocks forming a program section.
    E / e
  6. Question 11: Break a larger problem into manageable parts.
    F / f

Worksheet 4

  1. Question 12: Write the name of the defined routine.
    Greeting / greeting
  2. Question 13: How many times is Hello said during the complete test?
    2 / two
  3. Question 14: How many waves happen during the complete test?
    2 / two

Worksheet 5

  1. Question 15: Which event displays Ready?
    click the flag
  2. Question 16: What follows one space-key press?
    wave once
  3. Question 17: Which event makes a clap?
    click the sprite

Worksheet 6

  1. Question 18: Write the definition and both trigger-and-call instructions.
    DEFINE Welcome { SAY Hello; WAVE }; WHEN space pressed CALL Welcome; WHEN sprite clicked CALL Welcome. Accept equivalent clear plan with one shared definition and two named calls.
  2. Question 19: Why is this a useful smaller part of the program?
    It groups one greeting task, can be reused by either trigger, and can be tested separately. Accept one precise relevant reason.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Decomposition and sub-routines with this free Grade 4 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 topic. The teaching, diagrams and worksheet activities are original PaxaKids learning materials. For curriculum background, visit the Cambridge Primary Computing overview.