# Software Testing Techniques - questions

## Software Testing Techniques - questions

Q.1______ is a white-box testing technique first proposed by Tom McCabe.

A) Equivalence Partitioning
B) Basis path testing
C) Boundary Value Analysis
D) None of the above.

Q.2 Which of the following is software metric that provides a quantitative measure of the logical complexity of a program?

A) Cyclomatic Complexity
B) LOC
C) Function Point
D) None of the above.

Q.3 Cyclomatic complexity is computed as

A) The number of regions of the flow graph corresponds to the cyclomatic complexity.
B) Cyclomatic complexity, V(G), for a flow graph, G, is defined as V(G) = E _ N + 2
where E is the number of flow graph edges, N is the number of flow graph nodes.

C) Cyclomatic complexity, V(G), for a flow graph, G, is also defined as V(G) = P + 1
where P is the number of predicate nodes contained in the flow graph G.

D) All of the above.

Q.4 In a flow graph, node that contains a condition and is characterized by two or more edges emanating from it, is called as

A) Parent node
B) Two Edge node
C) Predicate node
D) None of the above.

Q.5 Which of the following comes under the Control structure testing?

A) Condition testing
B) Loop testing
C) Data Flow Testing
D) All of the above.

Q.6 Black box testing is also known as:

A) Behavioral testing
B) Flow testing
C) Data testing
D) None of the above.

Q.7 In which of the following categories, Black-box testing attempts to find errors?

A) Incorrect or missing functions
B) Interface errors
C) Behavior or performance errors
D) All of the above.

Q.8 Equivalence Partitioning comes under which type of testing?

A) White Box testing
B) Black Box testing
C) Grey Box testing
D) None of the above.

Q.9 Which of the following are characteristics of testable software?

A) Observability
B) Simplicity
C) Stability
D) All of the above

Q.10 What types of errors are not done by black-box testing and can be uncovered by white-box testing?

A) Logic errors
B) Performance errors
C) Behavioral errors
D) None of the above.