Standard methods of solution
A tried-and-tested algorithm for a common task, such as totalling, counting, max/min, average, linear search or bubble sort, that programmers reuse instead of inventing a new solution.
Understanding Standard methods of solution in IGCSE Computer Science Paper 2
What it does: Comparing each element with the target and setting a Found flag is the reusable linear search pattern. Comparing neighbours and starting a swap with a temporary variable is the core step of bubble sort, a standard sorting method. Standard methods such as totalling or linear search are reused because they are already known to work. Counting adds 1 to a counter each time an item meets the condition. Bubble sort is for putting items in order. The maximum method keeps the largest value seen so far. An average gives a middle value, not the highest. Average = Total / Count, so you need the total and the number of items.
Common mistakes: A running total must start at 0. Starting at 1 makes every answer one too high. The line should be Total ← 0. In Cambridge pseudocode a value is stored with the assignment arrow ←. The = sign is a comparison. The line should be Count ← 0.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 275–285) and word search (Modules 275–295).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
standard methodFill in the Blanks
Spot the Error
Student with a class code? Join your class →