
CS 220 โ Programming with Data Structures โ Fall 2009
Homework #1
(not being collected, for exam review)
1. Text Chapter 1, No. 2.
2. Text Chapter 1, No. 3.
3. Text Chapter 1, No. 6.
4. Text Chapter 1, No. 9.
5. Text Chapter 1, No. 11.
6. Text Chapter 2, No. 2.
7. Text Chapter 2, No. 5.
Call the class AdaptPair, and just show field(s), constructor(s), and any two methods.
8. Text Chapter 2, No. 9.
9. Text Chapter 2, No. 11.
10. Text Chapter 2, No. 14.
11. Text Chapter 2, No. 15.
Do this only for the Student class.
The signature must be: public boolean equals(Object other).
Hint: not that parameter type is Object, and types at least match to be equal.
12. Text Chapter 2, No. 16.
13. Text Chapter 2, No. 18.
14. Text Chapter 2, No. 19.
15. Text Chapter 2, No. 20.
Hint: do not list all methods, just give class methods from.
16. Text Chapter 2, No. 21.
17. Text Chapter 3, No. 4.
18. Text Chapter 3, No. 6.
19. Text Chapter 3, No. 7.
20. Text Chapter 3, No. 8.
Just describe what you would have to do, you do not need to write code.