Question

************Theory of Computing ***************** 1. Generate a regular expression of “all words over the alphabet Σ...

************Theory of Computing *****************

1. Generate a regular expression of “all words over the alphabet Σ = {a b} that either begin with a and end with b OR begin with b and end in a.” Thus, the first few shortest words in this language are “ab” “ba” “aab” “baa” “abb” “bba” “aaab” etc.   So, if a word begins with a it must in end b, and if it begins with b it must end in a.

2. Consider the language “all words that can be constructed from the alphabet Σ = {a b} that contain exactly two b’s.”

a. List the four shortest words in the language

b. Generate a regular expression that for this language.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
************Theory of Computing ***************** 1. Generate a regular expression of “all words over the alphabet Σ...
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