Compiler Design CAT Answers
Compiler Design CAT Answers
5. Classifications of a Compiler:
- Single-Pass vs Multi-Pass.
- Just-In-Time (JIT) Compilation.
- Cross Compiler.
- Incremental Compiler.
8. Architecture of a Compiler:
- Consists of lexical, syntax, semantic analysis, intermediate code generation, optimization, and
code generation.
9. Peephole Optimization:
- A small code segment optimization technique.
- Eliminates redundant instructions.