GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · MCQ · 2 marks · Theory of Computation › Context Free Languages

GATE 2020 Computer Science and Information Technology question: Consider the following languages. L 1 = \ wxyx w, x, y (0 + 1) +\ L 2 = \ xy x, y (a +…

Consider the following languages.

Which one of the following is TRUE?

  1. (A)

    is regular and is context-free.

  2. (B)

    is context-free but not regular and is context-free.

  3. (C)

    Neither nor is context-free.

  4. (D)

    is context-free but is not context-free.

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion