Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

draw determininistic finite automataof a language-{w|w has an even number of a's and one or two b's}}

OpenStudy (anonymous):

GOOGLE it :P

OpenStudy (anonymous):

OpenStudy (anonymous):

which is the final state here?? the state which has +-, that one?

OpenStudy (anonymous):

yes

OpenStudy (anonymous):

+ is for final , and - is for start state , in this +- is both , start as well as end state , hope so it will help u out

OpenStudy (anonymous):

even no. of a's and one or two b's--- so a string can be "aaaab" ,"bbaa".In this case i think this strings are not accepting .Here only "abba" or"aaabba" or "baa" are accepting, again here "babba" is creating which is not acceptible

OpenStudy (anonymous):

try this

OpenStudy (anonymous):

aktly this one , previous is not valid for aaabba, i thnk now it will work

OpenStudy (anonymous):

OpenStudy (anonymous):

aababaaa...check this one

OpenStudy (anonymous):

check this one , n telme is it working for all strings or not having even a's and 1 or 2 b;s???

OpenStudy (anonymous):

thnx really, u did a grt job.Finally the strings of tht condition are accepted as per as i am concerning.

OpenStudy (anonymous):

OpenStudy (anonymous):

can u plzz check whether its correct or not? i found this one from ur previous dfa.

OpenStudy (anonymous):

no its not correct , aktly its not dfa , its ndfa non-detrminstic fa , dfa 4 ur lang is the last one i posted

OpenStudy (anonymous):

sry, yes you are right.its NFA.thnx you really.last one was shortest DFA

OpenStudy (anonymous):

:-)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!