Compiler Design (CD) AKTU PYQ analysis – unit-wise weightage
We analysed 283 questions from 12 AKTU Compiler Design papers (2017–2026). Here is how marks are spread across units and which topics keep coming back.
Compiler Design unit-wise weightage
- Unit 1: Compiler Foundations, Lexical Analysis and Syntactic Specification – 33% of questions, about 22 marks per paper
- Unit 2: Basic Parsing Techniques and Automatic Construction of Efficient Parsers – 41% of questions, about 32 marks per paper
- Unit 3: Syntax-Directed Translation and Intermediate Code – 38% of questions, about 29 marks per paper
- Unit 4: Symbol Tables, Run-Time Administration and Error Recovery – 34% of questions, about 25 marks per paper
- Unit 5: Code Generation and Code Optimization – 36% of questions, about 25 marks per paper
Most repeated Compiler Design topics in AKTU PYQs
- Finite State Machines and Regular Expressions for Lexical Analysis
- Error Detection and Recovery
- Compiler Phases and Passes
- Data Structures for Symbol Tables
- Quadruples and Triples
Unit 1 (Compiler Foundations, Lexical Analysis and Syntactic Specification) – top topics
- Finite State Machines and Regular Expressions for Lexical Analysis – asked 19 times, last in 2026
- Compiler Phases and Passes – asked 14 times, last in 2025
- Ambiguity – asked 6 times, last in 2026
Unit 2 (Basic Parsing Techniques and Automatic Construction of Efficient Parsers) – top topics
- Shift-Reduce Parsing – asked 9 times, last in 2026
- Top-Down Parsing – asked 9 times, last in 2024
- Predictive Parsers – asked 7 times, last in 2025
Unit 3 (Syntax-Directed Translation and Intermediate Code) – top topics
- Quadruples and Triples – asked 11 times, last in 2026
- Syntax-Directed Translation Schemes – asked 7 times, last in 2024
- Intermediate Code – asked 7 times, last in 2026
Unit 4 (Symbol Tables, Run-Time Administration and Error Recovery) – top topics
- Error Detection and Recovery – asked 15 times, last in 2026
- Data Structures for Symbol Tables – asked 14 times, last in 2026
- Implementation of Simple Stack Allocation Scheme – asked 9 times, last in 2024
Unit 5 (Code Generation and Code Optimization) – top topics
- DAG Representation of Basic Blocks – asked 11 times, last in 2026
- Loop Optimization – asked 8 times, last in 2024
- Machine-Independent Optimizations – asked 7 times, last in 2026