It involves breaking down a complex problem or system into smaller parts that are more manageable and easier to understand. The smaller parts can then be examined and solved, or designed individually, as they are simpler to work with.
That was a lot of steps to make toast! You may do it differently and could easily add or remove steps.
That example had all the steps listed, but what if you do not know all the steps?
Think about whats involved in getting a glass of water.
Hint.... Break the task down into smaller blocks first... for example....
1. Get the glass | 2. Fill the glass | 3. Drink the water
Think of any task and create a set of instructions that will be easy to follow. You should only have one starting point and one ending point.
Remember:
break your task down into simpler components
how do you start and finish
does a decision need to be made?
does anything need to repeat?
check your list for mistakes
test your instructions work
At the end of this topic students will have had the opportunity to cover;
understand that there can be more than one algorithm for the same problem PO3
debug simple algorithms and programs by identifying when things go wrong with their instructions and correcting them PO4
be able to explain why things went wrong and how they fixed them PO4
evaluate the efficiency of algorithms PO4