Week 3 Flashcards
(True or False) Combinatorial coverage looks at parameter values being individually tested.
False
Combinatorial coverage looks at how combinations of parameter values are tested together
Assume we are testing a function with 3 variables:
Variable A: has values 0 and 1 Variable B: has values 0 and 1 Variable C: has values 0 and 1
What is the total 2-way variable value configuration coverage achieved by the following tests:
A=0; B=0; C=0
A=0; B=1; C=1
A=1, B=1, C=0
1 / 1 point
9/12
7/12
10/12
8/12
9/12
Possible combinations: A=0 B=0; A=0 C=0; B=0 C=0; A=0 B=1; A=0 C=1; B=1 C=1; A=1 B=1; A=1 C=0; B=1 C=0
What is the goal of the design of experiments?
Minimize the number of tests we need to run
Maximize the number of tests we need to run
Test a random number of combinations
Minimize the number of tests we need to run
(True or False) Design of Experiments pairwise combination involves systematically testing all combinations of inputs.
False
Only pairs of values for each input are tested together, not all combinations of values of inputs.
Given 3 inputs: P1 with values V1 and V2; P2 with values V3, V4, and V5 and P3 with values V6 and V7, what are the correct tests for a pairwise combination design of experiments?
V3 V1 V6 V3 V2 V7 V4 V1 V7 V4 V2 V6 V5 V1 V6 V5 V2 V7
V3 V1 V6
V4 V1 V6
V5 V1 V6
V3 V1 V6 V3 V2 V7 V4 V1 V6 V4 V2 V7 V5 V1 V6 V5 V2 V7
V3 V1 V6
V3 V2 V7
V4 V1 V7
V4 V2 V6
V3 V1 V6 V3 V2 V7 V4 V1 V7 V4 V2 V6 V5 V1 V6 V5 V2 V7
What is NOT an example of a mutation?
Renaming a class and anywhere that the class is called or found
Modifying Boolean expressions
Modifying arithmetic operations
Renaming a class and anywhere that the class is called or found
What is NOT an example of a mutation?
Modifying arithmetic operations
Renaming a class and anywhere that the class is called or found
Modifying variables
Modifying Boolean expressions
Renaming a class and anywhere that the class is called or found
True or False? Fuzz testing consists of random, invalid or unexpected inputs that are created automatically.
True
Fuzz testing is an approach to testing where invalid, random or unexpected inputs are automatically generated.
True or False? Fuzz testing looks only for undesirable behavior or crashes.
True
Fuzz testing is not looking at specific inputs or outputs, but is instead looking for an error or a wrong behavior.
True or False? Metamorphic testing makes the assumption that if there is a program with input x that results in output y, and there is a change to input x, that same change is not reflected in output y.
False
Metamorphic testing makes the assumption that when changes are made to an input, it is possible to predict changes on the output.
Without using a calculator, what would be the expected output of this example using metamorphic testing for the third test case?:
Initial Test: 5 10 15 20 25 Stan. Dev Result: 7.2
Second Test: 5 15 25 35 45 Stan Dev Result: 14.4
Third test: 15 20 25 30 35 Stan Dev Result:
1 / 1 point
- 2
- 4
- 6
- 8
7.2
When the values are incremented by 5, the standard deviation was 7.2 In the third test, the values are incremented by 5.
True or False? Defect based testing can only be applied at the unit level.
False
Defect based testing can be applied at any level of testing.
True or False? Defect based testing looks to create test cases that target specific defect categories
True
Defect based testing can target any defect category from the Beizer Generic Defect Taxonomy Categories.
True or False? In exploratory testing, all test scripts are not developed in advance.
True
What is tested next is based on the results of the previous tests.
True or False? Exploratory testing focuses on a tour that helps detect a specific error.
True
Exploratory testing can consist of requirements, features, continuous use, documentation, etc. tours that focus on different errors.