Assignments

These assignments will allow you to practice writing source code and solve simple software design problems.

Warning

Unlike the exercises and labs, they are individual work — you must be able to say, "I did this myself". You should always feel free to discuss the course content, lecture modules, etc., with your peers, but not your assignment solutions.


Thu, 20 Mar 2025 18:00 Assignment 4: Trangles and Squares

Write some code to manage a simple board game.

Sat, 8 Mar 2025 18:00 Assignment 3: CPU simulator

Write Python functions to simulate a CPU.

Thu, 20 Feb 2025 18:00 Assignment 2: Promotion

Write Python functions to determine a student’s promotability.

Thu, 6 Feb 2025 18:00 Assignment 1: Energy cost

Write a Python script to calculate a home’s electricity costs over a number of days.

Old assignments

Here are some assignments that I’ve previously given in this course. You might find them helpful for practice!