nerdexam
BCS-ISEB

BH0-010 · Question #65

Given the following fragment of code, how many tests are required for 100% statement coverage?

The correct answer is B. 2. See the full explanation below for the reasoning.

Question

Given the following fragment of code, how many tests are required for 100% statement coverage?

Options

  • A1
  • B2
  • C3
  • D4

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    78% (25)
  • C
    13% (4)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full BH0-010 Practice