Which of the following set of production is not in Chomsky normal form?

G1: S → AB                     A → AB| a                B → BA | b

G2: S → A | B                 A → AB| a                B → BC | b

G3: S → AB                     A → Ab | a              B → BA | b

in the above productions S,A,B and C are non terminal variables where a, b are terminal  variables.

1
G1 only
2
G1 & G2 only
3
G2 & G3 only
4
G1, G2, G3

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation