Consider the language L1 with grammar; S1 -> aS1b|\(\varepsilon\) and language…

CG SET 2024

Consider the language L1 with grammar;

S1 -> aS1b|ε\varepsilon and language L2 with grammar;

S2 -> abS2|ε\varepsilon, consider the statements:

(a) L1 is regular

(b) L2 is regular

Which of the following is correct answer?

  1. A.

    Both (a) and (b) are True

  2. B.

    (a) is True and (b) is False

  3. C.

    (a) is False and (b) is True

  4. D.

    Both (a) and (b) are False

Attempted by 13 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…