AQA A’Level SLR02 Subroutines, interfaces & parameters


About this video

AQA Specification Reference
AS Level 3.1.1.10 - 3.1.1.13
A Level 4.1.1.10 - 4.1.1.13

This video explores the important programming techniques of modularity, in particular the differences between procedures and functions. It includes a discussion of parameters, interfaces and returning values.

Key questions:

- Why is it a good idea to develop code in a modular way?
- What is the difference between a function and a procedure?
- How do you call a subroutine?
- What is meant by a subroutine interface?
- What are parameters?

00:00 Subroutines, interfaces and parameter
00:07 Intro
00:12 Introduction to subroutines
00:31 Same concept different names
00:46 Procedures and functions
01:21 Introduction to subroutines
01:37 Pseudocode example
02:56 Worked example of procedures and functions
04:54 Procedures and functions examples
06:30 Subroutine interfaces and use of parameters
07:16 Visual Basic example 1
08:04 Visual Basic example 2
09:49 Key questions
10:11 Going beyond the specification
10:22 Passing parameters by value and by reference
10:46 Passing parameters by value
12:10 Passing parameters by reference
13:11 The truth
14:09 Outro

Last updated: 10.04.25