Questions: Nondeterministic Finite Automata (NFA)

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A student argues that NFAs must be more powerful than DFAs because NFAs can branch into multiple states simultaneously while DFAs follow exactly one path. Is this claim correct?

AYes — the branching ability means NFAs can recognize some non-regular languages that DFAs cannot
BNo — every NFA can be converted to an equivalent DFA via the subset construction, so both models recognize exactly the regular languages
CYes — NFAs with ε-transitions recognize a strictly larger class of languages than DFAs without ε-transitions
DNo — DFAs are actually more powerful because their determinism guarantees a single, predictable execution path
Question 2 Multiple Choice

An NFA processing input string 'ab' has three computation paths: path 1 ends in a reject state, path 2 gets stuck (no valid transition exists), and path 3 ends in an accept state. What is the NFA's decision on 'ab'?

AReject — a majority of paths do not reach an accept state
BAccept — at least one computation path ends in an accept state
CReject — path 2 getting stuck counts as a definitive rejection that overrides other paths
DUndefined — the NFA cannot make a decision when some computation paths get stuck
Question 3 True / False

An NFA accepts a string primarily if MOST possible computation paths on that string end in accept states.

TTrue
FFalse
Question 4 True / False

An NFA with n states may require a DFA with up to 2ⁿ states to simulate, because each DFA state in the subset construction must represent a possible subset of active NFA states.

TTrue
FFalse
Question 5 Short Answer

Why are NFAs more convenient than DFAs for building automata for language operations like union, even though both models are equally expressive?

Think about your answer, then reveal below.