DFA that accepts even number of 0's and odd number of 1's
<p>The question I have been asked is "Design a DFA accepting the set of all strings with an even number of 0’s and an odd number of 1’s on the alphabet {0, 1}."</p>

<p>I've tried this a few different ways but I can't seem to get it right. This is the best solution I could come up with <a href="https://imgur.com/a/tP6u5" rel="nofollow noreferrer">http://imgur.com/a/tP6u5</a> . Ignore the below diagram as it was a try gone wrong. The problem with my DFA is that for example when I enter 101100 into it it shouldn't be accepted but it is. And with 101011010 it isn't accepted when it should be. Not quite sure how to fix this.</p>

<p>Thanks for your help!</p>