ExamGecko
Question list
Search
Search

Related questions











Question 145 - CTFL-2018 discussion

Report
Export

The decision table above shows a company's fuel expenses structure.

Which of the following Test Cases based on the decision table are Valid?

Test Case 1:

An employee who is not a car or motorcycle driver attempts to claim fuel expenses. Expected result: Expense claim not allowed.

Test Case 2:

An employee who drives a 1700cc diesel car attempts to claim fuel expenses. Expected result: Expense claim accepted at band C.

Test Case 3:

An employee who rides a motorcycle attempts to claim fuel expenses. Expected result: Expense claim accepted at band A.

A.
Test Cases 1 and 3 are Valid, Test Case 2 is Invalid.
Answers
A.
Test Cases 1 and 3 are Valid, Test Case 2 is Invalid.
B.
Test Cases 2 and 3 are Valid, Test Case 1 is Invalid
Answers
B.
Test Cases 2 and 3 are Valid, Test Case 1 is Invalid
C.
Test Cases 1, 2 and 3 are all Valid.
Answers
C.
Test Cases 1, 2 and 3 are all Valid.
D.
Test Cases 2 is Valid, Test Cases 1 and 3 are Invalid
Answers
D.
Test Cases 2 is Valid, Test Cases 1 and 3 are Invalid
Suggested answer: C

Explanation:

Test Cases 1, 2 and 3 are all valid, because they cover all the possible combinations of conditions and actions in the decision table. Test Case 1 covers the case where the employee is not a car or motorcycle driver, which leads to the action of not allowing the expense claim. Test Case 2 covers the case where the employee drives a diesel car with an engine size greater than 1600cc, which leads to the action of accepting the expense claim at band C.Test Case 3 covers the case where the employee rides a motorcycle, which leads to the action of accepting the expense claim at band A12.

asked 18/09/2024
Mary Andreou
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first