Note: The mercurial server is disabled at the moment while I investigate whether it can run with an acceptably low CPU load – Mike.
Laboratory exercises (Object-Oriented Programming)
The lab exercises for the course are based on programs written in Scala. I've offered a choice between using the Eclipse IDE and a more 'traditional' approach based on a text editor and Makefiles; both are supported by the lab materials, and in fact it's possible to mix the two approaches. There are some tasks – such as regression testing of the editor – that can only be carried out from the command line.
- The two lab exercises are described in a lab manual.
- A cheat sheet for using Mercurial in the course.
The materials are delivered using an anonymous Mercurial server in a way described in the manual. You can also browse the materials using the URL http://spivey.oriel.ox.ac.uk/hg/oop.
Sample write-up
Part of the assessment of the course will be to complete and write up some parts of the practical exercises and to complete some further exercises in a similar style. To help with the task of writing up your work, I offer here a
of a part of the practical exercises that is not part of the assessment.
Notes and solutions
- Solutions for lab 2.