1.

State true or false:Statement: We cannot use Ogden’s lemma when pumping lemma fails.(a) Statement: We cannot use Ogden’s lemma when pumping lemma fails.(b) true(c) falseThe question was posed to me in an interview for internship.My question is taken from Pumping Lemma for Context Free Language in division Properties of Context Free Languages of Automata Theory

Answer»

The correct answer is (B) true

For EXPLANATION: ALTHOUGH the pumping lemma provides some information about v and x that are pumped, it says little about the location of these SUBSTRINGS in the STRING t. It can be used whenever the pumping lemma fails. Example: {a^pb^qc^rd^s|p=0 or q=r=s}, etc.



Discussion

No Comment Found

Related InterviewSolutions