Question: Q. 1. Using Pumping lemma, prove that the language {z 2 | z {a,b}*} is not a regular language. (Hint: Chose z=a n b for

Q. 1.Using Pumping lemma, prove that the language {z2 | z {a,b}*} is not a regular language. (Hint: Chose z=anb for the string)

Q. 2 Using Pumping lemma, prove that the language {0n1n 2n | n 0} is not a regular language. (Hint: Chose s = 0p1p 2p for the string)

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!