ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 151 - CTFL4 discussion

Report
Export

Decision table testing is being performed on tran-sactions 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:

SEE ATTACHMENT 1

Given the following additional test cases:

SEE ATTACHMENT 2

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)?

A.
DT1, DT4
Answers
A.
DT1, DT4
B.
DT3, DT4
Answers
B.
DT3, DT4
C.
DT2, DT3
Answers
C.
DT2, DT3
D.
DT1.DT2
Answers
D.
DT1.DT2
Suggested answer: C

Explanation:

Decision table testing is used to analyze combinations of inputs to determine the appropriate outputs, often based on specific rules or conditions.

For the problem statement:

Rule 1: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = True, Correct PIN = True)

Outcome: Transaction = Approved

Rule 4: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = True, Correct PIN = False)

Outcome: Transaction = Declined

The additional test cases are:

DT1: (Withdrawal = Allowed, Balance = Insufficient, Fast Cash = True, Correct PIN = True)

Outcome: Transaction = Declined

DT2: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = False, Correct PIN = True)

Outcome: Transaction = Approved

DT3: (Withdrawal = Allowed, Balance = Insufficient, Fast Cash = True, Correct PIN = False)

Outcome: Transaction = Declined

DT4: (Withdrawal = Allowed, Balance = Sufficient, Fast Cash = False, Correct PIN = False)

Outcome: Transaction = Declined

From the given test cases, DT2 covers the scenario where Fast Cash is False, which is not covered in the initial cases. DT3 covers the case where Balance is Insufficient and PIN is incorrect.

Combining Rules 1 and 4 with DT2 and DT3 covers all the scenarios.

Certified Tester Foundation Level v4.0

10 Sample Exams ISTQB Foundation Level (CTFL) v4.0

asked 18/09/2024
MARCIA SHEILA PELAEZ GONZALEZ
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first