Welcome to CMSC230-F2026! First time here? — Read the Syllabus.

Coming up

Everything scheduled this term.

Due Sep 1, 2026

Text and submission on Brightspace.

Due Sep 1, 2026

Java, IDE, Git, GitHub, Classroom50

Due Sep 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.

Due Sep 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.

Due Sep 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.

Due Sep 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.

Due Oct 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.

Due Oct 20, 2026

One chain for every type, and a set that grows. Then a class with two type parameters, written from nothing, and the first tests of your own.

Due Oct 27, 2026

The Matrix from Class 15, multiplied by several threads at once: in two halves, in bands, and a row at a time from a dispenser the threads share. Then a clock on all of it.

Due Nov 3, 2026

BankLab, part 1 of 4: a bank that many threads can use at once. Accounts, deposits, withdrawals, transfers and a history, kept in memory, with a lock for each account and no deadlock.

Due Nov 10, 2026

BankLab, part 2 of 4: a server in front of the bank from A9. Clients connect over the network and send one line at a time; each client is served on a thread of its own, and all of them share one bank.

Due Nov 19, 2026

BankLab, part 3 of 4: the accounts move into a database, so they outlive the server. Every method one transaction, every value through a prepared statement, and the server changed by one line.

No matching items
Due Aug 31, 2026
In class Aug 31, 2026
Two attempts, one at the start of class and one near the end.
Due Sep 8, 2026
Due Sep 14, 2026
In class Sep 14, 2026
Two attempts, one at the start of class and one near the end.
In class Sep 21, 2026
Two attempts, one at the start of class and one near the end.
In class Sep 28, 2026
Two attempts, one at the start of class and one near the end.
Due Oct 5, 2026
In class Oct 5, 2026
Two attempts, one at the start of class and one near the end.
In class Oct 7, 2026
The whole period, in Sutliff 106 or on Zoom with your camera on. A repository like an assignment’s. Open book, no AI.
Due Oct 19, 2026
  • [DJ] Introducing Generics
  • [CJ] 8.1 — Why Generic Programming?, [CJ] 8.2 — Defining a Simple Generic Class, [CJ] 8.3 — Generic Methods, [CJ] 8.4 — Bounds for Type Variables, [CJ] 8.6 — Inheritance Rules for Generic Types
In class Oct 19, 2026
Two attempts, one at the start of class and one near the end.
Due Oct 26, 2026
In class Oct 26, 2026
Two attempts, one at the start of class and one near the end.
Due Nov 2, 2026
In class Nov 2, 2026
Two attempts, one at the start of class and one near the end.
Due Nov 9, 2026
In class Nov 9, 2026
Two attempts, one at the start of class and one near the end.
Due Nov 16, 2026
In class Nov 16, 2026
Two attempts, one at the start of class and one near the end.

Every assignment is on the Assignments page, and every week’s reading on the Schedule.