BCS-ISEB
BH0-010 · Question #10
BH0-010 Question #10: Real Exam Question with Answer & Explanation
Sign in or unlock BH0-010 to reveal the answer and full explanation for question #10. The question stem and answer options stay visible for context.
Question
Given the following sample of pseudo code: 01 Input number of male rabbits 02 Input number of female rabbits 03 If male rabbits > 0 and female rabbits > 0 then 04 Input Do you want to breed (Yes / No) 05 If breed = "No" 06 Print "Keep male and female rabbits apart!" 07 End if 08 End If. Which of the following test cases will ensure that statement "06" is executed?
Options
- Amale rabbits = 1, female rabbits = 1, breed = "yes".
- Bmale rabbits = 1, female rabbits = 1, breed = "no".
- Cmale rabbits = 1, female rabbits = 2, breed = "yes".
- Dmale rabbits = 1, female rabbits = 0, breed = "no".
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.