| Homework 2 |
|---|
| CS 310 Spring 2000 Craig A. Rich |
|
(Exercise 3.21, Martin) For the DFAs (a) and (d) pictured in Figure 3-11,
|
|
(Exercise 3.22, Martin) For each of the following languages, draw a DFA that accepts the language.
|
|
(Exercise 3.24, Martin) Draw a DFA that recognizes the language of all strings of 0's and 1's of length at least 1 that, if they were interpreted as binary representations of integers, would represent integers evenly divisible by 3. Leading 0's are permissable. |
|
(Exercise 3.25, Martin) Suppose M is the DFA (Q, Σ, q0, A, δ).
|
|
(Exercise 4.1, Martin) An NFA with states 1-5 and input alphabet {a,b} has the following transition table.
|
|
(Exercise 4.6, Martin) Can every regular language not containing Λ be accepted by an NFA having only one accepting state? Prove your answer. |