Let L denote the language generated by the grammar S -> 0S0 | 00. Which of the…

GATE · 2000 · CS · Question 1 subparts

Let L denote the language generated by the grammar S -> 0S0 | 00. Which of the following is true?

  1. A.

    L = 0+

  2. B.

    L is regular but not 0+

  3. C.

    L is context free but not regular

  4. D.

    L is not context free

Attempted by 129 students.

Sign up free to check your answer

Sign up free

Explore the full course: Theory Of Computation

Loading lesson…