Software Engineering Multiple Choice Questions on “Metrics for Quality Control”.
1. Size and Complexity are a part of
a) Product Metrics
b) Process Metrics
c) Project Metrics
d) All of the mentioned
Answer: a
Clarification: Product Metrics describe the characteristics of product.
2. Cost and schedule are a part of
a) Product Metrics
b) Process Metrics
c) Project Metrics
d) All of the mentioned
Answer: c
Clarification: Project Metrics describe the project characteristics and execution.
3. Number of errors found per person hours expended is an example of a
a) measurement
b) measure
c) metric
d) all of the mentioned
Answer: c
Clarification: Metric is a quantitative measure of the degree to which a system, component, or process possesses a given attribute.
4. Which of the following is not categorized under Product Operation of McCall’s Software Quality Factors?
a) Flexibility
b) Reliability
c) Usability
d) Integrity
Answer: a
Clarification: Flexibility is a part of Product revision as per McCall’s Software Quality Factors.
5. The arc-to-node ratio is given as r = a/n. What does ‘a’ represent in the ratio?
a) maximum number of nodes at any level
b) longest path from the root to a leaf
c) number of modules
d) lines of control
Answer: d
Clarification: ‘a’ represents the arcs or the lines of control.
6. Which of the following is not categorized under Component-Level Design Metrics?
a) Complexity Metrics
b) Cohesion Metrics
c) Morphology Metrics
d) Coupling Metrics
Answer: c
Clarification: Morphology metrics are a part of High level design metrics.
7. Percentage of modules that were inspected is a part of
a) Product Metrics
b) Process Metrics
c) Project Metrics
d) All of the mentioned
Answer: b
8. Metric is the act of obtaining a measure.
a) True
b) False
Answer: b
Clarification: Measurement is the act of obtaining a measure.
9. MTTC falls the the category of
a) correctness
b) integrity
c) maintainability
d) all of the mentioned
Answer: c
Clarification: Mean time to change (MTTC) is the time it takes to analyze the change request, design an appropriate modification, implement the change, test it, and distribute the change to all users.
10. Identify the correct option with reference to Software Quality Metrics.
a) Integrity = [Sigma(1 – threat)] * (1 – security)
b) Integrity = [1 – Sigma(threat)] * (1 – security)
c) Integrity = [1 – threat * Sigma(1 – security)].
d) Integrity = Sigma[1 – threat * (1 – security)].
Answer: d
