What is the minimum number of test cases required to guarantee 100% decision coverage?
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.
- A. 2
- B. 1
- C. 3
- D. 4
Answer: Option C