Contents    Prev    Next    Page+10   

A grammar is Ambiguous if:

  • A: the same nonterminal appears twice on the right side of some production
  • B: there are two productions with the same nonterminal on the left side
  • C: there are two derivations of some sentence
  • D: there is some string with two distinct parse trees
  • E: the right side of some production has more than one nonterminal

    Answer