GATE / CS ARCHIVE

GATE CSE 2022 / QUESTION 46

GATE CSE 2022 Q46

Theory of Computation · Decidability & Computability · Full GATE CSE 2022 paper

GATE 2022, Q46 2 marks · MSQ
Report issue

Decidability & Computability

Question 46, GATE 2022: Select undecidable problems: A equality of languages of two given Turing machines; B whether a given TM language is regular; C whether a TM accepts all strings; D whether a given TM takes more than the fixed printed bound 1073 steps on every string.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A,B,C

Turing-machine language equivalence, regularity, and universality are undecidable semantic properties: fix one machine to recognize Σ* for an equivalence-to-universality reduction, and apply Rice’s theorem to the other two nontrivial language properties. D asks about a fixed finite time bound, printed as 1073. Simulate on the finitely many distinguishable input prefixes/end-marker cases visible within that many steps. This decides whether every input runs longer than the bound; complexity is enormous but finiteness suffices. Thus A, B, C.

A language property is nontrivial when some recognizable languages possess it and others do not. Regularity and universality satisfy this requirement, so Rice applies. Runtime within a fixed number of steps is instead a bounded execution property: only finitely many tape cells can be inspected. An astronomical fixed bound remains finite and does not become the unbounded halting problem.

Original paper, page 31 · Answer key