CS 215 - Fundamentals of Programming II
Spring 2008 - Homework 7
20 points


Out: April 2, 2008
Due: April 9, 2008


Answer the following exercises from the textbook. When a question says “implement” just write the implementations on paper. You do not need to type the code into the computer (unless you want to, of course).

  1. (3 points) Exercise 16 on pages 495-496. There is a typographical error in part (c). The last statement of (c) should be cout << p->nodeValue;

  2. (3 points) Exercise 17 on pages 496-497.

  3. (4 points) Exercise 18 on page 497.

  4. (4 points) Exercise 20 on page 497.

  5. (3 points) Exercise 23 on page 498.

  6. (3 points) Exercise 24 on page 498.

04/01/08 1 of 1