AQA 7517 4.1.1.12: Returning a value/values from a subroutine
The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.
Lessons that teach it
- A1.4 Subroutines, parameters and passing by reference Programming techniques and object-oriented programming
Out-of-line subroutines and their interfaces, returning several values, and passing by value and by reference.
Try it on a robot
The task from A1.4 Subroutines, parameters and passing by reference, running here. Change the program and press Run.
The specification is AQA's own document; this page says which of our lessons teach point 4.1.1.12 and is not endorsed by the board.