CS 220 Programming with Data Structures Homework 1 - Fall 2009, Assignments of Computer Science

The tasks for homework 1 in the cs 220 programming with data structures course offered in fall 2009. Students are required to complete various exercises based on textbook problems, focusing on classes such as adaptpair and student, and implementing methods like equals().

Typology: Assignments

Pre 2010

Uploaded on 02/24/2010

koofers-user-674
koofers-user-674 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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.

Partial preview of the text

Download CS 220 Programming with Data Structures Homework 1 - Fall 2009 and more Assignments Computer Science in PDF only on Docsity!

CS 220 – Programming with Data Structures – Fall 2009

Homework

(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.