Let = {0, 1}. Which language is expressed by the regular expression *011* {w | w
ID: 3195091 • Letter: L
Question
Let = {0, 1}. Which language is expressed by the regular expression *011*
{w | w contains 011 as a substring after the first symbol}
{w | w contains 011 as a substring}
{w | w has length at least 4 and contains 011 as a substring}
{w | w contains 011 as a substring after at least one symbol}
a.{w | w contains 011 as a substring after the first symbol}
b.{w | w contains 011 as a substring}
c.{w | w has length at least 4 and contains 011 as a substring}
d.{w | w contains 011 as a substring after at least one symbol}
Explanation / Answer
Here given that = {0, 1}
The expression is *011*
So it represents the two symbols. Those are preceded by the substring 011
So here there should be atleast one symbol before the substring. So in the option given that substring after at least one symbol
So the correct answer is option (d) w | w contains 011 as a substring after at least one symbol.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.