Skip to content

ISRO Scientist/Engineer CSE 2023Theory of Computation › Regular and Context-Free Languages

ISRO Scientist/Engineer CSE 2023 PYQ: Which f the following statements is FALSE?

Which f the following statements is FALSE?

  1. A
    The intersection of a regular language and a context-free language is context=free
  2. B
    The intersection of a regular language and context-free language is regular
    Correct answer
  3. C
    The union of two context-free languages is context-free
  4. D
    The union of two regular languages is regular

Answer

(B) The intersection of a regular language and context-free language is regular

Approach

Recall the closure properties of regular and context-free languages (CFLs). A statement is FALSE if it contradicts a known closure property or can be disproved by a counterexample.

Reviewed by ISRO IQ Editorial Team.