BCS-ISEB
BH0-010 · Question #309
BH0-010 Question #309: Real Exam Question with Answer & Explanation
Sign in or unlock BH0-010 to reveal the answer and full explanation for question #309. The question stem and answer options stay visible for context.
Question
A software component has the code shown below: Program BiggestA, Biggest: Integer Begin Read A Biggest = 10 While A > 0 Do If A > Biggest Then Biggest = A Endif Read A Enddo End The component has exit criteria for component testing that include 100% statement coverage. Which of the following test cases will satisfy this criterion?
Options
- A0
- B10, 0
- C10, 5, 0
- D10, 11, 0
Unlock BH0-010 to see the answer
You've previewed enough free BH0-010 questions. Unlock BH0-010 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.