ISTQB
CTFL_UK · Question #185
CTFL_UK Question #185: Real Exam Question with Answer & Explanation
Sign in or unlock CTFL_UK to reveal the answer and full explanation for question #185. 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 CTFL_UK to see the answer
You've previewed enough free CTFL_UK questions. Unlock CTFL_UK 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.