// subject deep-dive
Compiler Design
Learn about the phases of compilation, from lexical analysis to code optimization.
📊 Average Weightage: 4–6 Marks (2–3 Questions)
Lexical & Syntax Analysis
Tokenization (Lexemes), parsing techniques (LL/LR concepts), and grammar management.
Syntax-Directed Translation
Semantic rules, annotated parse trees, and runtime environments including activation records.
Intermediate Code Generation
Three-address code, basic blocks, and the transition from syntax to target code.
Code Optimization
Local optimization techniques like constant propagation and common subexpression elimination.
💡
High-Yield Topics
Lexical analysis and parsing techniques (like LL/LR parsing) are high-yield, along with intermediate code generation fundamentals.