Skip to content

UGC NET CS 2017Theory of Computation and Compilers › Theory of ComputationVerified

UGC NET CS 2017 PYQ: Given the following statements: A class of languages that is closed under union and complementation has to…

Given the following statements:

  1. A class of languages that is closed under union and complementation has to be closed under intersection
  2. A class of languages that is closed under union and intersection has to be closed under complementation

Which of the following options is correct?

  1. A
    Both (i) and (ii) are false
  2. B
    Both (i) and (ii) are true
  3. C
    (i) is true, (ii) is false
    Correct answer
  4. D
    (i) is false, (ii) is true

Answer

(C) (i) is true, (ii) is false

Approach

Use De Morgan's law to test (i) and a counterexample class to test (ii).

Reviewed by UGC IQ Editorial Team.