Software Metrics & Measurement MCQs

Topic-wise practice questions for Software Engineering. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1medium
(Code/Console Logic) A Lead Developer is automating the calculation of Defect Removal Efficiency (DRE) for the last release. Based on the logic below, what is the DRE for this project?
Q2hard
A project manager uses Mean Time to Failure (MTTF) to evaluate a system. This metric is primarily a measure of: metrics_calc.py

bugs_found_internally = 80
bugs_reported_by_users = 20
dre = bugs_found_internally / (bugs_found_internally + bugs_reported_by
print(f"DRE: {dre * 100}%")
Q3easy
Which of the following is an example of an Indirect Measure of software quality?
Q4medium
An organization wants to measure how effective their testing process is at finding bugs before the product reaches the customer. They should use which metric?
Q5hard
Compare Token-based metrics (like Halstead's) with Structure-based metrics (like McCabe's). What is the main focus of McCabe's Cyclomatic Complexity?
Q6medium
A manager wants to compare the Productivity of a C++ team and a Python team. Why is Lines of Code (LOC) a poor direct metric for this comparison?
Q7easy
What does "Fan-in" represent in a structural software metric?
Q8medium
A project has 10 Function Points (FP). If the organization’s historical data shows they can produce 5 FP per Person-Month, what is the estimated Effort for this project?
Q9medium
A company wants to measure the "Productivity" of its support team which handles maintenance. Which metric is most appropriate for this "Process" evaluation?
Q10easy
In the Goal-Question-Metric (GQM) approach, what is the purpose of the "Question" layer?