Multiple choice

Which of the following phases in compiler is also called parsing?

  1. Lexical analysis

  2. Syntax analysis

  3. Semantic analysis

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This phase processes the string of tokens built by lexical analysis to determine the statement class, which is also called as parsing.