15) Consider the grammar :
S —> ABCc | Abc
BA —> AB
Bb —> bb
Ab —> ab
Aa —> aa
Which of the following sentences can be derived by this grammar
Answer is:
abc
Related Theory of Computation MCQ with Answers
Answer is:
all of these
Explanation:
The language of all words with at least 2 a's can be described by the regular expression
(ab)*a and a (ba)*
(a + b)* ab* a (a + b)*
b* ab* a (a + b)*
Answer is:
has atleast two a ′s
Answer is: