1.

What is the output of lexical analyzer?(a) A set of RE(b) Syntax Tree(c) Set of Tokens(d) String CharacterThis question was posed to me during an online exam.The question is from Lexical Analysis topic in section Compiler Introduction of Compiler

Answer» CORRECT option is (c) SET of TOKENS

The explanation: A lexical analyzer coverts CHARACTER SEQUENCES to set of tokens.


Discussion

No Comment Found

Related InterviewSolutions