BCS-ISEB
ISEB-SWTINT1 · Question #22
Given the following fragment of code, how many tests are required for 100% decision coverage? If width > lenth then Biggest_diension = width If height > width then biggest_dimension = height end_if…
Sign in or unlock ISEB-SWTINT1 to reveal the answer and full explanation for question #22. The question stem and answer options stay visible for context.
Test Techniques
Question
Given the following fragment of code, how many tests are required for 100% decision coverage? If width > lenth then Biggest_diension = width If height > width then biggest_dimension = height end_if else Biggest_diension = length If height>length Then Biggest_dimension = height End_if End_if
Options
- A3
- B4
- C2
- D1
Unlock ISEB-SWTINT1 to see the answer
You've previewed enough free ISEB-SWTINT1 questions. Unlock ISEB-SWTINT1 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.
Topics
#decision coverage#branch coverage#white-box testing#control flow