Comp210 Lecture # 12    Fall 2002

Review for Exam 1

See the Exam Resources

Solution to last lecture's "number of divisors" problem: ndivisors.scm

Example of the same function written with both forward and reverse accumulation: sumbig.scm

Example of the speed increase gained by using forward accumulation: speed_test.scm

Example of processing a list of abstract data structures: pizzalist.scm

 

 

©2002 Stephen Wong