Here is a link to the Fall 2009 Midterm and some Solutions. Some questions will have more than one correct answer.
print product sum 2 3 7
to silly :name nonsense first :name foolish last :name end to nonsense :word print sentence :word [had a little lamb.] end to foolish :word print sentence :word [is the loneliest number.] endWhat is the result of entering the instruction:
silly [Heidi Louise Burgiel]
for [i 1 15 2] [print :i]
print map "numberp [Heidi Louise Burgiel]
? to sumup :n > if equalp :n 0 [stop] > output :n + sumup :n-1 > end sumup defined ? sumup 3 sumup didn't output to + in sumup [output :n + sumup :n-1]