This page will contain links to the assignments and exercises.
CSCA48H 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).
How to Submit
Submission instructions are available here.
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! Info on how to receive your results is available here.
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:
- As soon as you read each exercise handout, create files containing stub functions and submit them to make sure you named everything properly.
- There are often several parts to an exercise. Submit each part as soon as you think you have it done.
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.
|Exercise 2||Friday 3 February at noon|
|Exercise 4||Friday 30 March at noon|
Register your pair!
|Monday 9 April at noon|