Lab Quiz, Foundations of Computing, Week 2 -- Oct 3, 2000

Name:



This quiz is just exercise 3.9 from Simply Scheme (p. 38 in the first edition).

The expression (+ 8 2) has the value 10. It is a compound expression made up of three atoms. For this quiz, write five other Scheme expressions whose values are also the number 10:

  1. An atom



  2. Another compound expression made up of three atoms



  3. A compound expression made up of four atoms



  4. A compound expression made up of an atom and two compound subexpressions



  5. Any other kind of expression