Given below are two statements, one is labelled as Assertion A and the other…
2021
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
- A.
Both A and R are true and R is the correct explanation of A
- B.
Both A and R are true but R is NOT the correct explanation of A
- C.
A is true but R is false
- D.
A is false but R is true
Attempted by 68 students.
Show answer & explanation
Correct answer: A
Answer: Both the Assertion and the Reason are true, and the Reason correctly explains the Assertion.
Explanation:
What the Assertion states: Software developers do not perform exhaustive testing in practice.
What the Reason states: Exhaustive testing requires running every possible input combination, which can be extremely large and thus computationally intensive and time-consuming.
Why the Reason explains the Assertion: The number of possible inputs grows rapidly (combinatorial explosion). For example, a single 32-bit integer has about 4 billion possible values; multiple input parameters multiply the number of combinations, making complete testing infeasible in time and resources.
Practical consequence: Developers use targeted testing strategies such as equivalence partitioning, boundary value analysis, risk-based testing, automated regression tests, fuzzing, and selective exhaustive checks for small critical components rather than full exhaustive testing.
Conclusion: The Reason gives the correct explanation for the Assertion, so both statements are true and the Reason explains the Assertion.
A video solution is available for this question — log in and enroll to watch it.