SICP Exercise 2.53

Question

What would the interpreter print in response to evaluating each of the following expressions?

(list 'a 'b 'c)
(list (list 'george))
(cdr '((x1 x2) (y1 y2)))
(cadr '((x1 x2) (y1 y2)))
(pair? (car '(a short list)))
(memq 'red '((red shoes) (blue socks)))
(memq 'red '(red shoes blue socks))

Answer

Nothing surprising here, basically what we would expect given what we learned in this chapter.

(a b c)
((george))
((y1 y2))
(y1 y2)
#f
#f
(red shoes blue socks)