Question

1. For each of the following regular expressions find a language (i.e., a set of strings) over A = {a,b,c} that can be repres
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)

a)bac+bc

this regular expression accepts strings bac or bc

Language is {bac,bc}

b)b*ac+bc*

Language is {ac,,bac,bbac,,bbbac,.......,b,bc,bcc,bccc,,........}

this regular expression accepts set of strings starts with any number of b's and ends with ac or start with single 'b' and ends with any number of c's.

c)b*ccca*

Language is {ccc,bccc,ccca,bbccc,bbccca,bbcccaa,..............}

this regular expression accepts set of strings starts with any number of b's followed by three c's followed by any number of a's.

2)answer)

the language i s{b,ac,bac,bc,.....,b^n ac,bc^n,.......}

regular expression is b*ac+bc*

Add a comment
Know the answer?
Add Answer to:
1. For each of the following regular expressions find a language (i.e., a set of strings)...
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
Active Questions
ADVERTISEMENT