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
Get step-by-step solutions from verified subject matter experts
