1.

A program that performs lexical analysis is termed as:(a) scanner(b) lexer(c) tokenizer(d) all of the mentionedI got this question in an internship interview.My question is based upon Lexical Analysis in portion Regular Expressions and Languages of Automata Theory

Answer»

The correct CHOICE is (d) all of the mentioned

Easy explanation: A PROGRAM which performs lexical analysis is called lexer, scanner or lexer. Nowadays, lexer is COMBINED with a parser which allows syntactic analysis.



Discussion

No Comment Found

Related InterviewSolutions