Converting an NFA to a DFA
[8/63%]An NFA is given by , and
| 0 | 1 | ||
|---|---|---|---|
| - | |||
| - | - | ||
| - | - | ||
| - | - | ||
| - | - |
(See Figure 2.29(a) for the transition diagram of .) Find a DFA which is equivalent to the NFA .
Figure 2.29: Converting an NFA to a DFA.
Construct a DFA which is equivalent to the NFA , where
| 0 | 1 | |
|---|---|---|
| - | ||
| - | - |
Let be an given by
| 0 | 1 | |
|---|---|---|
| - |
Construct an NFA that accepts .
Construct a DFA accepting the set of all binary strings in which the fifth symbol from right is 0.
Consider the following multiplication table on :
For any string in , denote by the value obtained by multiplying symbols in from left to right. For instance, let . Then, we get
Construct an NFA for the set of all strings over such that . (E.g., and .)
Convert each of the following NFA's into an equivalent DFA:
The NFA , with
| 0 | 1 | |
|---|---|---|
| - | ||
| - | - |
The NFA of Figure 2.27(a).
The NFA of Figure 2.27(b).
The NFA of Figure 2.27(c).
For each of the following languages, construct a DFA that accepts the language:
The set of binary strings that contain both substring 010 and substring 101.
The set of all binary strings ending with 00 or 01 or 10.
The set of binary strings that contain both 001 and 110 as substrings or contain neither 001 nor 110 as a substring.
The set of binary strings in which both the fourth symbol from the right and the fourth from the left symbols are 0. [Note: Both strings 0110 and 10101 belong to this set.]
Consider the following multiplication table on :
Construct NFA's for the following languages:
.
.
.