GCSE
Lesson 18 Subroutines
Learners will determine why subroutines are used in programs. Live coding is used to improve a calculator-style program by introducing subroutines. Learners will discover the advantages of using subroutines, and how they are used for decomposition. They will also modify a subroutine that uses parameters.
Learning objectives
- Describe a subroutine
- Describe the purpose of parameters in subroutines
- Use procedures that accept arguments through parameters
- Describe how subroutines are used for decomposition
- List the advantages of subroutines
Package contents
- Lesson plans
- Learning graphs
- Unit overviews
- Activities
Not registered yet?
Create an account and get access to over 500 hours of free teaching resources.
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.