1.2.10 Structured Programming and Subroutines (Procedures and Functions)
In this lesson, you will learn how subroutines are used to divide programs into smaller, reusable sections of code. You will explore procedures and functions, learn how parameters pass data into subroutines and return values pass data out, understand local variables, and examine how modularisation and clear interfaces support structured programming.
Topic 1
Subroutines
2 min
4
Topic 2
Procedures
2 min
3
Topic 3
Parameters
4 min
3
Topic 4
Functions and Return Values
4 min
5
Topic 5
Local Variables
3 min
41
Topic 6
Structured Programming
1 min
2
Topic 7
Subroutine Interfaces
2 min
2
Topic 8
Advantages of Structured Programming
1 min
1
