MCS-177 Homework assignment 6 (Fall 2000)

Homework set 6 (due Wednesday, November 29)

  1. Ex 7.6(b) (count elements satisfying predicate) Recall that a predicate is a procedure that returns #t or #f.
  2. Ex 7.11 (in-order?, shuffle-number)
  3. Ex 7.13 (4 map procedures): You aren't allowed to use car, cdr or cons for these.
  4. Ex 7.21 (count ways of making change)
  5. Ex 8.31 (count elements in tree between low and high)
  6. Ex 8.32 (list elements in tree between low and high efficiently using ``onto'' parameter)

Daily Prep Problems