200-901 · Question #226
What is a benefit of organizing code into modules?
The correct answer is D. enables the reuse of code. Organizing code into modules primarily enables reuse - a module written once can be imported and used across multiple scripts or projects without rewriting logic. Modules do not inherently improve performance, reduce total lines of code, or make code multifunctional…
Question
What is a benefit of organizing code into modules?
Options
- Aimproves overall performance
- Breduces the length of code
- Cenables code to be multifunctional
- Denables the reuse of code
How the community answered
(22 responses)- A5% (1)
- B5% (1)
- D91% (20)
Explanation
Organizing code into modules primarily enables reuse - a module written once can be imported and used across multiple scripts or projects without rewriting logic. Modules do not inherently improve performance, reduce total lines of code, or make code multifunctional. Reusability is the foundational software engineering principle that modules address.
Topics
Community Discussion
No community discussion yet for this question.