Complete the code to name the first phase of compilation.
The first phase of compilation is called [1].The first phase of compilation is Lexical Analysis, where the source code is converted into tokens.
Complete the code to name the phase that checks the structure of tokens.
The phase that checks the structure of tokens is called [1].Syntax Analysis checks if the tokens follow the grammar rules of the language.
Fix the error in naming the phase that checks meaning in code.
The phase that checks the meaning of the code is [1].Semantic Analysis ensures the code makes sense logically and checks for type errors.
Fill both blanks to name the phase that improves code and the phase that produces machine code.
The [1] phase improves the code, and the [2] phase produces machine code.
The Optimization phase improves code efficiency, and Code Generation produces the final machine code.
Fill all three blanks to complete the phases: scanning, parsing, and meaning check.
The phases are [1], [2], and [3] respectively.
The phases are Lexical Analysis (scanning), Syntax Analysis (parsing), and Semantic Analysis (meaning check).