Multiple choice

Which is not a stage of compilation?

  1. Lexical Analysis

  2. Validation Analysis

  3. Syntactic Analysis

  4. Semantic Analysis

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

The standard stages of compilation include lexical analysis, syntactic analysis, and semantic analysis, which analyze the structure and meaning of the source code. Validation analysis is not a recognized stage in the compilation process. After these analysis phases, the compiler typically generates and optimizes machine code.