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

build a finite automata that accept only those words that do not end with ba, with alphabet {a,b}. how to solve this question. how to know that what input we take. plz help me in this subject

OpenStudy (anonymous):

First, you'll need to figure out how many states you'll need and give them a good and understandable name. I think your example can be done in three states. As for the name, it's best to choose something like "I've seen an 'a' followed by a 'b'". Once you've got that figured out, you'll need to check what happens when the input is an 'a' and when the input is a 'b'. Which state should you go to, or do you stay in the same state?

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!