🎙 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 3 of 10

Why can we say y = aᵏ when s = aᵖbᵖ?

Why can we say y = aᵏ when s = aᵖbᵖ?

  1. A.Because y must be non-empty
  2. B.Because the alphabet is {a, b}
  3. C.Because |xy| ≤ p and the first p symbols of s are all a's
  4. D.Because z contains all the b's by definition
Answer & explanation

Correct answer: Because |xy| ≤ p and the first p symbols of s are all a's

The length rule forces x and y into the first p symbols.

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 →