QUIZ 2, CS257, Spring 99 name: Barak Pearlmutter uid: barak@unm.edu Fill in mzscheme's response in each of the below interactions. The first is already done, as an example. Input Response (2 pts each) ================================================================ ;;; Example (define foo (lambda (x y) (list x x y))) ((A A B) C C D) (cons (foo 'a 'b) (foo 'c 'd)) ---------------------------------------------------------------- (list (equal? 'a 'b) (#t EEE) 'eee) ---------------------------------------------------------------- (append '(a b c) '(d e f)) (A B C D E F) ---------------------------------------------------------------- (define foo (lambda (x) (if (number? x) (list x) 'b))) (list '(foo a) ((FOO A) B (1) (FOO 1)) (foo 'a) (foo 1) '(foo 1)) ---------------------------------------------------------------- (cons (if 0 'a 'b) (cons (and 'one 'two) (A TWO THREE) (list (or 'three 'four)))) ---------------------------------------------------------------- (car ''foo) QUOTE