GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set1

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

GATE 2025 set1 Computer Science and Information Technology question: Consider the following two languages over the alphabet \ a, b, c\ , where m and n are…

Consider the following two languages over the alphabet , where and are natural numbers.

Which ONE of the following statements is CORRECT?

  1. (A)

    Both and are context-free languages.

  2. (B)

    is a context-free language but is not a context-free language.

  3. (C)

    is not a context-free language but is a context-free language.

  4. (D)

    Neither nor are context-free languages.

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion