1.

Find a regular expression for a grammar which generates a language which states :L contains a set of strings starting wth an a and ending with a b, with something in the middle.

A. a(a*Ub*)bb) a*(aU
B. a*(aUb)b*
C. a(a*b*)b
D. None of the mentioned
Answer» B. a*(aUb)b*


Discussion

No Comment Found