Computer Science Fundamentals Algorithms Objective
Mar 06, 2013

A given grammar is called ambiguous if

Choose the correct answer:
A) two or more productions have the same non-terminal on the left hand side
B) a derivation tree has more than one associated sentence
C) there is a sentence with more than one derivation tree corresponding to it
D) brackets are not present in the grammar
Detailed Explanation

Option c is right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback