Let \(L_1\) be a regular language and \(L_2\) be a context-free language.…

GATE · 2021 · CS · Set 2 · Computer Science & IT

Let L1L_1 be a regular language and L2L_2 be a context-free language. Which of the following languages is/are context-free?

  1. A.

    L1∩L2‾L_1 \cap \overline{L_2} \\

  2. B.

    L1‾∪L2‾‾\overline{\overline{L_1} \cup \overline{L_2}} \\

  3. C.

    L1∪(L2∪L2‾)L_1 \cup (L_2 \cup \overline{L_2}) \\

  4. D.

    (L1∩L2)∪(L1‾∩L2)(L_1 \cap L_2) \cup (\overline{L_1} \cap L_2)

Attempted by 89 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…