University of Virginia Computer Science
CS150: Computer Science, Fall 2005
31 August 2005
Should programmers design their programs around data or around actions?
What does cons do?
What do car and cdr do?
A quintuple is a pair where ...
Why do we need the special list null?
What is the value of (car (cdr (cons 1 (cons 2 (cons 3 null)))))?
How could we define cons, car and cdr if Scheme did
not have them as primitives?
|"); print ( $res[$first] ) ; print ("|
CS 150: Computer Science
University of Virginia
Using these Materials