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:
This question requires matching software testing techniques from List I with their corresponding descriptions in List II. Let's break down each technique and its definition to find the correct pairings.
Equivalence Partitioning is a black-box testing technique used to reduce the number of test cases. It involves dividing the input data of a software item into partitions of equivalent data from which test cases can be derived. The core idea is that testing one condition from each partition is equivalent to testing any other condition from the same partition. Therefore, it:
This aligns perfectly with Description II: "Divides input into valid/invalid sets".
Boundary Value Analysis (BVA) is closely related to Equivalence Partitioning. While Equivalence Partitioning focuses on partitions, BVA specifically targets the boundaries or edges of these partitions. It is based on the observation that errors often occur at the boundaries of input ranges. Therefore, it:
This matches Description III: "Focuses on limits of input ranges".
Cyclomatic Complexity is a software metric used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent paths through a program's source code. Developed by Thomas McCabe, Sr., it provides a measure of the complexity of the code, which can help in determining the minimum number of test cases required to achieve certain levels of code coverage.
This corresponds to Description I: "Measures independent paths in code".
Decision Table Testing is a technique used for testing systems where the output is dependent on a combination of input conditions. It's particularly useful for complex business logic, situations involving multiple conditions, and when the number of possible combinations needs to be managed systematically. A decision table:
This precisely matches Description IV: "In which a number of combinations of actions are tested under varying sets of conditions."
Based on the explanations above, the correct matches are:
Therefore, the correct option combines these matches.
What is coupling in software design?
In Boundary Value Analysis Testing Method, if we want to design a test case that computes the square root of an integer value from 1 to 4000, so what values should be included in the test case?
Fault base testing technique is
In software testing, beta testing is the testing performed by _______.
Given below are two statements, one is labelled as Assertion A and the other is labelled as Reason R
Assertion A : Software developers donot do exhaustive software testing in practice.
Reason R : Even for small inputs, exhaustive testing is too computationally intensive (e.g., takes too long) to run all the tests.
In light of the above statements, choose the correct answer from the options given below