1.

Which of the following is the task of lexical analysis?(a) To build the uniform symbol table(b) To initialize the variables(c) To organize the variables in a lexical order(d) None of the mentionedThe question was asked in an online interview.My query is from Lexical Analysis topic in division Regular Expressions and Languages of Automata Theory

Answer»

The correct answer is (a) To build the UNIFORM symbol table

To explain I would SAY: Lexical analysis involves the following task:

a) Building a uniform symbol table

b) Parsing the SOURCE CODE into tokens

c) Building a literal and identifier table



Discussion

No Comment Found

Related InterviewSolutions