retagged by
499 views

2 Answers

0 votes
0 votes
a)
S -> aSb | aSB | b
B -> bB | epsilon

b)
S-> aSbb | epsilon

c)
S-> aaA
A-> aAb | ab   (n=1 minimum)

d)
S-> aaaA
A-> aAb | epsilon  (n=3 minimum)

Edit is coming soon for the rest. Out of patience .. :D
0 votes
0 votes

Please verify 

h) L1 - L4' = { } . So simply S-->S will not produce any string (including epsilon)

edited by

Related questions

0 votes
0 votes
2 answers
1
0 votes
0 votes
2 answers
4
suneetha asked Dec 22, 2018
342 views
i thought that it is the language where both start and end symbols are same and i got 65 but the ans is 29