Exam-style question
Try this first
Which of the following is a primary benefit of using subprograms?.
- A.They make programs run faster regardless of complexity.
- B.They enforce the use of a specific programming language.
- C.They promote code reusability and modularity.
- D.They restrict the maximum size of a program.
Answer and explanation
Concise answer
They promote code reusability and modularity.
Why this is correct
Code reusability and modularity are fundamental advantages of subprograms. While they can aid in efficiency, faster execution isn't guaranteed and language enforcement/size restriction are incorrect.
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.
