1.

Lexemes can be referred to as:(a) elements of lexicography(b) sequence of alphanumeric characters in a token(c) lexical errors(d) none of the mentionedI got this question by my school teacher while I was bunking the class.I want to ask this question from Lexical Analysis in division Regular Expressions and Languages of Automata Theory

Answer»

Right choice is (b) sequence of alphanumeric CHARACTERS in a TOKEN

Explanation: A LEXEME is a STRING of characters that form a syntactic unit. It is REASONABLE to say that is the sequence of alphanumeric characters in a token.



Discussion

No Comment Found

Related InterviewSolutions