Next: Evaluation of Dylan Expressions
CS212 Preliminary Exam I
Name: SAMPLE KEY Id:
- There are five (5) parts to this exam. Please check now that you have a complete exam
booklet with twelve (12) numbered pages.
- Write your name and id number on each page of the exam.
- Be sure to try all of the problems, as some are more difficult than others. Don't waste
a lot of time on a problem that is giving you a hard time - move on to another problem and
then return to it later.
- This exam is closed book. No papers, books, notes, or computational devices may be used.
However, we will provide you with a copy of the Dylan quick reference sheet.
- There is space provided to answer each question. Ask for an extra piece of paper if you
need more space to answer a problem.
- The staff reserves the right to ignore illegible answers. Proper indentation of any code
you write will aid in the grading process.
- Many problems ask for an answer without any justification. If you feel uncomfortable
with your answer, feel free to add justification. Very often, an incorrect answer with
justification will receive some credit.
Problem |
Points Earned |
Total Possible |
1 (evaluation) |
|
20 |
2 (analysis) |
|
30 |
3 (h.o. functions) |
|
10 |
4 (induction) |
|
20 |
5 (abstraction) |
|
21 |
|
|
|
total |
|
101 |
Next: Evaluation of Dylan Expressions
Gregory Morrisett
3/11/1998