All mock tests are FREE till 31 December — register to save your progress

Consider the following statements:
(A) Dynamic metrics are collected by measurements made of a program in execution
(B) Static metrics are collected by measurements made of representations of the system
(C) The assessment of software quality is an objective process
(D) An important part of quality assurance involves selection of standards applying to development
Which of the above statements are correct?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. A, B and D only

Explanation

Statement A is correct: dynamic metrics such as response time, number of failures or execution paths covered can only be captured while the program is running. Statement B is also correct: static metrics such as lines of code, cyclomatic complexity or fan-in/fan-out are measured on the source code, design documents and other representations of the system. Statement C is false — as Sommerville stresses, quality assessment involves attributes like maintainability and readability that require human judgement, so it is a subjective, not an objective, process. Statement D is correct because selecting and applying suitable process and product standards is a core SQA activity, so the answer is A, B and D only.

More Software Engineering questions