GATE CS 2012 · Question 24 · Theory of Computation · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Which of the following problems are decidable?
1) Does a given program ever produce an output?
2) If L is a context-free language, then, is L̅ also context-free?
3) If L is a regular language, then, is L̅ also regular?
4) If L is a recursive language, then, is L̅ also recursive?

  1. (A) 1, 2, 3, 4
  2. (B) 1, 2
  3. (C) 2, 3, 4
  4. (D) 3, 4
Answer

Answer (D)

Answer from the official GATE CS 2012 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes