Question
Which of the following languages are undecidable? Note that indicates encoding of the Turing machine .
Official answer and solution
- Official answer
- A
- From
- Official GATE 2020 answer key
Solution
Apply Rice's Theorem and decider simulation to test the decidability of each language.
Analysis of each language:
- : The emptiness problem for Turing machines is a non-trivial property of recursively enumerable languages. By Rice's Theorem, is undecidable (in fact, co-r.e. complete).
- : This is a bounded simulation. A universal Turing machine can simulate on for exactly 100 steps. If state is reached on or before step 100, accept; otherwise, reject. Since the simulation always halts in bounded time, is decidable.
- : Being recursive is a non-trivial semantic property of r.e. languages. By Rice's Theorem, is undecidable.
- : Containing at least 21 strings is a non-trivial property of the language recognized by . By Rice's Theorem, is undecidable.
Therefore, the undecidable languages are , and only.
Final answer
A
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2020 Computer Science and Information Technology (CS)
- Question
- 36 of 65, printed as CS Q.26
- 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.