Skip to content
Official PYQ · 2006

GATE CS 2006 Q33 — Regular and Context-free Languages

Explain with AI

Let L1L_1 be a regular language, L2L_2 be a deterministic context-free language and L3L_3 a  recursively enumerable, but not recursive, language. Which one of the following statements is false?

Choose one option
View worked solution

Answer: B

To find the false statement, let us analyze each option based on the closure properties of language families:

  • Option A: L1∩L2L_1 \cap L_2 is a deterministic CFL.
    Deterministic Context-Free Languages (DCFLs) are closed under intersection with regular languages. Since L2L_2 is a DCFL and L1L_1 is regular, L1∩L2L_1 \cap L_2 is guaranteed to be a DCFL. This statement is true.
  • Option B: L3∩L1L_3 \cap L_1 is recursive.
    Let us choose L1=Σ∗L_1 = \Sigma^* (which is a regular language). Then, L3∩L1=L3∩Σ∗=L3L_3 \cap L_1 = L_3 \cap \Sigma^* = L_3. Since L3L_3 is given to be recursively enumerable but not recursive, the intersection L3∩L1L_3 \cap L_1 is not recursive. Thus, this statement is false.
  • Option C: L1∪L2L_1 \cup L_2 is context free.
    Since every DCFL is also a CFL, L2L_2 is a CFL. Regular languages (L1L_1) are also CFLs. Since Context-Free Languages are closed under union, L1∪L2L_1 \cup L_2 is a CFL. This statement is true.
  • Option D: L1∩L2∩L3L_1 \cap L_2 \cap L_3 is recursively enumerable.
    The intersection of a regular language and a DCFL, L1∩L2L_1 \cap L_2, is a DCFL, which is also a Recursively Enumerable (RE) language. Since RE languages are closed under intersection, the intersection of (L1∩L2)(L_1 \cap L_2) with the RE language L3L_3 is also RE. This statement is true.

Therefore, the false statement is B.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Regular and Context-free Languages questions