in Theory of Computation
350 views
0 votes
0 votes
construct dfa over {a} accepting all strings which have number of a's divisible by 2 and no of a's divisible by 4. what is the minimum no of states in dfa?

ans is 2 states??
in Theory of Computation
by
350 views

2 Comments

yes, 2 states needed.

0
0
aa is not in language !
0
0

1 Answer

0 votes
0 votes
is there "AND" or "OR" between these two conditions ??

if "AND" is there then there will be 4 states.

If "OR" is there then there will be 2 states.