Consider the pseudo code provided below regarding a customer request for cash withdrawal from an ATM.
If the customer has sufficient funds in their account
OR the customer has the credit granted
THEN the ATM machine pays out the requested amount to the customer
Which of the following test cases would be the result of applying multiple condition testing, but would NOT be the result of applying modified condition/decision testing?
A . TC 1: Customer has sufficient funds. Credit has not been granted.
B . TC 2: Customer does not have sufficient funds. Credit has been granted.
C . TC 3: Customer does not have sufficient funds. Credit has not been granted.
D . TC 4: Customer has sufficient funds. Credit has been granted.
Answer: C
Explanation:
Multiple condition testing requires each possible combination of conditions to be tested, whereas modified condition/decision testing (MC/DC) requires each condition to be shown to independently affect the outcome. In the case of the ATM withdrawal, TC 3 (Customer does not have sufficient funds and credit has not been granted) would not result in the machine paying out, which is a result of applying multiple condition testing. However, for MC/DC, this test case would not be included because it doesn’t provide an independent assessment of either condition’s effect on the decision since both conditions are negative and the outcome is as expected (no payout).
Latest CTAL-TTA Dumps Valid Version with 65 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund