Question

I need to construct a deterministic finite automata, DFA M, such that language of M, L(M),...

I need to construct a deterministic finite automata, DFA M, such that language of M, L(M), is the set of all strings over the alphabet {a,b} in which every substring of length four has at least one b.

Note: every substring with length less than four is in this language.

For example,

aba is in L(M) because there are no substrings of at least 4 so every substring of at least 4 contains at least one b.

abaaab is in L(M) because abaa, baaa, aaab all contain at least one b

abaaaa is not in L(M) because aaaa does not contain at least one b

Hint: Use the complement

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

Vo a,b a, b stasta, b 0 hau atleca one b

Add a comment
Know the answer?
Add Answer to:
I need to construct a deterministic finite automata, DFA M, such that language of M, L(M),...
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