in Theory of Computation
14,160 views
0 votes
0 votes
Can someone show how we can systematically come up with regular expression for language not containing string 101 on alphabet {0,1} by first creating DFA and then converting it to regular expression?
in Theory of Computation
14.2k views

3 Answers

4 votes
4 votes
  • At first you make a DFA for this . After we can find regular expression .

 

4 Comments

well, I was also able to come up with the DFA, point was how do I reduce this DFA to regex. I have come up with following reduction of dfs to regex. Tell me if it looks correct:

1
1
answer is correct..!
0
0
Can you please explain the way to get regular expression from dfa?
0
0
0 votes
0 votes

(λ + 0)( 1+ 000* )(λ + 0)  +   0*1*0*

is this  a possible regular exprssion??

please correct me if not.

 

0 votes
0 votes

After getting this Just Do complement of it.

Related questions