Skip to main content

GATE CSE 2025Theory of Computation › Language Classification, Closure Properties & ProofsVerified

GATE CSE 2025 PYQ: Consider the two lists List I and List II given below: List I List II Context-free languages Closed under…

Consider the two lists List I and List II given below:

List IList IIContext-free languagesClosed under unionRecursive languagesNot closed under complementationRegular languagesClosed under intersection \begin{array}{|l|l|} \hline \textbf{List I} & \textbf{List II} \\ \hline \text{Context-free languages} & \text{Closed under union} \\ \hline \text{Recursive languages} & \text{Not closed under complementation} \\ \hline \text{Regular languages} & \text{Closed under intersection} \\ \hline \end{array}

For matching of items in List I with those in List II, which of the following option(s) is/are CORRECT?

  1. A
    (i) - (a), (ii) - (b), and (iii) - (c)
  2. B
    (i) - (b), (ii) - (a), and (iii) - (c)
    Correct answer
  3. C
    (i) - (b), (ii) - (c), and (iii) - (a)
    Correct answer
  4. D
    (i) - (a), (ii) - (c), and (iii) - (b)

Answer

(B, C) (i) - (b), (ii) - (a), and (iii) - (c); (i) - (b), (ii) - (c), and (iii) - (a)

Approach

Use the standard closure-property table for language families. List II gives three properties: (a) closed under union, (b) not closed under complementation, (c) closed under intersection. Only match an item if the property is true for that language family.

The only fully correct matching options are B and C. Option A fails because recursive languages are closed under complement, and option D fails because regular languages are closed under complement.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.