Sub programs
What Sub programs means in Computer Science GCSE, as defined for OCR.
Definition of Sub programs
Check what you remember
Read the wording for your board, then hide it and explain Sub programs in your own words. Rough notes are fine. This is a self-check, with no mark or grade.
Reference: OCR
Break a large task into named modules, so each part can be tested and edited without disturbing the rest.
Topics that use Sub programs
- Defensive design (OCR GCSE)
Related terms
- Anticipating misuse
- Authentication
- Indentation
- Presence check
- Range check
- Defensive design
- Format check
- Input validation
Using Sub programs in the exam
Check the command word and mark scheme for your exact question. After comparing your explanation with the reference, use the term in an answer on the linked topic. This practice does not predict an exam mark.
Practise Computer Science questions
Create a free account to answer exam-style questions on this topic and get feedback on your answers.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge