The document contains questions from past university exams on the topics of compilers. It is organized into 5 main sections:
I. Compilers - Questions cover the different phases of a compiler and the structure of a compiler.
II. Lexical Analyzer - Questions cover implementing a lexical analyzer, the role of lexical analyzers, and constructing NFAs and DFAs.
III. Parser - Questions cover top-down and bottom-up parsing, LR parsers, parser generators, and constructing syntax trees.
IV. Intermediate Code Generation - Questions cover recursive evaluators, type checking, polymorphic functions, and intermediate code.
V. Code Generation - Questions cover code optimization techniques like register allocation,