>>    




Homework Assignment

CS 121 (CS1)

Homework 7   Due Wednesday, February 26, 2014
  1. Text questions [c]

      More About Iteration, Exercises 4, 5, 6

      Notes:

      • Problem 6: "Turn around" means to change direction by 180 degrees.

  2. Tracing functions with accumulators [h]

      Function questions, 3a,b

      Iteration questions, 1b

  3. Anatomy of iteration

      Postponed

  4. Accumulators [hc]

      Conditional questions, 2d

      Note: Conditional question 2e postponed

  5. Iteration [hc]

      Iteration questions, 2a, b

  6. Trees [h]

      Recursion questions, 4

  7. Reading