Back to the 2023 paper

Module 2: Context-Free Languages (CFL) and PDA

20232m

A given grammar is called ambiguous if:

(i) two or more productions have the same non-terminal on LHS
(ii) a derivation tree has more than one associated sentence
(iii) there exists a sentence with more than one derivation tree
(iv) brackets are not present in the grammar

Similar questions