We use a top-down approach to designing a program. This means that we try to break down the initial problem into smaller, easier sub-problems. We can then break down those sub-problems if necessary, until we are left with several trivial problems.

Read the task’s specification carefully. See if you can spot any of the following:

Write down the details of any you notice.
Repeat until you can’t see any more things the program needs to do.
Don’t worry too much about the order initially.
Look at each of the steps and see if it can be broken down any further.
Once you’ve broken it down as much as you can, put the various steps into the correct order.

Example 1 - designing and creating a program - Circle area     show
Example 2 - designing and creating a program - Tax rebate     show

Back to index

mph@ghscomputing.co.uk

Updated 25 September 2019