{c | c contains any string except 0, 00, and ε} Regular expression
Added by Robert J.
Step 1
First, we need to allow any string to be present in the language. We can do this by using the dot (.) metacharacter, which matches any character except a newline. Show more…
Show all steps
Your feedback will help us improve your experience
Corbin Tegner and 54 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Find the regular expression of the set of strings ending in 0 and not containing 111
Ramesh R.
Express each of these sets using a regular expression. a) the set containing all strings with zero, one, or two bits b) the set of strings of two 0 $\mathrm{s}$ , followed by zero or more $1 \mathrm{s},$ and ending with a 0 c) the set of strings with every 1 followed by two 0 $\mathrm{s}$ d) the set of strings ending in 00 and not containing 11 e) the set of strings containing an even number of 1 $\mathrm{s}$
Modeling Computation
Language Recognition
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD