All mock tests are FREE till 31 December — register to save your progress

Consider the following statements:
A. The set of Turing machine codes for TMs that accept all inputs that are palindromes (possibly along with other inputs) is decidable.
B. The language of codes for TMs M that, when started with blank tape, eventually write a 1 somewhere on the tape is undecidable.
C. The language accepted by a TM M, L(M), is always recursive.
D. Post's correspondence problem is undecidable.
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. B and D only

Explanation

A is a non-trivial property of RE languages, so it is undecidable by Rice's theorem (A false). B is undecidable (true). L(M) is RE but not always recursive (C false). PCP is undecidable (D true).

More Theory of Computation and Compilers questions