Exam-style question
Try this first
What is a subroutine?.
- A.A named out-of-line block of code that can be called
- B.A variable used to store a single value
- C.A comment explaining how a program works
- D.A hardware component inside a computer
Answer and explanation
Concise answer
A named out-of-line block of code that can be called
Why this is correct
A subroutine is a named out-of-line block of code that may be executed by calling its name in a program statement.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
