Identifying errors in algorithms

10 min · 6 IGCSE exam questions

Syllabus: Cambridge IGCSE Computer Science 0478 (2026–2028), topic 7.8 Identifying errors in algorithms.

Learning objectives. By the end of this lesson you should be able to use trace tables and test data to find errors in a given algorithm, recognise the most common kinds of error in flowcharts and pseudocode, and suggest precise corrections.

In this lesson

  • Finding errors with trace tables and test data
  • A worked example: the price checker
  • Common kinds of error
  • A worked example in pseudocode
  • Practice
  • Revision checklist