Answered step by step
Verified Expert Solution
Question
1 Approved Answer
L 1 = the set of all strings that start with a or have odd length b ) L 2 = the set of all
L the set of all strings that start with a or have odd length
b L the set of all strings that start with b and have even length
c L the set of all strings that end with a and have even length
d Lcap L
e LL
f Lcap L
g The set of all strings such that every occurrence of a is followed by at least three bs eg bbabbbb,
abbb, b babbbbabbbabbbbbbabbbbbbb are in this language, but babb, a bab are not.
h The set of all strings that does not contain pattern baba.
i The set of all strings except bab and ab
j The set of all strings such that every even position position with even index contains a For example,
bab, bab, aaaaa, bababa are in this language, but abb and bbba are not. Note, that index of first
character in the string is equal to
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started