CSE 341 -- What's on the Final?
December 5, 1995
This is an informal list of problems or that might be on the
final. These are just ideas that Andy thought might help you prepare
for the final. You should just look these things over and make sure
that there are no gaps in your knowledge.
- What is returned by lisp for the following cases? (mapcar,
scoping with let, let* ,...)
- What is printed in the trascript by the following snippets of
Smalltalk code? (do, collect, blocks with arguments, messages and
control structures,...)
- What does prolog answer when given the the following qeries.
(unification, append, not, ! ...)
- Write a lisp function to do...
- Write a smalltalk method to do...
- Write a prolog rule to do...
- Explain how the smalltalk method lookup works in an inheritance
hierarchy. (Cow, MegaCow, Squid example...)
- What is the difference between a membership hierarchy and an
inheritance hierarchy? Organize some objects into this hierarchy.
- What is the difference between the declarative and procedural meanings
in Prolog?
- What is the behavior of lexically scoped variables compared to
statically scoped variables?
- What are some of the advantages and disadvantages of the storage
allocation mechanisms that we talked about including static, stack,
and heap.
- Explain the difference between call by value, call by result, call
by value-result, call by reference,and call by name.