1.

What does a Syntactic Analyser do?(a) Maintain Symbol Table(b) Collect type of information(c) Create parse tree(d) None of the mentionedI got this question in my homework.The origin of the question is Syntax Analyser topic in section Contextfree Grammar and Syntax Analysis of Compiler

Answer»

The correct option is (c) Create PARSE TREE

For explanation: SYNTAX analyzer will just create a parse tree. Semantic Analyzer checks the meaning of the string PARSED.



Discussion

No Comment Found

Related InterviewSolutions