Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Are the following languages A and B over the alphabet = {a,b,c,d} regular or nonreg- ular? For a language that is regular, give a regular

image text in transcribed

Are the following languages A and B over the alphabet = {a,b,c,d} regular or nonreg- ular? For a language that is regular, give a regular expression that defines it. For a nonregulr language, using the pumping lemma prove that it is not regular. (a) (2 marks) A = {d2j+1,2k+1 | > >k>0} - {ar+242s+3 | * > 0 and 8 >0} (b) (2 marks) B = {a2j+24k+3,32+1 | j > 1, k > 1,2 > 1} {am+3 | m > 1} Above "." stands for language concatenation. Hints: The languages A and B are each expressed as concatenation of two components. If one (or both) of the components is non-regular, this does not imply anything about the non-regularity of the concatenation. If trying to show that a language C is non-regular, we have to apply the pumping lemma to the entire language C (and not to the individual components of the concatenation). On the other hand, if trying to show that is regular, we can find regular expressions for the two components separately and then use the concatenation operation

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

Solve the followinggame: 0825 5240

Answered: 1 week ago