Rule-Based Test Techniques

Decision table testing with minimization, review criteria and the checksum procedure, and metamorphic testing.

5 minutes 5 Questions

In the ISTQB Certified Tester Advanced Level Test Analyst syllabus (v4.0), rule-based test techniques are black-box techniques that derive test cases from the business rules, logical conditions, or relationships that govern a test object's behavior. They sit alongside data-based techniques (such as…

Test mode:

CTAL-TA - Rule-Based Test Techniques Example Questions

Test your knowledge of Rule-Based Test Techniques

Question 1

A test analyst checks a draft minimized decision table for an order handling service. The conditions are customer type (retail, business, government), payment (card, invoice) and express (Y, N). Government customers can never pay by card, so those combinations are infeasible. The draft rules are: R1: type=retail, payment=card, express=- -> standard; R2: type=business, payment=-, express=Y -> priority; R3: type=government, payment=invoice, express=- -> manual approval; R4: type=retail, payment=invoice, express=N -> credit check. The analyst plans one test case for each concrete combination that the draft rules match, and will measure decision table coverage against the feasible columns of the full table. Which result is correct for the draft checksum, the checksum target and the coverage these test cases reach?

Question 2

A test analyst derives tests from a minimized decision table for a car rental pricing function. The conditions are C1 driver under 25 (Y/N), C2 premium car requested (Y/N) and C3 young-driver waiver held (Y/N). A business constraint states that only drivers under 25 can hold the waiver, so C1=N with C3=Y is infeasible. The rules are: R1: C1=N, C2=-, C3=- -> standard rate; R2: C1=Y, C2=Y, C3=- -> rental refused; R3: C1=Y, C2=N, C3=Y -> standard rate; R4: C1=Y, C2=N, C3=N -> young-driver surcharge. Each test case below is written as C1/C2/C3 followed by its expected result. Which set of test cases achieves 100% decision table coverage of the minimized table, uses only feasible inputs and states correct expected results?

Question 3

A test analyst checks a draft minimized decision table for an order fee service. The conditions are customer type (regular, premium, staff), payment (card, invoice) and express (Y, N). All 12 combinations are feasible. The requirement says staff pay no fee and premium customers pay 5. Regular customers pay 10 by card and 12 by invoice, except that regular express invoice orders cost 15. The draft rules are: R1: type=staff, payment=-, express=- -> fee 0; R2: type=premium, payment=-, express=- -> fee 5; R3: type=regular, payment=card, express=- -> fee 10; R4: type=regular, payment=invoice, express=- -> fee 12; R5: type=-, payment=invoice, express=Y -> fee 15. Which revision makes the table match the full table's checksum and keeps every rule consistent with the requirement?

More Rule-Based Test Techniques questions
248 questions (total)
Practice 100 questions
One session at a time, always new questions