Question

Find a dfa that accept the following language L((aa∗)∗ + abb)

Find a dfa that accept the following language

L((aa∗)∗ + abb)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

checked box shows the accept state.

there are 2 kinds of string that DFA should accept since + sign indicates OR function
String 1 (aa*)*
String 2 abb

for string 1 there can be 0 or more ocurrences of (aa*)

* mean 0 or more occurrence
that means strings can be
empty string
aa
aaaaaaa

for String 2
String should be abb only.

so for 0 occurrence of a i.e. empty string, Start state itself is the accept state.

for for single occurrence of a but 0 occurence of aa* accept state is state S0
for multiple occurence of (aa*) accept state is state S1.

and for Sttring abb accept state is S2.

Add a comment
Know the answer?
Add Answer to:
Find a dfa that accept the following language L((aa∗)∗ + abb)
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT