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 deep male and female rabbits apart! 07 End if 08 End If. Which of the following test cases will ensure that statement "06" is executed?
A) male rabbits = 1, female rabbits = 1, breed = Yes male rabbits = 1, female rabbits = 1, breed = "Yes"
B) male rabbits = 1, female rabbits = 1, breed = No male rabbits = 1, female rabbits = 1, breed = "No"
C) male rabbits = 1, female rabbits = 2, breed = Yes male rabbits = 1, female rabbits = 2, breed = "Yes"
D) male rabbits = 1, female rabbits = 0, breed = No male rabbits = 1, female rabbits = 0, breed = "No"
Correct Answer:
Verified
Q9: Q10: Which ADDITIONAL test level could be introduced Q11: Which of the following is a standard Q12: Which of the following is LEAST likely Q13: Under what circumstances would you plan to Q15: Which of the following BEST describes a Q16: From a Testing perspective, what are the Q17: Which of the following activities would improve Q18: Which of the following is a specification-based Q19: During which activity of the Fundamental Test![]()
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents