• edited by
455 views
0 0 votes

Find the equivalent of the Regular Expression:

$L_1 = a^* + b^*$ and $L_2 = a^*b^*.$ Which of the following is True?

A. $L_1 = L_2$

B. $L_1 \cup L_2 = (a + b)^*$

C. ${L_{1}}^{*} = {L_{2}}^{*}$

D. $None$

1 Answer

0 0 votes
A is wrong as L1 can generate string of any length on either a or b while while b can generate string of any no of a followed by any no of b.

B wrong l1Ul2 cant generate ba

C is coorect any string can be generated by both both becomes(a+b)*
Position:
Show:

Related questions

1 1 vote
4 answers 4 answers
1.4k
1.4k views
0 0 votes
2 answers 2 answers
934
934 views
1 1 vote
1 answers 1 answer
798
798 views
0 0 votes
1 answers 1 answer
380
380 views