Questions & Results
Which statement comparing DFAs and NFAs is true?
When does an NFA accept an input string?
Consider this NFA over {a, b}. Missing transitions go to a dead state.
a,b
┌─┐
▼ │
──► (0)┘──a──► (1) ──b──► ((2))
──► marks the start state; ((n)) is accepting.
Which string does it accept?
Consider this NFA over {a, b}. Missing transitions go to a dead state.
a,b
┌─┐
▼ │
──► (0)┘──a──► (1) ──b──► ((2))
──► marks the start state; ((n)) is accepting.
Starting in state 0, which set of states is the NFA in after reading ab?
What is the ε-closure of a state s in an NFA?
Consider this NFA over {a, b}:
──► (0) ──ε──► (1) ──ε──► (2)
▲ │ │
│ b a
│ ▼ ▼
│ (4) ((3))
│ │
└──────────ε──────────┘
──► marks the start state; ((n)) is accepting.
What is ε-closure(0)?
Consider this NFA over {a, b}:
──► (0) ──ε──► (1) ──ε──► (2)
▲ │ │
│ b a
│ ▼ ▼
│ (4) ((3))
│ │
└──────────ε──────────┘
──► marks the start state; ((n)) is accepting.
In subset construction, the DFA state {0, 1, 2} reads a. What is the resulting DFA state, ε-closure(move({0, 1, 2}, a))?
In the subset construction algorithm, what is the start state of the resulting DFA?
In the subset construction algorithm, which DFA states are accepting?
An NFA has n states. In the worst case, how many states can the DFA built by subset construction have?
Score (points) →