Solution:Context free Grammar :- A grammar G = (V,T,S,P) is said to be context- free if all productions in P have the from A →X Where A∈V and X∈(V U T)* If context the grammar G = (V,T,S,P) is without λproductions or unit productions. K = maximum number of symbols on right-side of production.
The maximum number of production rules for equivalent grammar in CNF: (K–1)|P|+|T| A context free grammar is in CNF (Chomsky normal form) if it satisfies these conditions: 1. Should not contains null or unit productions. 2. A non- terminal symbol generating two non-terminals for examples S →AB 3. A non-terminal generating a terminal example: S →a