SCXT 350

 

Exam #3

 

 

 

 

 

Name ___________________________________

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Friday, April 30

90 pts.  (will be adjusted to 100 pts. in the gradebook)


 

 

The story so far

 

A good example of the symbolic approach to AI appears in one of its success stories: the expert system.  Before we dive into that, however, we wrap up our discussion of  knowledge representation and other issues of memory.

 

1.         (15 pts.)           What is an inheritance (IS-A) hierarchy?  Sketch a brief example of one that you might encounter in your studies.  For biologists, this is an easy question.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2.         (15 pts.)           What is a script?  By way of an example, what might be a brief script for taking an exam (just the script – don’t worry about listing preconditions, postconditions, etc.).

 


3.         (10 pts.)           In his talk on memory illusions, Professor Reinitz told us that the scripts we carry around with us might cause us to remember events that did not happen.  How might this come about?  Give a (brief) example.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4.         (10 pts.)           Professor Hale talked to us about the difficulty in diagnosing Alzheimer’s disease.  What are some of the reasons for this?

 

 

 


5.         (15 pts.)           Sketch the architecture of an expert system, identifying parts.

 

 


6.         (10 pts.)           Suppose that we want to store information in our CLIPS database about singers in our choir.  We want to store the singer’s name, age, and voice (soprano, tenor, etc., though you do not need to know these values in working this problem).  Write an appropriate deftemplate command in CLIPS to do this.

 

 


7.         (15 pts.)           Suppose that we have the following rules:

 

            (defrule rule1

                        (temperature high)

                        (smoke none)

            =>

                        (assert (open window)))

 

            (defrule rule2

                        (temperature high)

                        (smoke yes)

            =>

                        (assert (call fire department)))

 

 

            and the following facts in our database:

 

                        (temperature high)

                        (smoke no)

 

 

            Which of the rules will fire, and which will not (and why in either case), and what will be the effect of the rule(s) that fire on the database?