TestYourself questions for Rule writing techniques and logical equivalents
- Last Updated: March 24, 2022
- 2 minute read
- Corticon
- Version 6.3
- Documentation
TestYourself questions for Rule writing techniques and logical equivalents
Note: Try this test, and then go to TestYourself answers for Rule writing techniques and logical equivalents to see how you
did.
- Filters act as master rules for all other rules in the same Rulesheet that share the same _________.
- An expression that evaluates to a true or false value is called a _________ expression.
- True or False. Condition row values sets must be complete.
- True or False. Action row values sets must be complete.
- The special term __________ can be used to complete any condition row values set.
- Which operator is used to negate a Boolean expression?
- If a Boolean expression is written in a condition row, which values are automatically entered in the values set when Enter is pressed?
- A Filter expression written as
Entity.boolean1=Tis equivalent to which of the following? (Circle all that apply.)Entity.boolean1Entity.boolean1<>FEntity.boolean1=Fnot (Entity.boolean1=F) - Of all alternatives listed in Question 8, which is the best choice? Why?
- Describe the error (if any) in each of the following value ranges.
Assume all are used in Conditions values sets.
- {1…10, other}
- {1..a, other}
- {‘a'..other}
- {1..10, 5..20, other}
- {1..10, [10..20), other}
- {‘red', ‘green', ‘blue'}
- {<0, 0..15, >3}
- True or False. The special term
othercan be used in Action row values sets. - Using best practices discussed in this section, model the following
rules on a single Rulesheet:
- If the part is in stock and it has a blue tag, then the part's discount is 10%.
- If the part is in stock and it has a red tag, then the part's discount is 15%.
- If the part is in stock and it has a yellow tag, then the part's discount is 20%.
- If the part is in stock and it has a green tag, then the part's discount is 25%.
- If the part is in stock and it has any other color tag, then the part's discount is 5%.
- True or False. A nonconditional rule is equivalent to an action expression with no condition.
- True or False. A nonconditional rule is governed by any preconditions on the same Rulesheet.