182k views
4 votes
Given below are two statements, one is labelled as assertion a and the other is labelled as reason rassertion a: software developers do not do exhaustive software testing in r: even for small inputs, exhaustive testing is too computationally intensive (e.g. takes too long) to run all the light of the above statements, choose the correct answer from the options given below:

1. both a and r are true and r is the correct explanation of a
2. both a and r are true but r is not the correct explanation of a
3. a is true but r is false
4. a is false but r is true

User Anjnkmr
by
8.4k points

1 Answer

4 votes

Final answer:

The correct answer is option 2. Both assertion A and reason R are true, but R is not the correct explanation of A. Option 2 is correct.

Step-by-step explanation:

The correct answer is option 2. Both assertion A and reason R are true, but R is not the correct explanation of A.

Assertion A states that software developers do not do exhaustive software testing, which is a true statement. Exhaustive testing involves running all possible inputs, which is often computationally intensive and time-consuming.

Reason R states that even for small inputs, exhaustive testing is too computationally intensive to run. This is also a true statement and provides a justification for why software developers do not perform exhaustive testing.

However, reason R is not the correct explanation for assertion A. The two statements are related, but reason R does not directly explain why software developers do not perform exhaustive testing. Instead, reason R provides a general explanation for why exhaustive testing is not practical, but it does not specifically address the practices of software developers.

User Rosamaria
by
8.7k points