in Theory of Computation retagged by
1,504 views
0 votes
0 votes
Let $D = \{w \mid w $ contains an even number of a’s and an odd number of b’s and does not contain the substring $ab\}.$ Give a $\text{DFA}$ with five states that recognizes $\text{D}$ and a regular expression that generates $\text{D.}$ $($Suggestion: Describe $D$ more simply$.)$
in Theory of Computation retagged by
by
1.5k views

1 comment

1 Answer

0 votes
0 votes

if we ignore state q3 then ouor aoutomata will accept b ((bb)*(aa)* U(aa)*(bb)*)*

1 comment

Reg exp : (bb)*b + (bb)*b(aa)+
0
0

Related questions