CTAL-TTA_001 · Question #30
The comment frequency of the code fragment is 13%. To which ISO 9126 quality attribute does a good level of comment frequency especially contribute? 1 credit [K2]
The correct answer is A. Portability. Important note: The stated correct answer (A - Portability) appears to be incorrect. The actual correct answer is B - Maintainability. Comment frequency is a well-established metric for Maintainability under ISO 9126. Good comments improve analyzability (ability to diagnose…
Question
The comment frequency of the code fragment is 13%. To which ISO 9126 quality attribute does a good level of comment frequency especially contribute? 1 credit [K2]
Options
- APortability
- BMaintainability
- CUsability
- DEfficiency
How the community answered
(24 responses)- A88% (21)
- B4% (1)
- C8% (2)
Explanation
Important note: The stated correct answer (A - Portability) appears to be incorrect. The actual correct answer is B - Maintainability.
Comment frequency is a well-established metric for Maintainability under ISO 9126. Good comments improve analyzability (ability to diagnose faults) and changeability (ease of modification) - both sub-characteristics of Maintainability. When a developer reads an unfamiliar codebase, comments explain intent, constraints, and logic that code alone cannot convey, directly reducing the effort required to maintain or modify the software.
Why the distractors are wrong:
- A (Portability): Portability concerns adaptability across environments, platforms, or hardware - comments have no meaningful impact on this.
- C (Usability): Usability refers to end-user ease of use (learnability, operability), not internal code structure.
- D (Efficiency): Efficiency covers runtime performance and resource consumption - comments are stripped at compilation/interpretation and have no runtime effect.
Memory tip: Think "Comments = Communication for the next developer." Whoever next touches the code needs to maintain it - so comment frequency maps directly to Maintainability. If your exam answer key shows A, it likely contains a typo or printing error; every major testing syllabus (ISTQB, ISO 9126 literature) associates this metric with Maintainability.
Topics
Community Discussion
No community discussion yet for this question.