The exercises will help
you to master the basic concepts for the given week. The links to the text and to additional resources,
such as diagrams, or Java code are given below.
Homework assignments must be submitted electronically by 12:00 noon on Friday unless otherwise specified.
OTHERWISE SPECIFIED: Assignment 9 and the assignments following it will be due
on 6:00 PM on Mondays.
Link to the web submission page.
Turn in each assignment with a Java comment on the top of the assignment that specifies the following pieces of information:
- Assignment: (number)
- ID: (last 4 digits only)
- Instructor: (Proulx - 9:15, Proulx - 10:30, or Clements
- Head Lab TA
- Lab time: (if partners in different labs, add extra info below!!)
Omission of this information leads to immediate loss of all credit for the homework.
Self-referential data; methods for classes.
Methods for containment, union, and self-referential data.
Methods and equality for self-referential data
Equality of self-referential data; Graphics and key events
Abstracting with Object, interfaces, and function objects
Start working on next week's assignment.
Shortest Path; accumulators; working with Eclipse
Using iterators; sorting lists and vectors; exceptions
Timing tests on algorithms; test harness
Maps, hash tables, trees
Priority queues; Java Collections hierarchy
Finish the last assignment.