;;;Name (NetId) ;;;Name (NetId) ;;;Problem Set 2-CS212 Spring 99 ;;;---------------------------------------- ;;;Written Exercise 1 #| Answer to Written assignment 1 |# ;;;---------------------------------------- ;;;Written Exercise 2 #| Answer to Written assignment 2 |# ;;;---------------------------------------- ;;;Programming Exercise 1 Some real code that can run. ;Sample Output ;==> (+ 1 2) ;3 ;==> (cons 1 2) ;(1 . 2) ;;;---------------------------------------- ;;;Programming Exercise 2 Some real code that can run. ;Sample Output ;==> (+ 5 7) ;12 ;==> (cons 3 4) ;(3 . 4) ;;;---------------------------------------- ;;;Programming Exercise 3 ;NOTE: I couldn't get this code to work. #| Some real code that doesn't work. |# ;;;---------------------------------------- ;;;Programming Exercise 4 Some real code that can run. ;Sample Output ;==> (- 11 2) ;9 ;==> (head (cons 1 2)) ;1 ;;;---------------------------------------- ;;;Programming Exercise 5 Some real code that can run. ;Sample Output ;==> (modulo 12 7) ;5