Question

Let NN be an NFA with nn states. Let kk be the number of states of a minimal DFA which is equivalent to NN. Which one of the following is necessarily true?

Choose one option
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 NN with nn 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 NN.

Since a set of nn elements has exactly 2n2^n subsets, the constructed DFA has at most 2n2^n states.

State minimization of a DFA either maintains or decreases the total number of states. Hence, the minimal equivalent DFA has k≤2nk \le 2^n states.

Final answer

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.