:date: Week by Week

Links to the problem sheets and their solutions will appear here as the unit progresses.

Each week there will be exactly one problem sheet. This is a 20cp unit, so you should expect to spend about a third of your week working on these problem sheets (2 hours of which will be working on them in the lab).

University
Week
Monday Lecture
(PHYS G.42, 4pm)
Tuesday Lecture
(PHYS G.42, 10am)
Thursday Lab
(MVB 2.11/1.15, 4pm)
Welcome Week
Week 1 Intro and Strings Context-Free Grammars qns / ans
Week 2 Grammar Design LL(1) for Parsing qns / ans
Week 3 Lexing Parsing qns / ans
Week 4 Obtaining LL(1) Abstract Syntax qns / ans
Week 5 Denotational Semantics Structural Induction qns / ans
Revision Week (Syntax Revision qns / ans )
Week 7 Operational Semantics (pt1) Operational Semantics (pt2) qns / ans
Week 8 Partial Correctness Loop Invariants qns / ans
Week 9 Computability and decidability Encoding first-order data qns / ans
Week 10 qns
Week 11
Revision Week

Revision Material

The following are practice papers based on previous year’s exams. Note that in 2024 the exam was three hours, not the two hours that it will be this year. Note that the course material has changed slightly over the years. For example, last year the semantics part studied strongest postcondition rather than weakest precondition; consequently you will not be equipped to solve Q2(c) part ii of the 2025 Winter Paper.


This site uses Just the Docs, a documentation theme for Jekyll.