INTERMEDIATE CODE GENERATION
SYNTAX TREES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
In a compiler, keywords of a language are recognized during which phase?
|
Lexical Analysis
|
|
Syntax Analysis
|
|
Code Generation
|
|
Data flow analysis
|
Explanation:
Detailed explanation-1: -Lexical Analysis is the first phase of compilation also known as Scanner.
Detailed explanation-2: -Lexical analysis is the first phase of a compiler. It takes modified source code from language preprocessors that are written in the form of sentences. The lexical analyzer breaks these syntaxes into a series of tokens, by removing any whitespace or comments in the source code.
Detailed explanation-3: -Correct Option: C In a compiler, keyboards of a language are recognized during the lexical analysis of the program.
There is 1 question to complete.