UGC-NET | UGC NET CS 2015 Jun – II | Question 33
If all the production rules have single non – terminal symbol on the left side, the grammar defined is:
(A) context free grammar
(B) context sensitive grammar
(C) unrestricted grammar
(D) phrase grammar
Answer: (A)
Explanation: If all the production rules have single non – terminal symbol on the left side, the grammar defined is context free grammar.
for more information on type of grammar Refer:Theory of Computation | Chomsky Hierarchy
Option (A) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.