These are, in general, the notes from which I lecture. They are, at best, only fairly complete. They certainly are not a substitute for attending class, taking notes, attending lab lecture, and reading the book. Their only purpose here is to help remind you of what was covered in class.
The material in these notes may not correspond exactly to what was discussed
in class due to the nature of class discussions, modified examples, and time
constraints. You are responsible for all material whether presented in
class or on the web pages.
Lesson # |
Date |
Subject |
Welcome! Administrivia, computing, simple programs
|
||
Functions on compound data structures, intro to lists
|
||
Recursion, examples of functions on lists
|
||
Recursive construction of lists, Law of Scheme, lists
of mixed data
|
||
Mixed data cont., accumulator algorithms
|
||
Natural numbers
|
||
Review
|
||
Exam #1 -- in class
|
||
Family Trees
|
||
Family Trees cont., Functions of Two Non-Trivial Arguments
|
||
Mutual Recursion: Descendent Trees
|
||
More mutual recursion: Whole-part hierarchies
|
||
Locals
|
||
More local, closures, functions as objects
|
||
More closures, lambda functions, higher order functions
|
||
Mon 10/14/02
|
MIDTERM BREAK!!!
|
|
Mapping, folding & visiting -- Optional Lab!!
|
||
Visitors cont.
|
||
Review
|
||
Review -- Exam 2: Time-limited take-home, due by Monday.
|
||
Generative recursion: Divide-and-conquer -- Sorting
|
||
Generative recursion: Sierpinski gaskets
|
||
Sierpinski gaskets continued.
|
||
Sierpinski gaskets continued.
|
||
Mutable data: references & set-[struct]-[field]!
|
||
Mutable data continued
|
||
Mutable data continued, graphs, depth-first traversal
|
||
depth-first-traversals cont., set!
|
||
breadth-first traversal; why to use
set! |
||
Generative recursion fractals, Restricted Access Containers
|
||
RACs and tree traversals
|
||
Tree traversals cont., State Design Pattern
|
||
Strategy Designs, GUIs in Scheme
|
||
Review
|
||
Review. Take-home Exam 3
|
||
Fri. 11/29/02
|
THANKSGIVING BREAK!!
|
|
Mutable lists: LRStruct
|
||
Exam 3 due, Exam 3 solution discussion
|
||
Last day of classes!! To infinity...and beyond! (representing
infinite lists -- lazy evaluation)
|
||
You can also look at the lecture notes from last fall or last spring or even earlier.