Thursday, December 24, 2009

Testing Multiple Choice Questions-5

Testing Metrics Multiple Choice Questions

1
.......is possibly the most widely used metric for program size.

A) FP
B) CC
C) LOC
D) VV

2
Defect Density is ......

A) no. of defects in a software product / .5 x size of product
B) no. of defects in a software product / total size of product
C) no. of defects in a software product / Half size of product
D) no. of defects in a software product / Complexity of product

3
A line of code is any line of program text that is not a comment or a blank line, regardless of the number of statements or fragments of statements on the line. This specifically includes all lines containing .........

A) program headers
B) declarations
C) executable statements
D) non-executable statements
E) all of above

4
....... The activities involved in identifying defects or potential defects and preventing them from being introduced into a product.

A) debugging
B) defect prevention
C) catching defects
D) bug tracking

5
........ is the number of defects that are outstanding and unresolved at one point in time with respect to the number of defects arriving.

A) Defect log
B) Defect tracking
C) Defect density
D) Defect backlog

6
Test case effectiveness is ........

A) (Faults found by test cases / Total number of faults reported)*1000%
B) (Faults found by test cases / Total number of faults reported)*100%
C) (Faults found by test cases / Faults found by test cases + Total number of faults reported)*100%
D) (Faults found by test cases / Faults found by Use cases + Total number of faults reported)*100%

7
Defect spoilage is calculated as

A) Spoilage = Sum of (Number of Defects x defect %age) / Total number of defects
B) Spoilage = Sum of (Number of Defects + defect age) / Total number of defects
C) Spoilage = Sum of (Number of Defects _ defect age) / Total number of defects
D) Spoilage = Sum of (Number of Defects x defect age) / Total number of defects

8
Metrics usually fall into a few categories: ..........

A) project management (which includes process efficiency)
B) process improvement
C) Variation Matrices
D) Validation matrices

9
......... is the accumulated difference between defect arrivals and defects that were closed.

A) Defect accumulated
B) Defect Density
C) Defect backlog
D) Defect per module

10
Metrics are used as a tool for process improvement and to identify where improvement efforts should be concentrated and measure the effects of process improvement efforts.

A) True
B) False

1) c, 2) b, 3) e, 4) b, 5) d, 6) b, 7) d, 8) a,b, 9) c, 10) a