Algorithm Design and Problem Solving · 4 question types
Past paper frequency (2018 to 2024)
This topic accounts for approximately 6% of your exam marks.
Decomposition, abstraction and structure charts appear as design-focused questions.
Decomposition is the process of breaking a large, complex problem down into smaller, easier sub-problems.
A small problem is easier to design, code, test and debug than a big one. Once each sub-problem has been solved, the solutions are combined to solve the original problem.
Example — A teacher wants a program that takes attendance, calculates each student's percentage attendance for the term, and reports which students fall below 80 %.
The big problem breaks naturally into smaller sub-problems:
Each numbered step is now a small, well-defined task that one programmer can work on (and test) by itself. When all six work, the whole program works.