Artificial Intelligence: Knowledge Representation and Reasoning
Week 4 Assessment 1 - Answers
1. A rule-based system has two types of memory components - long term memory and short term
memory. The former corresponds to ________ and the latter corresponds to ________. (b)
a. WMEs, Rules
b. Rules, WMEs
c. Alpha nodes, Beta nodes
d. Antecedent, Consequent
2. Consider the following rule in an OPS5 like language.
(p Print_rule
(program ^running <yes>)
→
(print “program is running”)
)
Assuming that the working memory contains the data element (program, ^running yes) and
assuming that this is the only rule in the program, then the program will execute the above rule,
(b)
a. zero times
b. one time √
c. two times
d. will keep executing till aborted by the user
e. none of the above
– because refractoriness says that a rule-data combination can execute only once.
Otherwise the inference engine will be caught in an infinite loop.
3. The Rete Network is, (c,d)
a. a fiber optic network
b. a 4G broadband network
c. a mechanism to improve the efficiency of matching rules with data
d. a compilation of rules in a rule based system
e. none of the above
4. A Rete Network has the following kinds of nodes (a,c)
a. discriminative nodes to route WMEs
b. nodes for DNS resolution
c. assimilative nodes that match and combine related WMEs
d. repeater nodes to amplify and repeat the incoming signal
5. The left hand side and the right hand side of a rule in an OPS5 like language
respectively contain, (c)
a. premises only and conclusions only
b. patterns that match data and conclusions only
c. patterns that match data and actions supported by the language
d. none of the above
6. Conflict resolution in OPS5 involves, (a)
a. selecting one rule from a set of matching rules given the data
b. elimination of inconsistencies from a set of rules
c. addressing the problem of refugees from a war torn country
d. inviting feuding parties for a discussion to mutually resolve only disputes