Maximum number of states of a DFA converted from an NFA with nstates is?

Nguyễn Hào

New member
Maximum number of states of a DFA converted from an NFA with nstates is?
A. n
B. n$^{2}$
C. 2n
D. None of the mentioned
 
Answer: c
Explanation: Take the NFA with states {qo,q1}, alphabet Σ={a}, initial state q0, transitions δ(q0,a)=q0, δ(q0,a)=q1 and final state q1. It generates the same language as the DFA with the same set of states and alphabet, but transitions δ(q0,a)=q1 and δ(q1,a)=q1.
 

Tìm kiếm

Back
Top