Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Artificial Intelligence assignment, Study notes of Computer Science

It is multiple choice question on artificial intelligence.

Typology: Study notes

2017/2018

Uploaded on 02/22/2018

engg-prem
engg-prem 🇮🇳

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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
pf2

Partial preview of the text

Download Artificial Intelligence assignment and more Study notes Computer Science in PDF only on Docsity!

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 ) → (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
  1. The following are the strategies often used in Conflict Resolution in OPS5 (a,b,d) a. Specificity b. Recency c. Mediation d. Means Ends Analysis e. Referring the matter to the International Court of Justice f. Declobbering
  2. Consider two rules present in the memory of a rule-based system – Rule A : (p notSwimRule (is ^mammal ) → (make (cannot ^swim )) ) Rule B : (p swimRule (is ^mammal ) (is ^whale ) → (make (can ^swim )) ) Now consider the following set of WMEs - 1. (is ^mammal moby) 2. (is ^whale moby) 3. (is ^mammal rusty) How many <rule, data> pairs would be present in the conflict set in the match phase of the inference engine? 3 The conflict set: CS = {<notSwimRule, 1 >, <notSwimRule, 3>, <swimRule, 1, 2>}
  3. If recency is employed as the conflict-resolution strategy on the above problem, what conclusion would be made when one rule is selected and executed? The WMEs are stored in increasing order of their timestamp values in the memory as indicated. (a) a. (cannot ^swim rusty) – because WME 3 is the most recent in the WM matching a rule b. (can ^swim rusty) c. (cannot ^swim moby) d. (can ^swim moby) e. none of the above
  4. If specificity is employed as the conflict-resolution strategy on the same problem, what conclusion would be made when one rule is selected and executed? The WMEs are stored in increasing order of their timestamp values in the memory as indicated. (d) a. (cannot ^swim rusty) b. (can ^swim rusty) c. (cannot ^swim moby) d. (can ^swim moby) – because swimRule is the most specific matching rule in the CS e. none of the above 1 1. Which of the following are true regarding alpha and beta nodes? (a,c) a. Alpha nodes are discriminative in nature while beta nodes are assimilative in nature b. An alpha node can have a beta node as its parent c. An alpha node can have only one parent d. A beta node can have only one parent