Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ISTQB Exam CTAL-TTA Topic 2 Question 1 Discussion

Actual exam question for ISTQB's CTAL-TTA exam
Question #: 1
Topic #: 2
[All CTAL-TTA Questions]

Consider the code fragment provided below:

The comment frequency of the code fragment is 13%.

To which non-functional quality characteristic does a good level of comment frequency especially contribute?

Show Suggested Answer Hide Answer
Suggested Answer: B

The comment frequency in a code fragment relates to the number of comments in relation to the code size. A good level of comment frequency can significantly contribute to the maintainability of the software. Maintainability is a non-functional quality characteristic that refers to the ease with which a software system can be modified to correct defects, update features, improve performance or other attributes, or adapt to a changed environment. Comments in the code help developers understand the logic, purpose, and functionality of the code, which is crucial when modifications are required. This does not directly contribute to portability, usability, or performance efficiency, which are concerned with different aspects of the software's operation and user interaction.


Contribute your Thoughts:

Brunilda
6 months ago
I see your point, Judy. Usability can be improved with comments too.
upvoted 0 times
...
Judy
6 months ago
But don't you think comments also help in making the code more usable?
upvoted 0 times
...
Theodora
6 months ago
Maintainability is important for making future changes easily.
upvoted 0 times
...
Jarvis
7 months ago
I agree with Brunilda, comments help in understanding the code later on.
upvoted 0 times
...
Brunilda
7 months ago
I think a good level of comment frequency contributes to Maintainability.
upvoted 0 times
...

Save Cancel