retagged by
1,901 views
1 votes
1 votes

Consider the NFA below:

The above NFA acceptes all those binary strings which represents the decimal numbers and are
a. divisible by 6 only
b. dividible by 2 and 3 only
c. divisible by 2 or 3
d. None of these

retagged by

1 Answer

Best answer
0 votes
0 votes

Ans. C.

  • For option A: It will accept numbers divisivle by 6, but not 6 only. (will accept 4, 8, ...)
  • For option B: It will accept number divisible by 2 and 3, but not 2 and 3 only ( will accept 9, which is divisible by 3 but not but 2)
  • Otion C: it accept numbers which are either divisble by 2 or 3 (All numbers divisibile by this NFA is divisible by either 2 or 3 or both.)
selected by

Related questions

1 votes
1 votes
1 answer
2
GateAspirant999 asked Mar 2, 2018
1,104 views
Language accepted by following NFA and number of states in DFA accepting that Language are:$\{a^n|n=2k,kϵN\}$ and 2$\{a^{2n}|n=2k,kϵN\}$ and 2$\{a^n|n=2k,kϵ N\}$ and 3...
0 votes
0 votes
2 answers
4