426 views

1 Answer

1 votes
1 votes
A=aa* = $a^{+}$ = set of all strings of a's with one or more a

B= bb*=$b^{+}$ = set of all strings of b's with one or more b

we know that,

If R1 and R2 are regular expressions, then R1 | R2 (also written as R1 U R2 or R1 + R2) is also a regular expression.

so (AUB)*=( $a^{+}$ + $b^{+}$)*  =(a+b)*

 

so option 3 is correct.
edited by

Related questions

511
views
1 answers
0 votes
D_i_b_y_a prakash asked Aug 13, 2023
511 views
L = (a+b)$\small ^*$b is equivalent to ____________?A. (ab$\small^*$)$\small^+$B. (a$\small^+$b$\small^*$)$\small^+$C. b$\small^*$(ab$\small^*$)$\small^*$bD. None
563
views
1 answers
0 votes
aditykansara asked Jun 23, 2018
563 views
How to construct an automata with even number of a's OR odd number of b's?
117
views
1 answers
0 votes
KartikS asked Jun 18
117 views
Write Regular expression for the set of string over alphabets {a, b} starting with b and ending with odd number of a’s or even number of b’s.
100
views
0 answers
0 votes
Thembekile asked May 28
100 views
Draw a DFA and Transition table for the regular expression (a|b)*abb