Question

Consider the following regular expression r.                1(0+1)*0(0+1)*1 1.In words, describe the language L(r). Please explain

Consider the following regular expression r.

               1(0+1)*0(0+1)*1

1.In words, describe the language L(r).

Please explain

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

This will be a language with minimum 5 letter in the string that starts up with 1 and ends with 1.And the middle value will be 0.Compulsary two one and one 0 will be there in this language.

Grammar:

S-> 1S1 | 1A0A1

A->1a|0a

a->0|1 | ε

Add a comment
Know the answer?
Add Answer to:
Consider the following regular expression r.                1(0+1)*0(0+1)*1 1.In words, describe the language L(r). Please explain
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