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:
10
--- not (10)
!
(- 12 2)
--- many other expressions would work also
(+ 5 3 2)
--- others would work
(+ (+ 3 2) (- 8 3))
-- others would work
(+ (* 4 2) 1 1)
-- etc.