Question

Create Regular Expression for the following language: Σ = { 0, 1 } All strings that...

Create Regular Expression for the following language:

Σ = { 0, 1 }

  1. All strings that optionally start with 1111 and must end with 0000.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

regular expression:
--------------------
(1111)?(0+1)*0000

Explanation:
---------------
(1111)? is optional 1111
(0+1)* gives strings of length 0 or more
0000 at the end makes sure that the expression ends with 0000
Add a comment
Know the answer?
Add Answer to:
Create Regular Expression for the following language: Σ = { 0, 1 } All strings that...
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