GATE CS 2023 | Question 24

Theory of Computation › Regular Grammar · MSQ · 1 mark · Answer: A, C, D

  1. Question 24Theory of Computationmsq1 mark
    Which statements are CORRECT?
    • A.
      The intersection of two regular languages is regular.
      ✓
    • B.
      The intersection of two context-free languages is context-free.
    • C.
      The intersection of two recursive languages is recursive.
      ✓
    • D.
      The intersection of two recursively enumerable languages is recursively enumerable.
      ✓

    Answer: A, C, D

    Solution

    Answer: (A), (C) and (D) Regular, recursive, and recursively enumerable languages are all closed under intersection -> (A),(C),(D) true. Context-free languages are NOT closed under intersection (e.g. is the intersection of two CFLs but is not context-free) -> (B) false.

More GATE PYQ on Regular Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2023 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →