COMPSCI 61A Study Guide - Midterm Guide: Car And Cdr, Abstract Data Type
![COMPSCI 61A Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2415239-class-notes-us-berkeley-compsci-61a-lecture15.jpg)
22
COMPSCI 61A Full Course Notes
Verified Note
22 documents
Document Summary
If an expression produces an error message or runs forever without producing a result, you may just say error; you don"t have to provide the exact text of the message. ;keep is definied in the lecture notes, p. 128 of the reader ((lambda (a) (lambda (b) (se a b)) "over)) "under)) (if (not (lambda () 10)) (/ 1 0) "scheme) (let ((a 5) (b (+ a 3))) (* a b)) ((lambda (a b) ((if (< b a) + *) b a)) 4 6) (first "(word "a "b "c)) > ((function-combiner (list list first bf bl)) "(first second third fourth)) (second) > ((function-combiner (list cader)) "(here is a list)) list. Problem #3 (8 points): (define (garply n) (if (< n 20) n (+ (foo n) (garply (- n 1)) )) ) Assuming foo is defined somewhere, please circle true or false. and in one sentence explain your choice.