864 views

3 Answers

2 votes
2 votes

note: 2nd state just after initial state is also final state.

.

edited by
0 votes
0 votes

The above DFA accepts all strings having even number of ab

Related questions

4 votes
4 votes
1 answer
1
Devasish Ghosh asked Mar 9, 2017
313 views
For the alphabet Σ = {a,b}, the enumeration of the strings of {a,b}* in the lexicographic order is following{ϵ, a, b, aa, ab, ba, bb, aaa, aab,...}List the fist 5 stri...
12 votes
12 votes
1 answer
2
Devasish Ghosh asked Mar 9, 2017
1,388 views
Design a context free grammar for the language consisting of all strings over $\mathbf{\{a,b\}}$ that are not the form $\mathbf{ww}$ for any string $\mathbf{w}$
0 votes
0 votes
0 answers
4