GATE CS 2022 (Forenoon) — Question 48

Theory of Computation (TOC)Regular and Context-Free Languages & Pumping LemmaMSQ2 marksMedium

Consider the following languages: \(L_1 = \{ww \mid w \in \{a, b\}^*\}\) \(L_2 = \{a^n b^n c^m \mid m, n \geq 0\}\) \(L_3 = \{a^m b^n c^n \mid m, n \geq 0\}\) Which of the following statements is/are FALSE?
  1. A
    \(L_1\) is not context-free but \(L_2\) and \(L_3\) are deterministic context-free.
  2. B
    Neither \(L_1\) nor \(L_2\) is context-free.
  3. C
    \(L_2\), \(L_3\) and \(L_2 \cap L_3\) all are context-free.
  4. D
    Neither \(L_1\) nor its complement is context-free.
Practise the full 2022-FN paper
Challenge a friend: WhatsApp Telegram
From RENYXERAFree All-India Mock — every SundayA full GATE CS paper, exactly 180 minutes, ranked across India with your GATE score.
Practise more on Regular and Context-Free Languages & Pumping LemmaTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group