The language generated by following grammar is: S → aSa | bSb | ε

2020

The language generated by following grammar is:

S → aSa | bSb | ε

  1. A.

    Even length palindrome

  2. B.

    aⁿbⁿ n > 0, m ≥ 0

  3. C.

    Odd length palindrome

  4. D.

    aⁿbᵐ n > 1, m ≥ 1

Attempted by 65 students.

Show answer & explanation

Correct answer: A

image.png

Explore the full course: Coal India Management Trainee