1.

State true or false:Statement:A lexical analyzer reads the source code line by line.(a) Statement:A lexical analyzer reads the source code line by line.(b) True(c) FalseThe question was posed to me during an online interview.I'm obligated to ask this question of Lexical Analysis topic in portion Regular Expressions and Languages of Automata Theory

Answer»

The correct option is (b) True

To explain: A lexical analyzer READS the source CODE letter by letter and when it encounters a space or an operator or any special CHARACTER, it decides that the WORD is completed.



Discussion

No Comment Found

Related InterviewSolutions