Assignments

PublishedSep 30, 2026
Updated—
DueOct 6, 2026

Build a hash set of your own, and make a key that cannot move. Then three collections that do not look anything up: a stack, a queue and a priority queue.

PublishedSep 25, 2026
Updated—
DueSep 29, 2026

Use the library’s set and map to count words. Then build a list of your own out of nodes, and use an iterator to remove from a list without breaking it.

PublishedSep 16, 2026
Updated—
DueSep 22, 2026

Teach Matrix its natural order so Arrays.sort will sort it, then write comparators for the orders it does not have. Find the place where compareTo and equals disagree, and fix it. Then do the whole thing again to Fraction, where the disagreement never happens.

PublishedSep 9, 2026
Updated—
DueSep 15, 2026

Build an immutable Matrix. Constructors that copy their input rather than borrow it, an equals with the hashCode that has to come with it, and arithmetic that refuses a shape it cannot handle.

PublishedSep 2, 2026
Updated—
DueSep 8, 2026

Finish the Fraction class we wrote together: strengthen its invariant so that every fraction is stored in lowest terms, add the arithmetic that gets to assume it, and make it a real Number.

PublishedAug 24, 2026
UpdatedAug 28, 2026
DueSep 1, 2026

Text and submission on Brightspace.

PublishedAug 24, 2026
UpdatedAug 28, 2026
DueSep 1, 2026

Java, IDE, Git, GitHub, Classroom50

No matching items

Exams

  • Midterm — TBD.
  • Final — TBD.