GATE CS 2024 Set 1 — Question 23
MSQ+1 / -0MediumClosure Properties (Regular)Finite Automata & Regular LanguagesTheory of Computation
Theory of Computation → Finite Automata & Regular Languages → Closure Properties (Regular)
Last updated
Question
Let be two regular languages and a language which is not regular. Which of the following statements is/are always TRUE?
A.
if and only if
B.
is not regular
C.
is not regular
D.
is regular
Correct answer
(C) L₃ is not regular; (D) L₁ ∪ L₂ is regular
Solution
Let be regular languages and be a non-regular language.
- Option (A): if and only if . This is false. is equivalent to . For to be true, we also need (i.e., ).
- Option (B): is not regular. This is false. For example, if (which is regular) and is any non-regular language, then , which is regular.
- Option (C): is not regular. This is true. Regular languages are closed under complementation. If were regular, then its complement would also be regular, which contradicts the given that is not regular.
- Option (D): is regular. This is true. Regular languages are closed under complementation and union. Since and are regular, and are regular, and their union is also regular.
More questions on Finite Automata & Regular Languages
2024 Set 2 Q22Which one of the following regular expressions is equivalent to the language accepted by the DFA…2024 Set 2 Q41Let be the 5-state NFA with -transitions shown in the diagram below. [figure] Which…2024 Set 1 Q50Consider the 5-state DFA accepting the language shown below. For any…2024 Set 2 Q52Consider a context-free grammar with the following 3 rules.…2024 Set 1 Q59Let be a context-free grammar in Chomsky Normal Form with…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free