nerdexam
ISTQB

CTFL18 · Question #516

The following program part is given: IF (condition A) or (condition B) then DO C END IF. How many test cases are necessary in order to achieve 100% decision coverage?

The correct answer is A. 4. See the full explanation below for the reasoning.

Question

The following program part is given:

IF (condition A) or (condition B) then DO C END IF. How many test cases are necessary in order to achieve 100% decision coverage?

Options

  • A4
  • B1
  • C3
  • D2

How the community answered

(31 responses)
  • A
    81% (25)
  • B
    10% (3)
  • C
    6% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full CTFL18 Practice