Practice free →
HomeGATE CSEcomputerscienceTheory of Computation › Which is a key difference between a DFA and an N…

Which is a key difference between a DFA and an NFA (Non-deterministic Finite Automaton)?

ADFAs accept regular languages; NFAs do NOT
BNFA transitions can lead to a SET of next states
CDFAs have more states than NFAs for every language
DNFAs cannot be converted to DFAs
Answer & Solution
Correct answer: B. NFA transitions can lead to a SET of next states
1. NFA transition function: $\delta_N : Q \times (\Sigma \cup \{\varepsilon\}) \to 2^Q$ — returns a SET of possible next states. 2. From a given state with a given input, the NFA may have multiple choices (or none) of where to go. 3. ACCEPTANCE: NFA accepts $w$ if SOME path through the computation ends in an accepting state. 4. EQUIVALENCE: every NFA can be converted to a DFA (subset/powerset construction) that recognises the same language. So DFAs and NFAs recognise the SAME class of languages: regular languages. Option A is wrong. 5. State blow-up: the DFA equivalent can have UP TO $2^n$ states where the NFA has $n$ states (option C wrong in general). Option D contradicts the subset construction. _Source: Jeff Erickson, "Models of Computation", §2.6 (Nondeterministic Finite Automata)._
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions