Oracle Cloud Platform Application Integration 2020 Specialist Exam: Decision Table Rules

Rules in a Decision Table

Question

Which two statements are true about rules in a decision table? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BC.

The correct statements about rules in a decision table are:

B. Every rule consists of one or more input entries and a corresponding output entry. C. When the input data matches the input entries of a rule, the result of the decision table contains the output entry of the rule.

Explanation:

A decision table is a structured way to represent complex business logic by mapping multiple input conditions to one or more output actions. It is composed of columns and rows where the columns represent the input conditions, and the rows represent the rules that specify the output actions.

Rules in a decision table are the individual rows in the table, which specify the specific conditions that must be met for a particular outcome to be produced. Each rule consists of one or more input entries, which define the conditions that must be met for the rule to apply, and a corresponding output entry, which specifies the action that must be taken if the input conditions are met.

For example, consider a decision table that determines the loan eligibility of customers based on their income, credit score, and loan amount. One of the rules in the decision table may state that if a customer's income is greater than $50,000, their credit score is above 700, and the loan amount is less than $100,000, they are eligible for the loan. In this case, the input entries are the income, credit score, and loan amount, and the output entry is the loan eligibility.

It is important to note that a decision table can contain multiple rules, and each rule can have different input and output entries. Therefore, statement A is incorrect.

Finally, the rules in a decision table are typically expressed as rows, not columns. The columns represent the input conditions and output actions, while the rows represent the specific combinations of input conditions that result in particular output actions. Therefore, statement D is also incorrect.

In summary, the correct statements about rules in a decision table are that every rule consists of one or more input entries and a corresponding output entry, and when the input data matches the input entries of a rule, the result of the decision table contains the output entry of the rule.