0 votes 0 votes How many states in the minimal dfa which accepts all string of language L={ w | w € (a+b)* } whose string length divide by 2 or 4 ? Theory of Computation minimal-state-automata + – Aditya Agrawal asked Oct 10, 2016 Aditya Agrawal 495 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 3 votes 3 votes 2 states are enough. Prashant. answered Oct 13, 2016 • selected Oct 13, 2016 by Praveen Saini Prashant. comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Asnswer will be 2.Start state as final state and one more state to loop back. aik138463 answered Oct 10, 2016 aik138463 comment Share Follow See all 3 Comments See all 3 3 Comments reply Sushant Gokhale commented Oct 13, 2016 i edited by Sushant Gokhale Oct 14, 2016 reply Follow Share 2 states is correct. 0 votes 0 votes Sushant Gokhale commented Oct 14, 2016 reply Follow Share @Aik. Editing the answer. Was confused. 0 votes 0 votes aik138463 commented Oct 14, 2016 reply Follow Share ok bro no problem 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Two states is enough(one for even length string and another for odd length string) and we make final state which accept even length string rahulsangwan59 answered Oct 15, 2016 rahulsangwan59 comment Share Follow See all 0 reply Please log in or register to add a comment.