1. Introduction to Compilers MCQs
- Definition and Purpose of Compilers MCQs
- Types of Compilers (Single-pass, Multi-pass, Just-in-time) MCQs
- Differences between Compiler, Assembler, and Interpreter MCQs
- Phases of Compilation MCQs
2. Role of the Lexical Analyzer MCQs
- Tokens, Patterns, and Lexemes MCQs
- Regular Expressions and Finite Automata MCQs
- Tools for Lexical Analysis (e.g., Lex) MCQs
3. Syntax Analysis MCQs
- Role of the Syntax Analyzer (Parser) MCQs
- Context-Free Grammars and Parse Trees MCQs
- Parsing Techniques: Top-down and Bottom-up Parsing MCQs
- Tools for Syntax Analysis (e.g., YACC, Bison) MCQs
- Error Detection and Recovery in Parsing MCQs
4. Semantic Analysis MCQs
- Semantic Errors and Type Checking MCQs
- Symbol Table Management MCQs
- Attribute Grammars MCQs
- Static vs. Dynamic Semantics MCQs
5. Intermediate Code Generation MCQs
- Intermediate Representations (IR): Three-Address Code, Syntax Trees, DAGs MCQs
- Intermediate Code for Function Calls MCQs
6. Code Optimization MCQs
- Importance of Code Optimization MCQs
- Types of Optimizations: Machine-Independent and Machine-Dependent MCQs
- Common Optimization Techniques (e.g., Loop Optimization, Constant Folding, Dead Code Elimination) MCQs
- Peephole Optimization MCQs
7. Code Generation MCQs
- Role of Code Generator MCQs
- Register Allocation and Assignment MCQs
- Instruction Selection and Scheduling MCQs
- Target Code Representation MCQs
8. Error Handling MCQs
- Error Types in Compilation (Lexical, Syntax, Semantic) MCQs
- Error Detection and Recovery Mechanisms MCQs
- Panic Mode and Phrase-Level Recovery MCQs
9. Runtime Environments MCQs
- Activation Records and Storage Allocation MCQs
- Memory Management Techniques (Static, Stack, and Heap) MCQs
- Parameter Passing Methods MCQs
- Dynamic Linking and Loading MCQs
10. Compiler Design Tools and Techniques MCQs
- Role of Lexical and Syntax Analysis Tools MCQs
- Compiler Writing Tools (e.g., LLVM, GCC Internals) MCQs
- Cross-compilers and Bootstrapping MCQs
11. Advanced Topics MCQs
- Just-in-Time Compilation MCQs
- Compiler Optimizations for Parallelism MCQs
- Garbage Collection in Compilers MCQs
- Security and Compiler Design MCQs