Question

Let ⟨M⟩\langle M \rangle denote an encoding of an automaton MM. Suppose that Σ={0,1}\Sigma = \{0,1\}. Which of the following languages is/are NOT recursive?

Choose every correct option
Official answer and solution
Official answer
D
From
Official GATE 2021 answer key
Note on this question

Official key designates this question as MSQ with single correct option D.

Solution

Apply known decidability results for formal languages and automata.

Recall standard decidability results for DFAs and PDAs:

  • Option A: Emptiness for DFA (L(M)=∅L(M) = \emptyset) is decidable by graph reachability from the start state to any accept state. The language is recursive.
  • Option B: Universality for DFA (L(M)=Σ∗L(M) = \Sigma^*) is decidable by complementing the DFA and testing for emptiness. The language is recursive.
  • Option C: Emptiness for PDA (L(M)=∅L(M) = \emptyset) is equivalent to CFG emptiness (checking if the start variable can derive a string of terminals), which is decidable in polynomial time. The language is recursive.
  • Option D: Universality for PDA / CFL (L(M)=Σ∗L(M) = \Sigma^*) is a famous undecidable problem (proven by reduction from the Post Correspondence Problem or valid computation histories of Turing machines). Therefore, this language is NOT recursive.

Hence, only option D is not recursive.

Final answer

D

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2021 Computer Science and Information Technology (CS, Set-1)
Question
22 of 65, printed as CS Q.12
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.