All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · December 2022 (Shift 1)

In Pumping Lemma for context-free languages, to say a language is satisfying pumping lemma, vx what is the minimum length of ' ' together, if you consider the string as 'uvwxy'?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. 1 n

Explanation

The lemma requires |vx| ≥ 1, so at least one of v, x is non-empty; otherwise pumping would change nothing.

More Theory of Computation and Compilers questions