nerdexam
BCS-ISEB

ISEB-SWT2 · Question #34

ISEB-SWT2 Question #34: Real Exam Question with Answer & Explanation

Sign in or unlock ISEB-SWT2 to reveal the answer and full explanation for question #34. The question stem and answer options stay visible for context.

Question

Given the following sample of pseudo code: Read A, B, C: If A > B then Print Primary ratio is ?& A / B; End If If A > C then Print Secondary ratio is ?& A / C; End If. Which of the following test cases would achieve 100% statement coverage?

Options

  • AA = 5, B = 10 and C = 2
  • BA = 10, B = 10 and C = 10
  • CA = 10, B =5 and C = 2
  • DA = 2, B= 5 and C = 10

Unlock ISEB-SWT2 to see the answer

You've previewed enough free ISEB-SWT2 questions. Unlock ISEB-SWT2 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.

Full ISEB-SWT2 Practice