Compiler Design

Which term refers to the first phase of compilation that converts source code into a sequence of tokens?

Correct answer

A. Lexical analysis

Explanation

Lexical analysis refers to the first phase of compilation that converts source code into a sequence of tokens.