1.

The output of the lexical and syntax analyzer can stated as:(a) parse stream, parse tree(b) token tree, parse tree(c) token stream, parse tree(d) all of the mentionedI got this question in class test.The origin of the question is Lexical Analysis in division Regular Expressions and Languages of Automata Theory

Answer» RIGHT CHOICE is (c) token stream, parse tree

The best I can explain: The lexical analyzer outputs the stream of token which is taken up by SYNTAX analyzer one by one against the production rule and parse tree is generated.


Discussion

No Comment Found

Related InterviewSolutions