CS 214: Programming Languages
Spring 2009

Home|Syllabus|Schedule

Final Exam

The Final Exam is tied with Exam #3.

The Final Exam consists of two parts, one take home and the other in-class.

Final Exam: Part I

Suppose you are asked to implement boolean literals true and false in your interpreters (both Hobbes and Schobbes). + should compute the "or" of two booleans; * should compute the "and" of two booleans; == should compare if they are equal.

Write a 2–3 page LaTeX paper describing how you would go about this. You do not have to give any code (and probably shouldn't unless you actually do implement this feature). Instead describe the steps you'd take.

Some things to consider:

Don't worry about specific changes. That is, don't describe the code necessary to get + to work with booleans. Describe what has to change, and give a little indication of how (e.g., "add another method for the multiple dispatch").

Final Exam: Part II

Part II is a normal in-class exam, consisting of short- and long-answer questions based on these topics as covered all semester:

This part will be worth 10–25 points.