CS 131 Homework 3

Due by the beginning of class Wednesday, February 8
  1. Read the handout I passed out in class on Wednesday: The Role of the Study of Programming Languages in the Education of a Programmer, by Daniel P. Friedman.

  2. Read pages 28-38 of the textbook.

  3. Do Exercise 1.19 on page 31: free-vars and bound-vars.

  4. Do Exercise 1.31 on page 37: lexical-address. Here are some test expressions you can use to test your program. These tests are not necessarily exhaustive, so you should try out some additional expressions on your own.

  5. Do Exercise 1.32 on page 37: un-lexical-address.

  6. Read pages 39-51 of the textbook.

Turning in your homework

Put all of your function definitions into a single Scheme file called assign3.ss and be sure to include your name in a comment at the top of the file. Submit this file electronically by running the /common/cs/submit/cs131-submit script from any Pomona Linux machine.

If you have questions about anything, don't hesitate to ask!