University of Virginia Computer Science
CS150: Computer Science, Fall 2005

(none)
31 August 2005

CS150 Notes 4 (31 August 2005)

Assignments Due

Lists

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
evans@virginia.edu
Using these Materials