Compiler Design
106501This page collects 137 compiler design questions taken from 5 BEU semester 5 papers, 2019 to 2025 — about 27 questions in a typical paper. They are sorted into the 6 modules of the syllabus, so you can revise a topic across every year at once instead of working through papers one at a time.
What these papers actually ask
Module 2 : Syntax Analysis (Parser) is the heaviest module in this archive at 40% of every question recorded, and it has come up in all 5 papers. Together with Module 4 : Intermediate Code Generation & Code Improvement, the two account for 63% of the archive.
4 modules have appeared in all 5 papers — Module 2 : Syntax Analysis (Parser), Module 4 : Intermediate Code Generation & Code Improvement, Module 3 : Semantic Analysis & Symbol Table, Module 1 : Introduction & Lexical Analysis. A module that turns up every year is a safer use of revision time than one with the same question count concentrated in a single paper.
How the marks are split
Questions in this archive carry 9 different mark values. The most common is the 7-mark question, with 65 of them recorded — worth knowing before you decide how much depth to practise at.