AQA GCSE Computer Science (8525)Specification point 3.2.10

AQA 8525 3.2.10: Structured programming and subroutines (procedures and functions)

The free BugBot lessons that teach this point, a robot to try it on, and the past-paper questions that test it.

Lessons that teach it

  1. F1.3 Calling functions Programming basics
    Arguments, telling and asking, and notes on the robot's buzzer.
  2. F4.1 Writing functions Functions and structured code
    def, calling, and why subprograms help.
  3. F4.2 Parameters and return values Functions and structured code
    Information in and an answer out; procedures and functions.
  4. F4.3 Local and global variables Functions and structured code
    Scope: where a variable exists, and why passing values beats global.
  5. F4.5 Libraries and your own modules Functions and structured code
    import, Python's own libraries, and a module file of your own.

Try it on a robot

The task from F1.3 Calling functions, running here. Change the program and press Run.

Past paper questions on this

Real exam questions that test this, each worked through with a program you can run.

The specification is AQA's own document; this page says which of our lessons teach point 3.2.10 and is not endorsed by the board.