) Questions with Correct
Answers {Grade A}100% Verified
Equivalence partitioning steps - correct answer 1. For each input, identify set of
equivalence partitions & label them
2. Write test cases to cover as many uncovered valid equivalence partitions as
possible
3. For each invalid, equivalence partition, write ONE test case for each uncovered
partition
Equivalence partitioning - correct answer Technique for diving input domain of a
program into a finite number of equivalence partitions (both valid and invalid partitions
are considered)
Weak Robust Equivalence Testing - correct answer Tests each error separately
,Strong Robust Equivalence Testing - correct answer Tests combination of error values
as well as each error
Boundary Value Testing - correct answer Test boundary conditions on, above, and
below the edges of both input and output equivalence partitions
Robust Testing - correct answer Testing boundary values separately
Worst-case Testing - correct answer Testing a combination of boundary values
Cause Effect Analysis - correct answer Testing a combination of inputs.
Can use decision trees and tables, where each path / column becomes a test case. Can
result in combinatorial explosion
T/F: Decision trees and tables will come up with the same number of test cases. -
correct answer False. Trees can have less than tables.
,T/F: Timelines perform verification - correct answer False. Timelines model async
events and identify significant use cases and place them on the timeline. This performs
validation.
State Based Testing - correct answer State diagram corresponding to states the
system can be in and corresponding events to go to new states
State diagrams should be inspected for 4 things. What are they? - correct answer
Completeness: Every state & event pair must be identified and conditional transitions
should be correct
Contradiction: Two transitions from the same state should not contain the same event.
Danger occurs with nested state charts
Unreachable States: States that cannot be entered
Dead States: States that cannot be exited.
, Design of Experiments (DOE) - correct answer A systematic approach for evaluating a
system of process which derives good code coverage. The goal is to minimize the
amount of test cases needed.
Full Factorial Design - correct answer test for every factor value combination
Fractional Factorial Design - correct answer Only a fraction of combinations are
addressed.
Steps for designing DOE pairwise testing - correct answer 1. Identify parameters that
define each input
2. For each parameter, find the partition
3. Specify constraints prohibiting combinations of configuration partitions
4. Specify configurations to test to cover all pairwise combos