Note: I've just migrated to a different physical server to run Spivey's Corner,
with a new architecture, a new operating system, a new version of PHP, and an updated version of MediaWiki.
Please let me know if anything needs adjustment! – Mike
Problem sheets (Compilers)
Problems appear at the end of chapters in the coursebook, but here is a document that collects them all in one place:
- Problem sheets.
- Solutions are accessible to tutors on a different page. In case of difficulty, they may also be found in the directory
/users/courses/compilers
at the Department of Computer Science..
Suggested problems
There are six sets of problems, five of them corresponding to chapters in the coursebook, and a sixth set of revision problems made from recycled exam questions from long ago. The lecturer suggests four tutorials during the term, covering questions as follows.
- For tutorial 1 – syntax: all of sheet 1.
- For tutorial 2 – control and data structures: 2.1, 2.2, 2.4(a, b), 2.6, 2.7, 3.1, 3.2, 3.4.
- For tutorial 3 – procedures: all of sheet 4.
- For tutorial 4 – machine code: all of sheet 5.
The sixth sheet is a supplement to recent exam papers, and can be used for revision at any stage. Neither the problem sheets, nor any past exam questions, contain specific material that overlaps with the Christmas assignment.
Obiter dicta
- Problem sheet 1: how to use yacc to test for ambiguity.