Multiple choice question for engineering Set 1 1. A CFG is ambiguous if a) It has more than one rightmost derivations b) It has more than one leftmost derivations c) No parse tree can be generated for the CFG d) None of the mentioned AnswerAnswer: b [Reason:] A context free grammar is ambiguous if it…