🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Pumping Lemma Proofs: all 10 questions

Quiz: Pumping Lemma Proofs · Question 9 of 10

A student writes: "Let x = ε, y = a, z = aᵖ⁻¹bᵖ. Then xy²z ∉ L, so L is not regular." What is wrong?

A student writes: "Let x = ε, y = a, z = aᵖ⁻¹bᵖ. Then xy²z ∉ L, so L is not regular." What is wrong?

  1. A.Nothing, the proof is complete
  2. B.y must be longer than 1
  3. C.It handles only one split; the proof must show every legal split fails
  4. D.x is not allowed to be empty
Answer & explanation

Correct answer: It handles only one split; the proof must show every legal split fails

The opponent chooses the split, so you must argue for all splits with |xy| ≤ p and |y| ≥ 1.

Can you get the rest right without peeking?

Take the timed Quiz: Pumping Lemma Proofs quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →