Session #5
Answers
What does Racket ultimately evaluate an expression into?
Which expression correctly follows Racket prefix notation?
What does (substring "012345" 2 4) produce?
Which library is required for primitives such as rectangle and image-width?
What does the text primitive produce?
What happens when Racket evaluates a constant name such as WIDTH?
What is a predicate?
How does an if expression evaluate its branches?
What happens when evaluating (and false (/ 1 0))?
Which statement about or is correct?
Why are parameters useful in a function?
In a function call, what normally happens before parameter values are substituted into the body?
What is the best description of overlay compared with above?
What is a good use of the DrRacket Stepper?
If you know the primitive beside and want a related image-layout primitive, what strategy from the notes is appropriate?