CPSC 221H: Data Structures & Algorithms
Homework Assignment #9
Spring 2009
General Guidelines for Homework
-
Be clear and precise. Write neatly and legibly.
Justify all answers, even if not specified in the question.
Use good judgement concerning how detailed to make your answer.
-
If the question is not fully specified, you may need to make
some assumptions. In this case, you must state any assumptions you
make, and justify why they are reasonable.
-
Everyone must turn in their own copy of the assignment. You may consult
outside material or work with others (this is encouraged), but you
must reference your sources (people, books, webpages, etc.).
These must be listed on the cover sheet mentioned below.
-
All assignments in this course must include
a completed and signed
coverpage
available on the course homepage.
Any assignment turned in without a fully completed and signed
coverpage will receive ZERO POINTS.
Assigned Problems
Due: Tuesday April 21, 2009 at the beginning of class
-
Problem R-12.7 in the text (p. 648).
(25 points)
-
Problem R-12.8 in the text (p. 648).
(25 points)
-
Problem R-12.9 in the text (p. 648).
(20 points)
-
Problem C-12.1 in the text (p. 650).
(30 points)
Bonus Problems
Due by Tuesday May 5, 2009
These problems can be done for extra credit.
Points for bonus problems will be tabulated separately, and
will be considered separately at the end of the semester.
They should be turned in separately from your
regular assignment. They will be accepted upto two weeks
past the due date of the assignment.
- Bonus Problem 1:
Problem C-12.11 in the text (p. 652). (10 points)