Learning objectives

Construct programs whose instructions run in the correct order, and identify sequencing faults that cause infinite loops, deadlock or incorrect output

Construct selection with if, else if or elif, and else, combining the relational operators <, <=, >, >=, == and != with the Boolean operators AND, OR and NOT

Construct counted loops and condition-controlled loops, choosing the right kind for a task and making sure that each loop terminates

Construct functions or methods with parameters and return values, and explain how local and global scope and modular design make code reusable and easier to maintain

Continue with a revision plan

These learning objectives are available to everyone. Sign in with an eligible plan to read the full note and worked examples.