Year 10 - Computing
Programming project: subprograms II
Programming: subroutines
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 10 - Computing
Programming: subroutines
In this unit pupils will be introduced to structured programming. They will explore the differences between functions and procedures and use functions to return values in programs. They will be introduced to the concept of scope and how parameters can be used to reduce the need for global variables.
You will learn to implement a program from a design and perform testing to ensure it works as expected.
Implementation of solution is where you take a plan and create the solution. A program should be tested with a range of test data.
data that should not be accepted by the program or it will cause an error. Add one real device or system example to prove understanding.
Mistake: A system should only be tested with normal data that will be expected. Correction: A system should be tested with a range of test data, including erroneous data that is not meant to be accepted.
Browse all guides in the Year 10 Computing guide library.