1,828 views
4 votes
4 votes

Each of the following languages is the intersection of two simpler languages. In each part, construct $\text{DFAs}$ for the simpler languages, then combine them using the construction discussed in footnote $\text{3 (page 46)}$ to give the state diagram of a $\text{DFA}$ for the language given. In all parts, $Σ = \{a, b\}.$

  1. $\text{\{w| w has at least three a’s and at least two b’s\}}$
  2. $\text{\{w| w has exactly two a’s and at least two b’s\}}$
  3. $\text{\{w| w has an even number of a’s and one or two b’s\}}$
  4. $\text{\{w| w has an even number of a’s and each a is followed by at least one b\}}$
  5. $\text{\{w| w starts with an a and has at most one b\}}$
  6. $\text{\{w| w has an odd number of a’s and ends with a b\}}$
  7. $\text{\{w| w has even length and an odd number of a’s\}}$ 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
admin asked Apr 21, 2019
795 views
The formal description of a $\text{DFA}$ $\text{M}$ is $({q1, q2, q3, q4, q5}, {u, d}, δ, q3, {q3}),$ where $\text{δ}$ is given by the following table. Give the state ...
0 votes
0 votes
1 answer
2
admin asked Apr 21, 2019
4,597 views
Use the construction in the proof of $\text{Theorem 1.45}$ to give the state diagrams of $\text{NFA’s}$ recognizing the union of the languages described in$L_{1}=\text{...