Question
Let be an NFA with states. Let be the number of states of a minimal DFA which is equivalent to . Which one of the following is necessarily true?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2018 answer key
Solution
Apply the powerset construction to determine the maximum upper bound on states in an equivalent DFA.
An NFA with states can be converted to an equivalent DFA using the subset construction (powerset construction). In this construction, each state of the DFA corresponds to a subset of states of .
Since a set of elements has exactly subsets, the constructed DFA has at most states.
State minimization of a DFA either maintains or decreases the total number of states. Hence, the minimal equivalent DFA has states.
D
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2018 Computer Science and Information Technology (CS)
- Question
- 16 of 65, printed as CS Q.6
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.