IAE Academy

GATE 2025 CS1 Q.45: official answer

GATE 2025 · CS1Q.45 · 2 marks · MCQ

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.

See the question in the paper

Official answer

From the GATE 2025 CS1 paper. Every question of this paper · Download the full paper · All 8 Context-free languages questions, with notes

More Context-free languages questions