Quiz 0 - Pre-Quiz

CS 152 - Spring 2008

E-mail:

First Name:

Last Name:

Student ID:

Registered? (circle one): Yes No

Status? (circle one):


Grad
Graduating-Senior
Undergrad
Other

[Caution]Caution

This quiz serves as your proof of attendance on the first day of instruction. Even if you do not know the correct answers, please turn in this quiz to ensure your registration or wait-list status.

[Important]Important

Be advised that the next quiz will be on Tuesday, January 29.

How much Lisp/Scheme do you know?

Please answer to the best of your abilities. Again, if you do not know the answers, you may leave them blank.

Evaluate the following Lisp expressions:

  1. (+ 1 2 3)
    
  2. (if (< 4 3) 0 (* 10 10) )
    
  3. (car '((a b) (c d)))
    
  4. ((lambda (x y)
       (+ (* x x) (* y y)))
     2 3)