Question: Consider the languages L 1 = L ( a + b a ( ab + ba ) a ) , L 2 = L (

Consider the languages
L1= L(a + b
a(ab + ba)
a
),
L2= L((ba)
a(aa)
a),
L3= L(a
(aa + baa)a + aaa).
a) Give a word that is in all three languages, and a word that is in none of them. (1pt)
b) Show that each of the languages L1, L2 and L3 is different. (1.5pt)
c) Consider the language L, given by
L4={w in A
| the word bab occurs at least twice in w}
Is L4 equal to L5= L(a
(bab)a
b
(ab + bab))? Justify your answer2 Regular Expressions (I)
Consider the languages
L1=L(a+b**a(ab+ba)**a**),
L2=L((ba)**a(aa)**a),
L3=L(a**(aa+baa)a+aaa).
a) Give a word that is in all three languages, and a word that is in none of them.
(1pt)
b) Show that each of the languages L1,L2 and L3 is different.
c) Consider the language L, given by
L4={winA**| the word bab occurs at least twice inw}
Is L4 equal to L5=L(a**(bab)a**b**(ab+bab))? Justify your answer
 Consider the languages L1= L(a + b a(ab + ba) a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!