Com S 342 --- Principles of Programming Languages EXERCISE 15: EXAM 4 REVIEW (File $Date: 2004/04/27 04:17:34 $) The purpose of this exercise is for you to learn about interpreters and language semantics. As with all exercises, this is to be done individually. And it is due the day this topic is planned to be discussed in class, unless specified otherwise (see the syllabus at: http://www.cs.iastate.edu/~cs342/syllabus.shtml). As with all exercises, you have two choices for doing the work. You can either: - complete it as specified or - write down questions or problems that you had in trying to complete it. If you write down questions or problems you have, these should be detailed enough so that we can tell that you have read the materials and thought about them. (Don't just write: "I didn't understand how to do it". Instead, say what you tried and what you didn't understand.) During the class where this exercise is discussed, you should ask about these difficulties, and clear them up. Don't be shy; there will be other people with the same problem, and everyone can learn by discussing these issues. And you'll most likely see similar things on the homework, so it's best to understand them now. 1. [Exam review] Read the following, especially the EOPL2e book sections and the code examples: Essentials Of Programming Languages, Chapter 3, sections 3.1-3.8 up to p. 114 Interpreters for chapter 3, in files $PUB/lib/ch3-*.scm and loaded files. You may also want to look at the following readings if you have extra time: Essentials Of Programming Languages, Section 3.9 and Appendix A (especially pages 351-357) Structure And Interpretation Of Programming Languages, Chapter 4 (on-line at http://mitpress.mit.edu/sicp/full-text/book) As a practice for the exam, take, on paper, the old exam 4 from Fall 2001, found from the course exams page or directly from http://www.cs.iastate.edu/~cs342/old-exams/Fall01/exam4.pdf or in $PUB/old-exams/Fall01/exam4.pdf . ADDITIONAL READINGS If you have time, there are other old final exams available from the course exams web page. I would suggest also carefully looking over your graded homework and our solutions.