Podcast
Questions and Answers
What are the main phases of a compiler?
What are the main phases of a compiler?
- Lexical Analyser, Syntax Analyzer, Semantic Analyser, Intermediate code generator, Code optimizer, Target Program, Symbol table manager (correct)
- Analysis and Synthesis
- Debugging, Optimizing, Load-and-go
- Single pass, Multi pass, Load and Go
What is the characteristic of a single pass compiler?
What is the characteristic of a single pass compiler?
- It processes the source code or abstract syntax tree of a program several times
- It looks back at code it has previously processed
- It passes through the source code of each compilation unit only once (correct)
- It is a type of compiler that performs debugging and optimization simultaneously
What is the characteristic of a multi-pass compiler?
What is the characteristic of a multi-pass compiler?
- It looks back at code it has previously processed
- It processes the source code or abstract syntax tree of a program several times (correct)
- It is a type of compiler that performs load-and-go compilation
- It passes through the source code of each compilation unit only once
What is the function of a compiler in the context of programming languages?
What is the function of a compiler in the context of programming languages?
How are compilers classified based on construction and function?
How are compilers classified based on construction and function?
Flashcards are hidden until you start studying