1.1.2

Decomposition Thinking

Test yourself

Computational Thinking with Cupcakes

Decomposing is a method used in computational thinking to break a complex task down into smaller tasks. We can use decomposing to break down the tasks involved in making cupcakes.

Illustrative background for DecomposingIllustrative background for Decomposing ?? "content

Decomposing

  • Imagine telling your friends how to make cupcakes for a party.
  • If you just said, ‘make the cupcakes’, they might be confused and everybody would do it differently.
Illustrative background for Decomposing gives the stepsIllustrative background for Decomposing gives the steps ?? "content

Decomposing gives the steps

  • There are different parts to making cupcakes:
    • Make the batter.
    • Make the icing.
    • Bake the cakes.
    • Add the toppings.
  • Each of these tasks can be decomposed into logical steps.
Illustrative background for AlgorithmsIllustrative background for Algorithms ?? "content

Algorithms

  • For each part of the cupcake task, there are many smaller steps.
  • The steps must be clear, in the right order and able to be followed to give the same result every time.
  • The steps and rules that are followed are called an algorithm.
    • Think of an algorithm like the steps in the recipe for the cupcakes.

Jump to other topics

1Computational Thinking & Algorithms

2Programming

3Hardware & Software

4Data

5The Internet

6Online Safety & Security

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson