The following homework assignments were given for the fall semester 1995 offering of the class.
Do the following exercises and submit your responses to Professor Cunningham by the due date. It may be necessary for you to consult other books, journals, or magazines. (The Library is next door to our building!) The responses will be evaluated according to their technical content, clarity, insightfulness, quality of presentation, etc. Please use only one side of the paper and staple your papers together in the proper order.
Do the following exercises from Chapter 3, pages 130-31, of the Sebesta textbook.
Do problem 20 on page 131 of the Sebesta textbook.
Choose 3 of the problems from exercises 2, 3, 4, 5, and 6 on pages 18-19 of Chapter 1 of the Kamin textbook. Write programs using the Chapter 1 language.
NOTE: These should be implemented and executed on the actual Kamin interpreter.
From page 59-60 of Chapter 2 of the Kamin book (handout), do exercise 1 parts (a) and (b). Also select one of parts (c), (d), or (e).
NOTE: These should be implemented and executed on the actual Kamin interpreter for Lisp.
Note that the due date on this assignment has been moved from 8 November to 13 November.
Write and test a Prolog "program" for Exercise 1.3 on pages 20-21 of the Clocksin-Mellish Prolog book. (I gave a handout containing these pages.) You can enter a database of facts for father, mother, male, female, and parent. That is, enter facts like "father(harold,conrad)" to test your rules.
Use the B-Prolog interpreter on either DOS PCs or the FreeBSD systems Faser or Cy. (You may, of course, use any other Prolog system that you have available.)
UP to CSCI 450 root document?