GATE Computer ScienceHardGATE CS (PYQ pattern)

Which of the following statements are correct? I. Recursively enumerable languages are closed under union and intersection. II. Recursively enumerable languages are closed under complement. III. Recursive (decidable) languages are closed under arbitrary homomorphism. IV. Recursively enumerable languages are closed under arbitrary homomorphism.

  1. A. I, III and IV only
  2. B. I and II only
  3. C. I and IV only
  4. D. III and IV only

Correct answer: C. I and IV only

I: run both recognisers in parallel. II fails: the complement of HALT is not RE. III fails: an erasing homomorphism can project away a step-count from a decidable set { w#1ᵗ : M halts on w within t steps }, giving HALT. IV: guess the preimage and run the recogniser (nondeterminism/dovetailing).

More Theory of Computation questions

Exams that ask this topic