Exam-style question
Try this first
A programmer places a set of related instructions in a subroutine with a meaningful name. Which advantage is most directly demonstrated?.
- A.The program can be easier to understand
- B.The program no longer contains any instructions
- C.The computer no longer needs to execute code
- D.The subroutine must be called more than once
Model answer
What a good answer should say
- The program can be easier to understand
Explanation
Why this works
A meaningful subroutine name can describe the purpose of a block of code, improving the readability and understanding of the program.
Common mistake
No common mistake is linked to this question yet.
