Skip to content
CodeKruPro

Decision table: which rule is not tested yet?

QuizMediumAsked in: Accenture, Infosys, Wipro

A decision table lists each combination of conditions as a rule (a column) with its expected result. The discount rules are:

RuleR1R2R3R4
Member?YesYesNoNo
Total 1,000 or more?YesNoYesNo
Discount15%5%5%0%

A tester has three tests: a member with an order of 1,200; a member with an order of 800; a non-member with an order of 1,500. Which rule is not covered?

  • R4: a non-member with a total below 1,000, expecting 0%
  • R1: a member with a total of 1,000 or more
  • R3: a non-member with a total of 1,000 or more
  • None: three tests are enough for four rules

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in