657 views
0 votes
0 votes
If G= ({S} , {a}, {S--->SS} , S), then language L(G) is

a)ϕ

b)aa(a)*

c)(aa)*

d)None of these

1 Answer

Best answer
1 votes
1 votes
As there is only one production in the given grammar that is S-->SS, therefore grammar does not generate any terminal and eventually does not generate any string, thus answer should be option (a) ϕ.
edited by

Related questions

1 votes
1 votes
0 answers
1
0 votes
0 votes
1 answer
3
Abhipsa asked Jan 22, 2019
375 views
Consider the language defined as L = { $a^pb^qa^r$ | p = q or q = r} .L complement isRegularCFL but not regularCSL but not CSLDCFL
1 votes
1 votes
0 answers
4
Sambhrant Maurya asked Oct 14, 2018
348 views
Let r1 = (b*ab*ab*ab*)* and r2= (b*ab*ab*)*. What is L(r1) ∩ L(r2)?a) L[b*ab*ab*ab*)*]b) L[b*ab*ab*)*]c) L[b*ab*ab*)6]d) L[b*ab*ab*ab*ab*ab*ab*)*]