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 the pumping lemma for context-free languages, for a string uvwxy, what is the minimum length of vx together?

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

Show answer & explanation

Correct answer: B. 1

Explanation

The lemma requires |vx| ≥ 1 (v and x are not both empty) and |vwx| ≤ n.

More Theory of Computation and Compilers questions