1,313 views
0 votes
0 votes
Which of the following statement(s) are true about NFA & DFA?
(i) NFA is more powerful than DFA but DFA is more efficient than NFA.
(ii) NFA will respond for only valid inputs and no need to respond for invalid inputs.
(iii) There is no concept of dead states and complement in NFA.
(iv) NFA is a parallel computing system where we can run multiple threads concurrently.
(a) only (i) & (ii) are true (b) only (ii) & (iii) are true

(c) only (iii), (iv) & (i) are true (d) All statements are true

3 Answers

0 votes
0 votes
(i) NFA is more powerful than DFA but DFA is more efficient than NFA.

      This is False, Power of NFA and DFA is same.

(ii) NFA will respond for only valid inputs and no need to respond for invalid inputs.

    This is true, NFA go final states only for valid i/p's.

(iii) There is no concept of dead states and complement in NFA.

       This is true, There is no concept of Dead State, because NFA nothing says about invalid i/p's, and complement also not valid for NFA

(iv) NFA is a parallel computing system where we can run multiple threads concurrently.

     This is true, NFA uses parallel Computing System, while accepting a string, if any path lead to termination in Final State, then it stops all other computing, simply says " String is Valid "
0 votes
0 votes
1)power of nfa= power of the dfa coz for every nfa there is a dfa.therefore its wrong

2)nfa and dfa both responds to only valid inputs bcoz they are finite. therefore true

3)there is no dead states in nfa due to non determinstic in nature and no complement concept.therefore true

4)In nfa,for every state  there is could one or more than one input alphabet at a time.not necesserily always every state have all the input alphabet concurrently..

therefore ans is b
0 votes
0 votes

Option A :

Power in Automata Theory is defined by the "Acceptance of the language family".

Both DFAs and NFAs accept the Regular languages family. Hence, Power is Same.

But NFAs are more efficient than DFAs in the terms of Time and Space. 

Option B :

NFAs are allowed to have Dead configurations, Hence, they (NFA) will respond for only valid inputs and no need to respond for invalid inputs.

Option C :

 "There is no concept of dead states and complement in NFA." ..  Technically, It is False as Every DFA is also an NFA. 

Option D :

"NFA is a parallel computing system where we can run multiple threads concurrently." . Yes. True as NFA is Non-deterministic and at each step, It can split into multiple ways and run simultaneously.

Related questions

1 votes
1 votes
1 answer
1
rohan mishra asked Jul 21, 2017
415 views
When we convert a NFA to a DFA we count dead state in DFA or not?
3 votes
3 votes
1 answer
2
Deepthi_ts asked Apr 17, 2017
4,186 views
Consider regular expression r, where r = (11 + 111)* over Ʃ = {0, 1}. Number of states in minimal NFA and DFA respectively are:ANFA – 3, DFA – 4BNFA – 3, DFA – 3...