3.1.2

Decomposing Tasks

Test yourself

Computational Thinking with Cupcakes

Decomposing is a method used in computational thinking. It means breaking a big task into smaller tasks.

Illustrative background for Decomposing: exampleIllustrative background for Decomposing: example ?? "content

Decomposing: example

  • Imagine telling your friends how to make cupcakes for a party.
  • If you just say, ‘make the cupcakes’, they might get confused.
  • Everyone might 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 StepsIllustrative background for Steps ?? "content

Steps

  • The steps must be clear.
  • The steps must be in the right order.
  • The steps must be clear and repeatable so you get the same results every time.
  • The steps and rules that are followed are called an algorithm.
Illustrative background for AlgorithmsIllustrative background for Algorithms ?? "content

Algorithms

  • Think of an algorithm like the steps in the recipe for the cupcakes.

Jump to other topics

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium