Exam CTFL-2018 All QuestionsBrowse all questions from this exam
Question 45

Decision table testing is being performed on transactions in a bank’s ATM (Automated Teller Machine) system. Two test cases have already been generated for rules 1 and 4, which are shown below:

Given the following additional test cases:

Which two of the additional test cases would achieve full coverage of the full decision table (when combined with the test cases that have already been generated for rules 1 and 4)?

    Correct Answer: A

    To achieve full coverage of the decision table, we need to ensure that all possible rules are covered by the test cases. Rules 1 and 4 have already been covered. The remaining test cases must cover the scenarios where: (1) an account has been entered but the amount has not, and (2) neither the account nor the amount has been entered. These conditions are captured by DT3 and DT4. DT3 tests for an account entered without an amount, and DT4 tests for neither an account nor an amount entered. Therefore, these two test cases combined with the existing ones achieve full decision table coverage.

Discussion
LJQAOption: C

Must be C. Two additional testcase must be covered: 3. Account - True, Amount - False 4. Acount - False, Amount - False