Match List I with List II
| List I |
List II |
| A. Equivalence Partitioning |
I. Measures independent paths in code |
| B. Boundary Value Analysis |
II. Divides input into valid/invalid sets |
| C. Cyclomatic Complexity |
III. Focuses on limits of input ranges |
| D. Decision Table Testing |
IV. In which a number of combinations of actions are tested under varying sets of conditions. |
Choose the correct answer from the options given below:
1.A-II, B-III, C-I, D-IV ✓ Correct
2.A-II, B-III, C-IV, D-I
3.A-III, B-II, C-I, D-IV
4.A-IV, B-II, C-I, D-III
Solution
The Correct answer is: Option 1 (A-II, B-III, C-I, D-IV)
Equivalence Partitioning (A-II):
- Equivalence Partitioning is a software testing technique that divides input data into partitions or sets of valid and invalid inputs.
- It helps reduce the number of test cases to an optimal level while ensuring coverage of all possible scenarios.
- In this technique, the input is divided into valid/invalid sets, making it easier to check the behavior of the system for each partition.
Boundary Value Analysis (B-III):
- Boundary Value Analysis is a testing technique focused on the boundaries or limits of input ranges.
- It tests the behavior of the system at the boundary values (e.g., the minimum, maximum, just inside, just outside, and typical values).
- This technique is particularly useful for identifying errors at the edges of input ranges.
Cyclomatic Complexity (C-I):
- Cyclomatic Complexity is a metric used in software testing and development to measure the complexity of a program's control flow.
- It is calculated by counting the number of independent paths in the code.
- This metric helps identify areas of code that may require more rigorous testing.
Decision Table Testing (D-IV):
- Decision Table Testing is a software testing technique that uses a decision table to represent combinations of conditions and actions.
- It systematically tests different combinations of input conditions to ensure that all possible scenarios are covered.
- In this approach, a number of combinations of actions are tested under varying sets of conditions.