Which of the following definitions generates the same language as L = {xⁿyⁿ…

GATE · 1995 · CS · Question 2 subparts

Which of the following definitions generates the same language as L = {xⁿyⁿ such that n ≥ 1}? I. E → xEy | xy; II. xy | (x⁺xyy⁺); III. x⁺y⁺

  1. A.

    I only

  2. B.

    I and II

  3. C.

    II and III

  4. D.

    II only

Attempted by 4 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…