retagged by
1,547 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$.)$
retagged by

1 Answer

0 votes
0 votes

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

Related questions

0 votes
0 votes
1 answer
4
admin asked Apr 21, 2019
1,097 views
Prove that every $\text{NFA}$ can be converted to an equivalent one that has a single accept state.