Question

Consider the language L below. (a) Is L a regular language? – Yes, or No. (b) If L is a regular language, design the DFA (using a State Table) to accept the language L, with the minimum number of states.  Assume Σ = {0,1}, (c) Suppose the input is “101100”. Is this input string in the language L?

L={w l w has both an even number of Os and an odd number of 1s}

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

Given language, L={w l w has both an even number of Os and an odd number of 1s}

a)

Yes, the given language is regular language.

b)

9 %, *, 9, 1 ขอ * ข, Trasition table state diagram

c)

The given string is "101100" is not in the language.

q1 --1--> q2 --0--> q3 --1--> q2 --1--> q3 --0--> q2 --0--> q3 which is not final state.

Add a comment
Know the answer?
Add Answer to:
Consider the language L below. (a) Is L a regular language? – Yes, or No. (b)...
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