1998 Spring
For this exam, The break down was:| Range | # | 
|---|---|
| 95-100 | 7 | 
| 85-94 | 28 | 
| 75-84 | 12 | 
| 65-74 | 6 | 
| <64 | 7 | 
(append2 (list 'cyan 'teal) (list 'ochre));
the answer should be
(list 'cyan 'teal 'ochre)
(If two lines denote equal values, connect them with ``='';
don't write down a series of unrelated values.)
For this problem, you don't need to write the data-definition and template for a <list-of-symbol>, though if you are stuck these might help you, and they can provide partial credit.
You of course cannot appeal to the built-in function append.
(solution)
(add1 m), where m is a <natNum>.
'list-too-short if los has fewer than n items.
(nth-rest 2 (list 'four 'scores 'and 'twenty)) = (list 'and 'twenty)You may simplify and combine cases if you like, but be careful! Indicate whether or not you can rearrange your
cond's
 question/answer pairs and still produce the correct answer.
define-structs.
local.
Show the (recursive) calls to your function(s)
that occur in
the hand-evaluation of (max (list 7 5 9 2)).
Be sure to include a contract and description for all
functions you write.
(You don't need to write any data description for this problem,
though you are welcome to.)
(solution)