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

Coming up

Everything scheduled this term.

Due Sep 2, 2026

Move around a Linux filesystem and write down what you actually saw, then write, compile and break two small C programs — one that the compiler catches, and one it doesn’t.

Due Sep 9, 2026

Six small programs that drill if, for and while — one of them reading its input with scanf — then three broken ones the compiler is perfectly happy with, and your account of why it is happy with them.

Due Sep 16, 2026

Four small functions, each in its own file, then the same three functions moved into one program split across three files — and a Makefile that builds it.

Due Sep 23, 2026

Five small programs about arrays and strings — including one that reads past the end on purpose — and then the useful half of them moved into a three-file program with a Makefile.

Due Oct 7, 2026

Four small programs where a function is handed the address of a variable instead of its value — the swap from Assignment 3 that could not work, working, and functions that hand back more than one answer.

Due Oct 14, 2026

Four small programs that walk strings with a pointer and no brackets: one that reads a word both ways, one that compares two, one that joins two, and one that takes a letter out.

Due Oct 21, 2026

Four programs whose functions hand back memory they asked malloc for: a string with a letter taken out, two strings joined into one, an array made bigger, and numbers read in when only the input says how many.

Due Oct 28, 2026

One image library and three programs on top of it, passing pictures to each other through a pipe: a drawing written out as a binary picture, a picture read back in and turned gray, and one cut to half its size.

Due Nov 13, 2026

The Mandelbrot set and a blur, on twelve threads: one line of OpenMP each, a table of how long each takes on 1 to 12 threads, and why neither gets twelve times faster.

Due Nov 18, 2026

A9’s blur on threads started by hand with pthreads, each with a struct of its own and a band of rows, timed on a photo of your own.

No matching items
In class Sep 1, 2026
Two attempts, one at the start of class and one near the end.
In class Sep 8, 2026
Two attempts, one at the start of class and one near the end.
In class Sep 15, 2026
Two attempts, one at the start of class and one near the end.
In class Sep 22, 2026
Two attempts, one at the start of class and one near the end.
In class Sep 29, 2026
The first fifty minutes of the period, on a lab machine. Open book, no AI. C without pointers.
In class Nov 3, 2026
The whole period, on a lab machine. Open book, no AI, no collaboration, no device but the lab computer. C on one thread.
In class Nov 10, 2026
Two attempts, one at the start of class and one near the end.
In class Nov 17, 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.