±«Óătv

What does decomposition mean?

The word decomposition means to break down into smaller parts. We use it in several different areas.

  • Science - when a substance starts to break down and decay.
  • Maths - when we partition numbers and difficult calculations to help us solve tricky number problems.
  • Design technology - when we break down a project into a series of smaller tasks.
  • Computing - when we break down a computing task into a series of steps or an algorithm.

We also use decomposition to help with everyday tasks and problems - like planning and shopping for family meals, organising a birthday party or even doing our homework!

Back to top

Using decomposition for complicated projects

Breaking things down can make complicated projects and tasks easier to manage.

A series of smaller tasks, instead of one large task, makes it is easier to see what needs to be done. The smaller tasks can then be shared by a team.

Different people can then work on each small part of the problem, combining their solutions and outcomes to complete the project together.

Back to top

Designing a computer game

Designing and making a computer game is a complicated project.

There are many things to think about, to design and to plan.

Game designers use decomposition to help break the process down into smaller parts.

The first thing is to make a list of the main parts of the computer game.

Girl decomposing the steps needed to design a computer game. The first step breaks the game design into three strands. 1. Story, 2. Setting, 3. Characters.

Story

We need to plan the narrative.

  • What is our game about?
  • Where do the players start?
  • What is their mission in the game?
  • How do they win or lose?
  • What is the end goal?

Setting

  • Where is the game set?
  • Are we going for a castle which has been taken over by fire-eating dragons, or maybe a fast-paced racing game with points to collect on the way?

Characters

  • Who is in the game?
  • What powers do they have?
  • What are their quests and missions?
  • What actions can they perform?
Back to top

Breaking it down into even smaller parts

Once the game designers have broken down the game and thought about each smaller part, they then might each part even further.

For example in the game setting you would need to look at background graphics, music and sound effects.

For each character you'll need to think about hair colour, costumes, accessories and how they move.

Back to top

Working with different teams and groups

Once we have decomposed the whole project, each smaller part can be tackled individually.

The code for each section can also be broken down and created separately.

The game designer might even send some jobs to other teams and specialist companies, such as graphic designers or music composers.

Once all these smaller parts are finished, they can be combined to make the finished computer game.

Back to top

Breaking down complex real-world systems

Let's think about an even larger and more complicated problem - how to control the traffic in a busy city.

Imagine all the different devices and that need to work to make sure the traffic flows smoothly. There might be:

A traffic jam
  • road signs
  • traffic lights
  • cameras
  • speed cameras
  • crossing lights
A traffic jam

The computer systems and programs that control all these devices are very complex and need to deal with the constantly changing conditions.

The job is too big for just one system or one program to control.

Without decomposing all of these complicated parts down into smaller, easier to manage sections, it would be impossible to stop the traffic from jamming up completely.

Each small section of the system is handled separately by different devices, programs and teams of people.

All the different parts are connected into networks that can communicate with each other and work together to keep the traffic flowing.

See if you can spot some of these devices and systems when you are next out and about and remember - stay safe.

Back to top

Watch: Decomposition

Find out more about decomposition with this video from ±«Óătv Teach.

Back to top

Activities

Back to top

Computing - Dance Mat Typing. game

Build and test your computing skills with different levels of touch type challenges

Computing - Dance Mat Typing
Back to top

More on Computer science

Find out more by working through a topic