SYNTAX ANALYSIS
ROLE OF THE PARSER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
output of lexical analyzer
|
Machine code
|
|
Intermediate code
|
|
A list of tokens
|
|
A parse tree
|
Explanation:
Detailed explanation-1: -A parse tree. Intermediate code. Machine code. A stream of tokens.
Detailed explanation-2: -Lexical Analysis is the first phase of compiler also known as scanner. It converts the High level input program into a sequence of Tokens. Counting all the boxes, the total number of tokens comes out to be 26.
Detailed explanation-3: -Solution: (D). (1) The output of the lexical analyzer is tokens.
There is 1 question to complete.