edited by
287 views
1 votes
1 votes
C1: For DFA (ϕ, Ʃ, δ, qo, F),
         if F = ϕ, then L = Ʃ*
C2: For NFA (ϕ, Ʃ, δ, qo, F),
         if F = ϕ, then L = Ʃ*
Where F = Final states set
ϕ = Total states set

Choose the correct option ?

  1. Both are true
  2. Both are False
  3. $C1$ is true, $C2$ is false
  4. $C1$ is false, $C2$ is true

What is the answer and also explain that?

edited by

2 Answers

1 votes
1 votes

Option c 

In case of dfa if all states are final states then it accept set of all string  (E) ^* .

In case of nfa it becomes false 

1 votes
1 votes

C1: For DFA, if all the states are final states, that would mean it accepts $\sum ^*$ as in case of DFA, transitions are defined for each and every alphabet and for each and every set.

C2: But in case of NFA, transitions are not defined for all the states and only the meaning of the language can be conveyed. So, if all its states are final states then we can't say it accepts $\sum ^*$ as we don't know about other states.

Hence,(c){\color{Magenta} } C1 is true and  C2 is false is correct.

Related questions