CMPS 144   Computer Science 2
Sample Problems: Software Quality

1. Among the qualities upon which software is judged are these:

(a) correctness
(b) efficiency
(c) extendability/adaptability/maintainability
(d) robustness
(e) portability
(f) ease of use
(g) compatibility

For each statement below, indicate (using one of the letters a through g) the quality that is most relevant.

A. The variables used in this program have meaningful names.
B. My program takes only 1 millisecond to process the data in this file!

Solution

A. (c). A program having meaningful variable names is more likely to be readily understood by a programmer who is charged with the task of maintaining or modifying it, hence making her job easier.

B. (b). A program that executes quickly consumes less in the way of time resources.