Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1. Let us define a new operation over two languages L1 and L2 and call it as Modified-Intersection. We will denote this operation as MI

Q1. Let us define a new operation over two languages L1 and L2 and call it as Modified-Intersection. We will denote this operation as MI (L1, L2). It is defined to be the set of strings that are in L1 or L2, but not in both. For example, if L1 = {aa, abb} and L2 = {bb, abb, cc}, then MI (L1, L2) = {aa, bb, cc}. (a) Suppose L1 = {w | w (a*b*)} , L2 = {w | w (b*a*)}, and L3 = {w MI(L1, L2) | length of w 3}. Enumerate strings in L3. (b) For L1 and L2 defined in part (a) above, write a regular expression for the language of MI (L1, L2). (c) For any two languages L1 and L2, give a formula for MI (L1, L2) in terms of other set operations. You can use any of the following set operations: U (union), (intersection), - (set difference). (d) TRUE/FALSE: "For any two languages L1 and L2, MI (L1, L2) will always be a CFL". If TRUE, prove it formally. If FALSE, give a counter example to prove it.

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_2

Step: 3

blur-text-image_3

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

Explain basic guidelines for effective multicultural communication.

Answered: 1 week ago

Question

Identify communication barriers and describe ways to remove them.

Answered: 1 week ago

Question

Explain the communication process.

Answered: 1 week ago