MATH20622 Programming with Python

General information

This course is taught by Dr. Stefan Güttel. My office hour is Monday 15–16 in ATB 2.114. The teaching times are as follows: This is a 10 credit course.

Lab classes and tests

You will only need to attend one of the two lab classes on Tuesday. Please check your personal timetable to find out which class you should attend. Note that the capactity of the computing cluster is limited and hence you cannot attend another class than the indicated one.

Tests: There will be 4 one-hour tests, each with 2 functions to be written (so 8 problems in total). These tests take place during the lab classes in weeks 4-9 of the semester. In week 3 we will have a mock test. The first marked test will be in week 4. The results of the 6 best problems count 30% towards the final mark. The remaining 70% are coursework.


Click here for the coursework description. There is also a game.txt file to test the loadGame() function of Task 5. The strict deadline for submission via Blackboard is Thursday, 9th of May 2019, at 13:00. The coursework is assessed in multiple ways, including manual testing, unit testing, and plagiarism checks. See the coursework description for details.

Feedback sessions are offered on two Tuesdays, 26th of March and 30th of April 2019, during the usual lab classes. Attendance to these sessions is voluntary. The purpose is to answer questions on the coursework description and outputs of Python programs. No comments can be made on the code itself nor will any debugging be performed during these sessions.

A check sheet with some basic tests is available.

Course materials

Week 1: Introduction

Week 2: Loops and conditionals

Week 3: Functions

Week 4: Lists

Week 5: Strings

Week 6: Control flow

Week 7: File I/O

Week 8: Modules

Week 9: Data analysis

Week 10

Week 11

Week 12

Further material