Compiler Design

105601

This page collects 27 compiler design questions taken from 1 BEU semester 6 paper, 2023 — about 27 questions in a typical paper. They are sorted into the 4 modules of the syllabus, so you can revise a topic across every year at once instead of working through papers one at a time. 27 of them have a worked solution.

What these papers actually ask

Module 2: Syntax Analysis (Parser) is the heaviest module in this archive at 59% of every question recorded, across 1 of 1 paper. Together with Module 3: Semantic Analysis, Symbol Table, Run-time environment, the two account for 81% of the archive.

How the marks are split

Questions in this archive carry 6 different mark values. The most common is the 2-mark question, with 10 of them recorded — worth knowing before you decide how much depth to practise at.

2 marks · 104 marks · 25 marks · 57 marks · 89 marks · 114 marks · 1

Papers

By module