self tests
how to use self tests
- a self test is just a list of expressions
- you play the scheme interpreter
- if you understand how each expression evaluates (or doesn’t),you’ve understood all the concepts covered in the recitation
- you should assume that the expressions are evaluated in the order given
warning
- some of these aren’t valid Scheme expressions at all
- some of these evaluate to an indeterminate value
- you should be able to
distinguish ill-formed exprs from valid exprs that fail to evaluate
say whether evaluation has an effect
say whether the value is known
explain what order evaluation happens in
suggestion
- if you’re not sure of the answer, try it!