- All Exams Instant Download
Which of the test cases below will exercise both outcomes from decision 2?
Refer to the exhibit
Which of the test cases below will exercise both outcomes from decision 2? [K3]
A . P = 24, Q = 20, P=24, Q=25
B . P = 36, Q = 36, P=37, Q=35
C . P = 42, Q = 43, P=42, Q=42
D . P = 37, Q = 36, P=35, Q=36
Answer: B
Explanation:
The question asks which of the test cases will exercise both outcomes from decision 2. Decision 2 is represented by node B in the flow graph. Node B has two outcomes: edge 2 (P > Q) and edge 3 (P <= Q). Therefore, to exercise both outcomes from decision 2, we need to choose a test case that covers both edge 2 and edge
Among the options given in this question, only B covers both edge 2 and edge
In B, P =36 > Q =36 for edge 2 and P =37 <= Q =35 for edge
Therefore, B is the correct answer.
Latest CTFL_Syll2018 Dumps Valid Version with 314 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments