edited by
303 views

2 Answers

0 votes
0 votes
The language generated will be

    ε UNION { All strings that start with “ a “ and # a’s greater than or equal to # b’s and no consecutive b’s are allowed } where # is a short hand notation for “ number of “
0 votes
0 votes

for each ‘b’, the #a’s > #b’s (sub-string before ‘b’).

Related questions

954
views
2 answers
2 votes
Sambhrant Maurya asked Oct 18, 2018
954 views
Consider the following CFG 'G'S--> aA/bSS/SSA--> aAb/bAa/AA/εThe language generated by G is:a)Set of all strings with atleast one 'a'b)Set of all strings ... )Set of all strings with atleast one more 'a' than number of b'sd)None of these
1.5k
views
1 answers
1 votes
Mk Utkarsh asked Mar 22, 2018
1,506 views
Please post few examples of Linear Ambiguous Context Free Grammar.It would be helpful if you post grammars for famous languages.
523
views
1 answers
0 votes
Srinivas Rao asked Apr 4, 2017
523 views
Do the following productions mean the sameBb->bb and B->bMy doubt is that will the first production be used only when we have b in the follow of B or ... can be used in any case then will the first production be equal to second production.
739
views
1 answers
1 votes
gabbar asked Mar 25, 2017
739 views
Construct context-free grammars to accept the following languages.$\begin{align*} \large L = \left \{ 0^i1^j2^k \;\; | \;\; i \neq j \;\; or \;\; j \neq k \right \} \end{align*}$