All lessons

Computer Science

A class poster split into sketch, gather, glue: smaller steps in a line

Decomposition means splitting a big job into smaller steps. For the class poster, the steps are: sketch the layout, gather your materials, then glue. Check each step before moving on.

What you will learn

  • Explain what decomposition means and why programmers use it
  • Break the big job of making a class poster into the ordered sub-tasks: sketch, gather, glue
  • Identify which steps must happen in a fixed order because a later step depends on an earlier one

A big problem: make a class poster. Smaller steps in order: sketch the layout, gather paper and materials a grown-up approves, then glue. You can finish one step and check it before moving to the next.

Breaking a big job into smaller steps is called decomposition. Programmers do it all the time. Safety: ask a grown-up before using glue or scissors.

Key words

decomposition
Breaking a big job into smaller steps you can do and check one at a time.

Check yourself

Which list shows the poster sub-tasks in the correct order?

Which is an example of decomposition?

Why is breaking a big problem into smaller steps useful when writing a program?

Think about it

What big job could you break into smaller steps today?