1.

Which of the following is used for grouping of characters into tokens?(a) Parser(b) Code optimization(c) Code generator(d) Lexical analyserThis question was posed to me during an internship interview.I'm obligated to ask this question of Handle of Right sentinel Grammar in division Bottom Up Parsing of Compiler

Answer»

Right answer is (d) Lexical analyser

The best EXPLANATION: Lexical ANALYSIS is the PROCESS of converting a SEQUENCE of characters into a sequence of tokens.



Discussion

No Comment Found

Related InterviewSolutions