564 views
1 votes
1 votes
The regular expression 0*(10*)* denote the same set as
(1)  (1*0)*1*
(2)  0+(0+10)*
(3)  (0+1)*10(0+1)*
(4)  None of these

Isnot 1) as same as given expression? 

1 Answer

Best answer
1 votes
1 votes
I think regular expression 1 is correct.

$\because \color{blue} {a^*(ba^*)^*=b^*(ab^*)^*=(a+b)^*}$

And one more important conversion--

$\color{cyan}{(PQ)^*P=P(QP)^*}$

From this we can write $a^*(ba^*)^*=(a^*b)^*a^*$

where P is a* and Q is b.

So in given question--

$0^*(10^*)^*=(1+0)^*=1^*(01^*)^*=(1^*0)^*1^*$

Option 1 is correct..
selected by

Related questions

1 votes
1 votes
0 answers
2
srestha asked May 24, 2019
1,310 views
$1)$How circular queue can be implemented?$2)$ For which data structure circular queue cannot be implemented?$(A)$Array $(B)$ Singly Linked List $(C)$ Doubly Linked List...
0 votes
0 votes
0 answers
4
srestha asked Apr 5, 2019
1,281 views
Identify the algorithm which works on the principle that locally optimal solutions are globally optimal.$\left ( A \right )$ Divide and Conquer$\left ( B \right )$ Greedy...