Noc20 Cs81 Assignment 01 Week 09
Noc20 Cs81 Assignment 01 Week 09
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Artificial Intelligence Search Methods For Problem Solving (course)
Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)
Unit 13 - Week 10
Course outline
The OPS5 Language (unit? 3) Which of the following terms are synonymous with “rules” in a production system? 1 point
unit=55&lesson=201)
Current state of the system
Conflict Resolution (unit?
Domain knowledge encoded in the system
unit=55&lesson=202)
Short term memory of an expert system
Business Rule Management
Long term memory of an expert system
Systems (unit?
unit=55&lesson=203) WMEs settled at the alpha nodes in a rete network
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=55&assessment=214 1/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 13 - Week 10
Week 11 These are the distinct sets of WMEs matching the same rule. The conflict is about selecting one of the sets of WMEs matching the given rule to fire next
It is a set of WMEs matching different rules. The conflict is about selecting one of the rules matching with the given set of WMEs to fire next.
Week 12 It is a set of matching Rule-WMEs tuples. The conflict is about selecting the next rule instance to be executed
It is a set of all Rule-WMEs pairs. The conflict is about selecting the right WMEs to match each rule
DOWNLOAD VIDEOS
No, the answer is incorrect.
Score: 0
Accepted Answers:
It is a set of matching Rule-WMEs tuples. The conflict is about selecting the next rule instance to be
executed
6) In the Rete algorithm when all the WMEs that match a rule remain as is in the working memory after the rule is executed; does that create a 1 point
problem?
Yes. The WMEs would keep matching the same rule and the IE will go in an infinite loop of executing the same rule
Yes. The matching WMEs should be removed from the WM explicitly to prevent them from matching the same rule again.
Yes. The rule should be temporarily added to a taboo list to prevent it from matching the same WMEs again
No. The property of refractoriness ensures that each rule is executed only once with a set of WMEs
No. The rule once executed is removed from the conflict set in order to prevent it from firing again
No, the answer is incorrect.
Score: 0
Accepted Answers:
No. The property of refractoriness ensures that each rule is executed only once with a set of WMEs
No. The rule once executed is removed from the conflict set in order to prevent it from firing again
8) Conflict resolution offers a mechanism for the programmer/user to control the execution behavior of the program as 1 point
it can be configured to instantiate rules matching the most recently added WMEs
it can be configured to facilitate a rule-WMEs tuple to be executed exactly once
it can be configured to eliminate the inconsistencies from a set of rules
it can be configured to prefer the most specific matching rule
No, the answer is incorrect.
Score: 0
Accepted Answers:
it can be configured to instantiate rules matching the most recently added WMEs
it can be configured to facilitate a rule-WMEs tuple to be executed exactly once
it can be configured to prefer the most specific matching rule
BEGIN GROUP
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=55&assessment=214 2/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 13 - Week 10
1 point
10) Which of the following Rule-WME tuples will be present in the conflict set? 1 point
admit-some,101
admit-some,102
admit-some,103
admit-some,104
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
admit-some,101
admit-some,102
admit-some,103
admit-some,104
11) If the Inference Engine is using Recency as the conflict resolution strategy, which of the following rule-WME pairs will be selected for execution 1 point
first?
admit-some,101
admit-some,102
admit-some,103
admit-some,104
None of the above
No, the answer is incorrect.
Score: 0
Accepted Answers:
admit-some,104
12) How many WMEs will be present in the WM after 2 cycles of execution?
1 point
END GROUP
BEGIN GROUP
A Rete Net of a rule based system to identify geometrical shapes is shown in the figure.
The labels (gray boxes) uniquely identify nodes in this network. Labels starting with “A” refer to Alpha nodes and the labels starting with “R” refer to rules.
The rest of the nodes are Beta nodes
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=55&assessment=214 3/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 13 - Week 10
.
The following Working Memory Elements (WMEs) are inserted into the Rete Net in the given order, and the elements are uniquely identified by their time
stamps (sequence numbers in this case). Assume that the WMEs reside in the appropriate Alpha nodes, and Beta nodes point to WMEs in the Alpha
nodes
a. For each working memory element identify its location (node label) in the Rete Net
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=55&assessment=214 4/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 13 - Week 10
1 point
1 point
1 point
Enter the count in the textbox. Enter 0 if a rule has no instances in the conflict set.
1 point
Enter the count in the textbox. Enter 0 if a rule has no instances in the conflict set.
1 point
Enter the count in the textbox. Enter 0 if a rule has no instances in the conflict set
1 point
19) If the Inference Engine uses Specificity as the conflict resolution strategy then identify the rule-data tuples that will be ready to fire. If multiple rule-data
tuples qualify then choose the rule Ri with the smallest index i.
Your answer must be a comma separated list starting with a rule label followed by the timestamps of matching WMEs in increasing order. For instance:
R1,210,211
1 point
20) If the Inference Engine uses Recency as the conflict resolution strategy then identify the rule-data tuples that will be ready to fire. If multiple rule-data
tuples qualify then choose the rule Ri with the smallest index i.
Your answer must be a comma separated list starting with a rule label followed by the timestamps of matching WMEs in increasing order. For instance:
R1,210,211
N th i i t
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=55&assessment=214 5/6
1/23/2021 Artificial Intelligence Search Methods For Problem Solving - - Unit 13 - Week 10
1 point
21) For the given Working Memory, list the rules (rule labels) that are not in the conflict set.Your answer must be a comma separated list of rule labels in
ascending order. If the list is empty enter NIL
1 point
END GROUP
https://onlinecourses.nptel.ac.in/noc20_cs81/unit?unit=55&assessment=214 6/6