423 views

2 Answers

1 votes
1 votes

The given grammar is accepting  the strings like $(\epsilon,ab,abab,ababab….\infty)$ whose regular expression is $(ab)^*$

 

 

Related questions

425
views
1 answers
1 votes
Naveen Kumar 3 asked Mar 19, 2019
425 views
Let $Σ$ = {$a, b$}. For each of the following languages, find a grammar that generates it.(a) $L_1$ = {$a^nb^m : n ≥ 0, m n$}.(b) $L_2$ = {$a^nb^{2n} : n ≥ 0$}.(c) ...
956
views
1 answers
1 votes
Naveen Kumar 3 asked Mar 19, 2019
956 views
What language does the grammar with these productions generate?$S \rightarrow Aa$ ,$A \rightarrow B$ ,$B \rightarrow Aa$ .
451
views
0 answers
0 votes
Naveen Kumar 3 asked Mar 19, 2019
451 views
Find grammars for $Σ$ = {$a, b$} that generate the sets of(a) all strings with exactly one $a$.(b) all strings with at least one $a$.(c) all strings with no more than th...