200-901 · Question #573
What is a benefit of organizing code into modules?
The correct answer is C. easier to work with the code. Modular code breaks a large codebase into smaller, self-contained, and logically grouped units. This makes it easier for developers to read, understand, maintain, debug, and reuse specific parts without having to comprehend the entire codebase at once. Option A is…
Question
What is a benefit of organizing code into modules?
Options
- Aimproves compatibility with the hardware
- Bimproves the user interface
- Ceasier to work with the code
- Deasy to compile and test
How the community answered
(23 responses)- B4% (1)
- C91% (21)
- D4% (1)
Explanation
Modular code breaks a large codebase into smaller, self-contained, and logically grouped units. This makes it easier for developers to read, understand, maintain, debug, and reuse specific parts without having to comprehend the entire codebase at once. Option A is incorrect-hardware compatibility is not affected by code modularity. Option B is incorrect-modularity is a backend/structural concern unrelated to user interfaces. Option D is partially related but misleading-compilation and testing are side benefits, not the primary benefit; 'easier to compile and test' is less comprehensive than 'easier to work with.'
Topics
Community Discussion
No community discussion yet for this question.