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:
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. I suggest four tutorials during the term, covering questions as follows.
- For tutorial 1 – syntax: problems 1.1–1.8 and optionally 1.9.
- For tutorial 2 – control and data structures: problems 2.1–2, 2.4(a, b), 2.7–8, 3.1–2, 3.4 and optionally 2.4(c), 2.6, 3.3.
- 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.