1.

What is the output of lexical analyzer?(a) A set of regular expression(b) Syntax tress(c) Set of Token(d) String of CharactersThis question was addressed to me during an internship interview.This interesting question is from Handle of Right sentinel Grammar topic in section Bottom Up Parsing of Compiler

Answer» CORRECT ANSWER is (c) Set of Token

Best explanation: Lexical ANALYSIS is the process of CONVERTING a sequence of characters into a sequence of tokens.


Discussion

No Comment Found

Related InterviewSolutions