Question

3. Construct minimal NFA that all accepts all strings of {a,b} which contains aa or bb...

3. Construct minimal NFA that all accepts all strings of {a,b} which contains aa or bb as substring.

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

When starting we can branch depending on if the character is a or b. If the 2nd letter is also same then goto accepted state. If a different character appears then goto the state to q1 or q2 depending on the state of the machine. If the next character is also same then goto accepted state and then consume the rest of the string by looping in the accepted state.

Add a comment
Know the answer?
Add Answer to:
3. Construct minimal NFA that all accepts all strings of {a,b} which contains aa or bb...
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