Try Firefox!

Class 2: Scheme Basics


Intro to Scheme and Functional Programming
Do Scheme Lab 1. If you don't finish in the period, don't worry - I'll give some time at the next period. I encourage you to read Scheme Lab 0 as well.

Due by start of class on [see calendar]:
  • Scheme Lab 1 solutions to Exercises as a file mxxxxxxL01.scm, where mxxxxxx is your alpha. E-mail it to me.
  • I will run at least the following tests:
    (middle 6 2 4)
    (middle 3 3 7)
    (factorial 20)
    (accrue 999.50 7.5 8)
    (fib 13)
    (diff 14 3 7 11)
    
    ... to which the answers should be:
    4
    3
    2432902008176640000
    1817.8103111668272
    377
    76
    

  • Christopher W Brown
    Last modified: Tue Aug 25 16:02:22 EDT 2009