1,030 views
2 votes
2 votes

Consider the following finite automata F1
image:toc2-9.png
Which of the following is not equivalent Regular expression?

  1.   c(ac+b)*
  2.   (cac)*+b*
  3.   (cac)*+(cb)*
  4.   None of the above

1 Answer

Best answer
1 votes
1 votes

The question can be done by option elimination also . 

2) and 3) are accepting epsilon as minimal length strings . But according to the given automata , the minimal string is 'c' . 

The correct regular expression can be found as :

First we reach to state q1 which is done by reading 'c' ..Followed by this we consider the loops on this state which are constituting 'b' and 'ac' .. Hence the incoming loops can be written as : (b + ac)* ..So we have entire reg exp :   c(b + ac)*..

Option 1) is also the same.Hence it is correct regular expression for the given automata.So 2) and 3) are not equivalent regular expression..But there is no option like "2) and 3)"..

Hence D) should be the correct answer..

selected by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
4
suneetha asked Dec 23, 2018
506 views