B1 · B2.1 · B2.3 · Higher Level

Computational thinking & Python

Specify a problem, design an algorithm, and build a reliable Python solution.

DP1 · August–September; revisited throughout

Learning goals

  • Decompose a problem into manageable tasks and define inputs and outputs.
  • Use selection, iteration, strings, functions and validation.
  • Trace code; distinguish logic errors from runtime errors; debug systematically.

In practice

  1. Write a precise equipment-loan decision process before coding.
  2. Convert an algorithm between flowchart, trace table and Python.
  3. Test a record-processing function with valid and invalid inputs.

Show understanding

An independent program, a test table and an explanation of a debugging decision.

Predict first. Implement second. Test deliberately. Explain what the evidence shows.

In the weekly plan