4,593 views
0 votes
0 votes
Construct a DFA over Σ=(a,b) so that it accepts all strings where

1) 2nd symbol from the right is 'a'

2) 3rd symbol from the right is 'a'

2 Answers

0 votes
0 votes

first draw the rough nfa and then directly convert it into the DFA using state transition method,

Right hand side page contains the required dfa...

0 votes
0 votes

Please check the above DFA.

Correct me if wrong.

Related questions

0 votes
0 votes
1 answer
1
jayadev asked Jan 7, 2022
854 views
follow method first draw dfa for ‘a’ always followed by ‘bb’ and reverse it
1 votes
1 votes
2 answers
2
0 votes
0 votes
1 answer
3
0 votes
0 votes
2 answers
4
rohankrishan asked Jun 29, 2022
249 views
Example: 11110100000111 should be accepted. There are 6 zeros. 6 is divisble by 2 and 3. This machine required at least six states.