Which of the following is/are undecidable?
View worked solution
Answer: A;B;C
To determine which of the options are undecidable, we can analyze them using Rice's Theorem and computability theory:
- Option A: Deciding if is the equivalence problem for Turing machines, which is a well-known undecidable problem.
- Option B: " is regular" is a non-trivial semantic property of recursively enumerable languages. By Rice's Theorem, this property is undecidable.
- Option C: "" (accepts all strings) is also a non-trivial semantic property of recursively enumerable languages. By Rice's Theorem, this is undecidable.
- Option D: Deciding if takes more than steps on every string is decidable. In steps, a Turing machine can scan at most the first symbols of any input string. Since the alphabet is finite, there are only finitely many input prefixes of length . We can simulate on all these finite prefixes for up to steps to determine if it ever halts in steps. Thus, this property is decidable.
Free practice · Your answers on this page are not saved.
