1.

Grammar that produce more than one Parse tree for same sentence is ___________(a) Ambiguous(b) Unambiguous(c) Complementation(d) Concatenation IntersectionThe question was posed to me in examination.My enquiry is from Context Free Grammar in chapter Contextfree Grammar and Syntax Analysis of Compiler

Answer»

The CORRECT choice is (a) Ambiguous

Easy explanation: An ambiguous GRAMMAR is one for which there is more than one PARSE tree for a single sentence.



Discussion

No Comment Found

Related InterviewSolutions