Topic: Compiler Design
Which compiler phase receives tokenized output?
- A. Lexical Analyser
- B. Parser
- C. Pre-processor
- D. Assembler
Answer: B. Parser
Explanation: The Lexical Analyzer (Scanner) breaks the source code into a stream of tokens. This tokenized output is then fed into the Parser (Syntax Analyzer), which constructs a parse tree to verify the grammatical structure of the program.