BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ISTQB Exam ATTA Topic 1 Question 17 Discussion

Actual exam question for ISTQB's ATTA exam
Question #: 17
Topic #: 1
[All ATTA Questions]

Consider the following code fragment

If (a>b) and (b>c) then

b = (a+c)/2

endif

Assume that in the following options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable ''a'', the second number represents variable ''b'', and the third number represents variable ''c''. Which of the following gives a set of test case inputs that achieves 100% decision coverage for this fragment of code with the minimum number of test cases? 2 credits [K3]

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel