Deprecated: Implicit conversion from float-string "1621141455.400" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1621141455.400" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1621141455.400" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1621141455.400" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1621141455.400" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1621140785.516" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1621140785.516" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1621140785.516" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1621140785.516" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1621140785.516" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
Theory of Computation: How to construct compound Automata ? and find the no of states in minimal FA ?
2,689 views

2 Answers

Best answer
16 votes
16 votes

The above problem is Intersection of Two problems 

1. All binary strings ending with 01, having regular expressoin $(0+1)^*01$, having DFA $M_1$

2. All binary strings of even length , having regular expression $((0+1)(0+1))^*$ , having DFA $M_2$

Take Intersection of $M_1$ and $M_2$, using cross product, having $x_0y_0$ as start state and $x_2y_0$ as final states( where we have both finals together)

$Q$\ $\Sigma$ $0$ $1$
$\rightarrow x_0y_0$ $x_1y_1$ $x_0y_1$
$x_1y_1$ $x_1y_0$ $x_2y_0$
$x_0y_1$ $x_1y_0$ $x_0y_0$
$x_1y_0$ $x_1y_1$ $x_2y_1$
$x_2y_0^*$ $x_1y_1$ $x_0y_1$
$x_2y_1$ $x_1y_0$ $x_0y_0$

Minimized DFA will be 

 
$Q$\ $\Sigma$ $0$ $1$
$\rightarrow x_0y_0$ $x_1y_1$ $x_0y_1$
$x_1y_1$ $x_0y_0$ $x_2y_0$
$x_0y_1$ $x_0y_0$ $x_0y_0$
$x_2y_0^*$ $x_1y_1$ $x_0y_1$

selected by
–4 votes
–4 votes
REGULAR EXPRESSION     (00+01+10+11)*(01).

further optimization could be done

Related questions

323
views
0 answers
1 votes
pC asked Jul 22, 2016
323 views
Construct Compound FA that accept strings Even number of a's and ODD number of B's
750
views
4 answers
1 votes
chat28 asked Jan 17, 2016
750 views
What is the number of states in a minimal FA which accepts all strings over (0,1)* where every string starts with 100 and the length of the string is congruent to 1(mod4)...
1.4k
views
1 answers
0 votes
Arnabi asked Jan 13, 2017
1,444 views
Construct the dfa that accepts all the strings of a's and b's where no of a's is even OR no of b's is odd.
1.3k
views
1 answers
3 votes
rahul sharma 5 asked Aug 4, 2017
1,340 views
What will be total number of final states in NFA for the given regular expression?$R=(a+b)^{*}b(a+b+\epsilon )$