H13-311_V3.5 · Question #330
Functions are well-organized, non-reusable code segments used to implement a single, or associated Function.
The correct answer is B. False. B (False) is correct because the statement contains a critical contradiction: functions are explicitly designed to be reusable. Reusability is one of their core purposes - you define a function once and call it as many times as needed, from anywhere in your program. The…
Question
Functions are well-organized, non-reusable code segments used to implement a single, or associated Function.
Options
- ATrue
- BFalse
How the community answered
(35 responses)- A20% (7)
- B80% (28)
Explanation
B (False) is correct because the statement contains a critical contradiction: functions are explicitly designed to be reusable. Reusability is one of their core purposes - you define a function once and call it as many times as needed, from anywhere in your program. The statement is otherwise partially accurate (functions are well-organized and typically handle a single responsibility), but "non-reusable" fundamentally mischaracterizes what functions are.
Why A (True) is wrong: Accepting the statement as true would mean agreeing that functions cannot be reused, which directly contradicts how functions work in virtually every programming language.
Memory tip: Think of a function like a recipe card - you write it once and follow it as many times as you want. If it were non-reusable, you'd have to rewrite the recipe from scratch every meal. The whole point of a function is to avoid repeating yourself (DRY principle: Don't Repeat Yourself).
Topics
Community Discussion
No community discussion yet for this question.