Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

1.3 (3 of 3): Six steps to solve a problem

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

40 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

The college app is too slow

Students say the college timetable app is slow. The head of IT asks you to fix it.

Do you start changing code? No. First you must know what the problem is. There is a plan that works for almost any problem. It has six steps.

Key words

WordWhat it meansExample
StrategyA plan for how to solve a problem.the six steps
DefineSay clearly what the problem is.the app takes 20 seconds to open
AnalyseStudy the information to find out what it means.it is slow only at 9am
ImplementCarry out the plan.add the fix
ReviewCheck if the solution worked.is it fast now?
Top-downStart with the whole problem and break it into parts.plan the app, then its screens
Bottom-upStart with small parts and join them.build the payment tool first
ModularisationSplitting a program into separate modules with one job each.a login module
Root cause analysisLooking for the real reason a problem happens.ask why five times
StakeholderA person who cares about the result.students and teachers

The cells students fill in are left blank in this preview.

Can you guess the order?

Have a go

Can you guess the order?

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

The six steps

A flowchart of the six steps in a column, 1 Define the problem, 2 Gather information, 3 Analyse the information, 4 Make a plan of action, 5 Implement a solution and 6 Review the solution, each with an arrow to the next, and an arrow labelled not solved from 6 Review the solution back to 1 Define the problem.A flowchart of the six steps in a column, 1 Define the problem, 2 Gather information, 3 Analyse the information, 4 Make a plan of action, 5 Implement a solution and 6 Review the solution, each with an arrow to the next, and an arrow labelled not solved from 6 Review the solution back to 1 Define the problem.

The six steps on the slow app

StepWhat you doThe slow timetable app
1 Define the problemSay what is wrong, in one clear sentence.The app takes 20 seconds to open at 9am. It should take 2.
2 Gather informationCollect facts: ask people, read records, measure.Ask 10 students and 3 teachers (the stakeholders). Check the server (the computer that runs the app) records. Time the app at different hours.
3 Analyse the informationLook for patterns and causes.It is slow only when 500 students sign in together.
4 Make a plan of actionChoose what to do, in what order, and who does it.Keep a saved copy of the timetable, so it is not loaded again for each student.
5 Implement a solutionCarry out the plan.Write the change and put it on a test server first.
6 Review the solutionCheck it worked. Ask the same people.Time it at 9am again. Now it takes 2 seconds.

The cells students fill in are left blank in this preview.

Watch: six steps to solve a problem

Press Play on the short film below. It takes the slow timetable app through the six steps, two at a time, and then shows what to do when the review fails. Each example appears with the step it belongs to.

Film: six steps to solve a problem

Six steps to solve a problem

Every scene, as text

  1. Students say the college timetable app is slow, and the head of IT asks you to fix it. Do you start changing code? No. First you must know what the problem is.
  2. There is a plan that works for almost any problem. It has six steps: 1 Define the problem, 2 Gather information, 3 Analyse the information, 4 Make a plan of action, 5 Implement a solution, 6 Review the solution.
  3. The six steps on the slow app. Step 1, define the problem in one clear sentence: the app takes 20 seconds to open at 9am, and it should take 2. Step 2, gather information: ask 10 students and 3 teachers (the stakeholders), check the server records and time the app at different hours.
  4. Step 3, analyse the information, looking for patterns and causes: it is slow only when 500 students sign in together. Step 4, make a plan of action: keep a saved copy of the timetable, so it is not loaded again for each student.
  5. Step 5, implement a solution: write the change and put it on a test server first. Step 6, review the solution: ask the same people, and time the app at 9am again. Now it takes 2 seconds.
  6. Myth (false): the six steps run once, in a straight line. If the review shows the problem is not solved, go back. You may need to define the problem again or gather more information. Many real projects go round more than once.

Match the action to the step

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Go back if the review fails

Warning

Many people think the six steps run once, in a straight line. If the review shows the problem is not solved, go back. You may need to define the problem again or gather more information. Many real projects go round more than once.

Many strategies, one problem

You now know several strategies. Top-down and bottom-up decide how to build. Root cause analysis decides why something failed. The six steps give an overall plan.

A good developer chooses the right one for the problem. You often use more than one together.

Which strategy fits?

ProblemGood strategyWhy
A new app with a clear list of needsTop-downYou know the goal and can break it up.
You must build with a trusted payment tool you already haveBottom-upYou start from the part that exists.
The same problem keeps coming backRoot cause analysisYou must stop it coming back.
A large program with many people working on itModularisationEach person owns a module.
A request that is not clear: make it betterThe six stepsYou must first define and gather information.

The cells students fill in are left blank in this preview.

Choose the strategy

Have a go

Choose the strategy

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your turn: draw the six steps

Draw the six steps as a flowchart. Use a Start and End shape. Add a decision after the review step: is the problem solved? If yes, go to End. If no, go back to Define the problem. Use the right shape for each step.

flowchart TD
  s([Start]) --> a[Define the problem]
  a --> next["Add the next step here"]

Make a free account to save your work, or press Start lab to work through the whole lesson.

Your turn: judge three problems

Here are three problems. For each one, choose a strategy from this list: top-down, bottom-up, modularisation, root cause analysis, the six steps. Say why it fits, and say one bad point of your choice. Problem A: the college wants a new attendance system. Problem B: the login page fails once a week and nobody knows why. Problem C: you must add a chat feature to an app, and a chat tool already exists.

A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Key words crossword

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Exit quiz

Have a go

Exit quiz

6 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Remember

Important

Define, gather, analyse, plan, implement, review. Go back if the review fails. Choose the strategy that suits the problem.

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.