Question

Which of the following statements is/are CORRECT?

Choose every correct option
Official answer and solution
Official answer
A, C and D
From
Official GATE 2023 answer key

Solution

Check closure properties under intersection for Chomsky hierarchy language classes.

  1. Regular Languages: Closed under intersection (using product construction on DFAs). Thus, (A) is CORRECT.
  2. Context-Free Languages: NOT closed under intersection (for example, {anbncm}∩{ambncn}={anbncn}\{a^n b^n c^m\} \cap \{a^m b^n c^n\} = \{a^n b^n c^n\}, which is not context-free). Thus, (B) is INCORRECT.
  3. Recursive (Decidable) Languages: Closed under intersection (simulate both deciders sequentially; accept if both accept). Thus, (C) is CORRECT.
  4. Recursively Enumerable (Turing-Recognizable) Languages: Closed under intersection (interleave simulation of both Turing machines; accept if both halt and accept). Thus, (D) is CORRECT.
Final answer

Options (A, C, D)

Common trap

Assuming context-free languages are closed under intersection; they are closed under intersection with regular languages, but not with other CFLs.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2023 Computer Science and Information Technology (CS)
Question
24 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.