Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Ehs 2.0 Revolutionizing The Future Of Safety With Digital Technology

Authors: Tony Mudd

1st Edition

B0CN69B3HW, 979-8867463663

Students also viewed these Databases questions

Question

=+3. How would you test the effectiveness of your intervention(s)?

Answered: 1 week ago

Question

What potential obstacles stand in my way?

Answered: 1 week ago

Question

In Java characters are encoded as

Answered: 1 week ago

Question

1. Identify three approaches to culture.

Answered: 1 week ago

Question

2. Define communication.

Answered: 1 week ago