.ce TEST I CS524 .nf Instructor Dr P Juell NAME__________________________ 100 points, open book Dec 19, 1985 .fi .sp 1. (20) You have decided to 'simplify' Evan's analogy test program. You will do this by dropping one of the three parts in a rule description. Which part would you drop, and why? (Remember you want the program to work as well as possible with this reduced information.) .sp 2. (20) Draw an AND/OR tree to show the relationship of the following information: .sp An XYZ can be assembled using an hammer and cold chisel. .br You can use a screw driver if you do not have a cold chisel. .br Clean burs from the surface with chisel. .br Once the burs are removed nail parts togather. .br If you do not have time to assemble your XYZ have us assemble it. .br To have us assemble it, find the instructions. .br We need either $25 in cash or your Master Card number and your signature. .br Mail instructions, money and XYZ to the given address. .sp 3. (20) Write a lisp function redo that does the following. The function has one argument. The function returns a value with even/odd pairs of items interchanged. e.g. .br .nf (redo '(a b (c d (e f g)) h i )=(b a h (d c (f e g)) i) .fi .sp 4. (20) Why would the analogy test program have problems with tests such as the following? Briefly describe how you might fix it. .nf A B ----------- ------------ | | | | | | | | | | | | | | | | | | | | ----------- ------------ C 1 2 3 4 ----------- ------------ ------------ ------------ ------------ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------- ------------ ------------ ------------ ------------ .fi .sp 5. (20) Explain three major changes that you would have to make to the Evans analogy program to be able to use it to create (rather than analyze) analogy tests.