in Theory of Computation
1,692 views
0 votes
0 votes
With Σ = {a,b}, give a dfa for L= w1aw2  :|w1|≥ 3,|w2|≤ 5
in Theory of Computation
1.7k views

3 Answers

1 vote
1 vote

L = {W1aW2 | W1>=3 and W2<=5}

4 Comments

It doesnt say that w2 doesnt contain a's but with your dfa no language with w2 containing a's will get accepted.i think some modification is required
0
0

after 'a' there should be atmost 5 b's..if 'a' is coming in W2 that will be merge to 'W1a'

0
0
here they didn't say that you should not have 'a' 's in w2 so how can we merge it??
0
0
You can try all strings belonging to L are getting accepted!!!!!!!
0
0
0 votes
0 votes

dfa

verify both valid string they are accepted and also verify that invalid string that is not getting accepted.

0 votes
0 votes

The  DFA  will be

edited by

Related questions