Worksheets
There is a ACOM1900 worksheet most weeks. Dead tree copies can be collected from lectures, and electronic versions can be downloaded here. You will need a PDF viewer in order to use the electronic versions.
Sample solutions will be provided for you to check your own work. There are always many other ways to solve the problem! The solutions have been tested on Linux, and are believed to work. If there are any problems running them on other platforms please raise it in a lecture.
| Date | Worksheet | Solution(s) | Blog |
|---|---|---|---|
| Monday January 21st | Introduction | spam.py, amj.py | |
| Monday January 28th | Data types, values & basic I/O | average.py, c2f.py, eggs.py, f2c.py | data types tips |
| Monday February 4th | Control flow | 7times.py, digits.py, div.py, pos.py, split.py | Control flow tips |
| Monday February 11th | - | ||
| Monday February 18th | - | ||
| Monday February 25th | Exception handling | ||
| Monday March 3rd | Functions | ||
| Monday March 10th | - | ||
| Monday April 14th | - | ||
| Monday April 21st | - | ||
| Monday April 28th | - |