nerdexam
BCS-ISEB

BH0-010 · Question #61

Given the following sample of pseudo code: Input ExamScore If ExamScore <= 75 then Print "Candidate has failed" Else Print "Candidate has passed" If ExamScore >= 120 then Print "Candidate has…

The correct answer is C. 3. See the full explanation below for the reasoning.

Question

Given the following sample of pseudo code:

Input ExamScore If ExamScore <= 75 then Print "Candidate has failed" Else Print "Candidate has passed" If ExamScore >= 120 then Print "Candidate has achieved a distinction" EndIf EndIf. What is the minimum number of test cases required to guarantee 100% decision coverage?

Options

  • A2
  • B1
  • C3
  • D4

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    13% (3)
  • C
    74% (17)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full BH0-010 Practice