Question 70Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 2 + 1 more paperA context free grammar G is in Chomsky normal form if every production is of the form
- AA → BC or A → A
- BA → BC or A → a
- CA → BCa or B → b
- DNone of these
Show answerHide answer
Correct answer: (B) A → BC or A → a
Explanation
In Chomsky normal form every production is A → BC (two variables) or A → a (a single terminal).