Consider the grammar
S → ABCc ∣ bc BA → AB Bb → bb Ab → ab Aa → aa
Which of the following sentences can be derived by this grammar?
(A) abc
(B) aab
(C) abcc
(D) abbc
Answer: (A)
Explanation:
Quiz of this Question
Article Tags :
Recommended Articles