Exam-style question
Try this first
Which is an advantage of using a subroutine?.
- A.It requires the same code to be written repeatedly
- B.It makes every program longer
- C.It allows a named block of code to be used when needed
- D.It prevents any part of a program from being executed
Model answer
What a good answer should say
- It allows a named block of code to be used when needed
Explanation
Why this works
A subroutine provides a named block of code that can be called when required, helping avoid repeated sections of code.
Common mistake
No common mistake is linked to this question yet.
