[Template fetch failed for http://spivey.oriel.ox.ac.uk/corner/Template:Sitenotice?action=render: HTTP 404]

Problem sheets: Difference between revisions

From Compilers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
* For tutorial 4 -- machine code: all of sheet 5.
* 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.
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]].

Revision as of 17:18, 26 October 2021

Problems appear at the end of chapters in the coursebook, but here is a document that collects them all in one place:

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. 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.

Obiter dicta

Problem sheet 1: how to use yacc to test for ambiguity.