in Theory of Computation edited by
351 views
0 votes
0 votes
Consider the following regular expression (RE) RE= (aa+abb)^+ (a+b+ba)^+ (a+b)^+

How many minimal strings exist for above RE?

(a) 3

(b) 4

(c) 5

(d) 6
in Theory of Computation edited by
351 views

1 Answer

1 vote
1 vote
Best answer
Ans is b.....4

For the string to be minimal from first one you have to choose aa and from second and third you can choose either a or b so no of minimal string=2×2=4
selected by

1 comment

Thank you
0
0

Related questions