Which of the following could be used to assess the coverage achieved for structure-based(white-box) test techniques? V -Decision Outcomes Exercised W -Partitions Exercised X -Boundaries Exercised Y -Conditions or multiple conditions exercised Z -Statements Exercised

  1. V,W or Y

  2. W, X or Y

  3. V,Y or Z

  4. W,X or Z


Correct Option: C

AI Explanation

To assess the coverage achieved for structure-based (white-box) test techniques, we need to consider which aspects of the structure have been exercised. Let's go through each option to understand which ones are correct:

Option A) V, W or Y - This option is incorrect because it includes option V, which refers to "Decision Outcomes Exercised." Decision outcomes are typically associated with black-box testing techniques, not structure-based (white-box) testing.

Option B) W, X or Y - This option is incorrect because it includes option X, which refers to "Boundaries Exercised." While boundary testing is commonly used in structure-based testing, it alone does not represent the coverage achieved by structure-based techniques.

Option C) V, Y or Z - This option is correct because it includes options Y and Z, which are both applicable to structure-based testing. "Conditions or multiple conditions exercised" (option Y) and "Statements Exercised" (option Z) are key elements to consider when assessing the coverage achieved by structure-based testing.

Option D) W, X or Z - This option is incorrect because it includes option W, which refers to "Partitions Exercised." Partitions are commonly associated with equivalence partitioning, which is a black-box testing technique, not structure-based testing.

Therefore, the correct answer is C. This option includes the aspects relevant to assessing coverage achieved by structure-based (white-box) test techniques.

Find more quizzes: