CSI 409: DFA Design Problems Some Answers and Hints
CSI 409: DFA Design Problems Some Answers and Hints
CSI 409: DFA Design Problems Some Answers and Hints
3. Construct deterministic finite automata (DFAs) recognizing the following languages over the
alphabet {a, b}:
0 1
b b
b
2 3
b
a a
a,b
(b) The set of all strings that begin with a but do not contain aab as a substring.
a
b a
a a
0 1 2
b b
a, b
(c) (ab)∗ ∪ a
a b a
0 1 2 3
b a b a
a, b
2
(d) b(aa)∗
b
1 2 4
a b b
a, b
4. Consider the language a∗ b ∪ b∗ over the alphabet {a, b}. Show that any DFA that accepts
this language has to contain a dead state.