1.

Which among the following is the root of the parse tree?(a) Production P(b) Terminal T(c) Variable V(d) Starting Variable SI had been asked this question during an interview.I would like to ask this question from Construction and Yield of a Parse Tree in section Context Free Grammars and Languages of Automata Theory

Answer»

Right choice is (d) Starting Variable S

To ELABORATE: The root is labelled by the start symbol. All the leaves are either labelled by a a TERMINAL or with e.



Discussion

No Comment Found

Related InterviewSolutions