CSC148H: Assignments and Exercises

Overview

This page will contain links to the assignments and exercises.

CSC148H Coding Style

There is a standard Style Guide for Python Code, which we will often refer to as "PEP 8" ("PEP" is short for for "Python Enhancement Proposal"). All of your code should adhere to PEP 8.

We provide two files to help you make sure you are following these guidelines:

We will run pep8.py on every piece of code that you submit. A submission that does not pass this stylechecker will not be graded. Of course, this stylechecker is merely a sanity check. Passing it does not guarantee full style marks on the assignments (although it does on the exercises).

Exercises

The exercises are pre-marked. That means that they are automatically marked every 3 hours for about 5 days leading up to the due date. You can submit as many times as you like! Each time we do the marking, we will upload the results to MarkUs so that you can see how you're doing.

Because we pre-mark the exercises, no remark requests will be considered. Our experience shows that people who submit only once or twice tend to get very low marks because of silly errors such as incorrect filenames, incorrect function or class names, and not passing the stylechecker. As a result, we strongly recommend these steps:

Assignments

Although the assignments are not pre-marked, we recommend the same approach as for the exercises: create files and stub functions as you read the handout and double-check that you used the correct names.

Handouts

Handout Due date
Exercise 1 Thursday 26 January at noon
Exercise 2 Thursday 2 February at noon
Assignment 1 Thursday 16 February at noon
Exercise 3 Thursday 8 March at noon
Exercise 4 Thursday 29 March at noon
Assignment 2 Thursday 5 April at noon