Questions: Pumping Lemma for Regular Languages

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A student shows that the language L = {ww | w ∈ {a,b}*} satisfies the pumping lemma conditions for every string they test. What can they conclude?

AL is regular — passing the pumping lemma test proves regularity
BL is not regular — satisfying the conditions is suspicious behavior
CNothing about regularity — the pumping lemma can only prove non-regularity, not regularity
DL may or may not be regular, and a different proof technique is needed to decide
Question 2 Multiple Choice

To prove L = {aⁿbⁿ | n ≥ 0} is not regular, you choose z = aᵖbᵖ. Given the constraint |uv| ≤ p, why must the substring v consist entirely of a's?

ABecause v must be longer than p characters
BBecause |uv| ≤ p means uv is contained entirely within the first p characters of z, which are all a's
CBecause the pumping lemma requires v to be a single repeated character
DBecause b's cannot appear in any valid decomposition of this string
Question 3 True / False

If a language satisfies most of the conditions of the pumping lemma for nearly every string of length at least p, then the language should be regular.

TTrue
FFalse
Question 4 True / False

The pumping lemma can be used to prove that a language is NOT regular.

TTrue
FFalse
Question 5 Short Answer

Explain the adversarial game structure of a pumping lemma proof and why you (not the adversary) must be the one to choose the string z.

Think about your answer, then reveal below.