What is the difference between DFA and NDFA?
20 views
- DFA has a single start state, while NDFA can have multiple start states
- DFA can accept a broader range of languages than NDFA
- DFA is deterministic, while NDFA is non-deterministic (Correct Answer)
- DFA is more complex than NDFA
Explanation
Answer: c) DFA is deterministic, while NDFA is non-deterministic.
Explanation: The main difference between deterministic finite automata (DFA) and non-deterministic finite automata (NDFA) is that in a DFA, for each state and input symbol, there is exactly one transition to a new state, while in an NDFA, there may be multiple transitions for the same state and input symbol.