Which of the following problems is/are decidable problem(s) (recursively enumerable) on a Turing machine M? (a) G is a CFG with L(G) = ϕ (b) There exist two TMs M1 and M2 such that L(M) ⊆{L(M1) U L(M2)} = language of all TMs (c) M is a TM that accepts w using at most 2 |w| cells of tape
(a) only
A problem is considered decidable if there exists a Turing machine (TM) that halts on every input string and gives a YES or NO answer. These problems correspond to recursive languages. If a Turing machine can answer YES for inputs in the language but might loop forever for inputs not in the language, the problem is recursively enumerable (RE). Decidable problems are a subset of recursively enumerable problems.
Let's analyze each given problem in the context of Turing machines and their decidability status.
This problem asks whether the language generated by a given Context-Free Grammar (CFG) G is empty ($\varphi$).
Since we can construct a Turing machine that implements this marking algorithm and it always halts, the problem "G is a CFG with L(G) = $\varphi$" is decidable.
This problem statement contains confusing phrasing ("= language of all TMs"). Let's interpret the core question as checking a property about the language L(M) accepted by a given Turing machine M, specifically its relationship to languages accepted by other Turing machines M1 and M2.
Therefore, problem (b), as stated or with plausible interpretations, is undecidable.
This problem asks about a property of the Turing machine M related to its space usage during computation. Specifically, it asks if M accepts a string w using space bounded by $2 \times (\text{length of w})$. The phrasing "M is a TM that accepts w using at most 2 |w| cells" is slightly ambiguous but can be interpreted as asking whether the language accepted by M under this specific space constraint is non-empty, or whether *all* strings in L(M) are accepted within this bound, or similar.
Therefore, problem (c) is undecidable.
Based on the analysis:
Thus, only problem (a) is a decidable problem.
| Problem | Description | Decidability Status |
|---|---|---|
| (a) | G is a CFG with L(G) = $\varphi$ | Decidable |
| (b) | L(M) $\subseteq$ (L(M1) $\cup$ L(M2)) for some M1, M2 (interpreting the confusing phrase) | Undecidable |
| (c) | Existence of w accepted by M using $\le$ 2|w| tape cells | Undecidable |
| Concept | Definition | Decidability Relevance |
|---|---|---|
| Turing Machine (TM) | A mathematical model of computation, consisting of a tape, head, and state register. Accepts Recursively Enumerable (RE) languages. | The standard model for defining decidability and undecidability. |
| Decidable Problem | A problem for which a TM exists that halts on all inputs (YES or NO). Corresponds to Recursive languages. | Key concept tested in the question. |
| Recursively Enumerable (RE) Problem/Language | A problem for which a TM exists that halts and accepts YES inputs, but may loop on NO inputs. Decidable problems are a subset of RE problems. | Undecidable RE problems exist (e.g., Halting Problem). |
| Context-Free Grammar (CFG) | A formal grammar used to generate context-free languages. | Emptiness and Membership problems are decidable for CFGs. Equality and Universality are undecidable. |
| Rice's Theorem | Any non-trivial property about the language accepted by a TM is undecidable. | Used to prove many problems about TM languages are undecidable. |
| Linear Bounded Automaton (LBA) | A TM whose tape usage is bounded by a linear function of the input length. Accepts Context-Sensitive Languages (CSLs). | Emptiness problem for LBAs/CSLs is undecidable, relevant to space-bounded TM problems. |
Undecidability is a central concept in the theory of computation. It refers to problems for which no algorithm (or equivalently, no Turing machine that halts on all inputs) can exist to provide a correct YES or NO answer for all possible inputs.
Some classic examples of undecidable problems related to Turing machines include:
Problems about properties of the *language* accepted by a TM are typically undecidable by Rice's Theorem. Problem (b) and (c) in the question touch upon properties of the TM's language or its computation resource usage, which are generally undecidable.
In contrast, many problems concerning simpler models of computation, such as Finite Automata (FA) or Context-Free Grammars (CFG), are decidable. For instance, emptiness, finiteness, and membership are decidable for both FA and CFG. Equality is decidable for FA but undecidable for CFG.
Consider two lists A and B of three strings on {0, 1}
X:
List A | List B |
1 | 111 |
10111 | 10 |
10 | 0 |
Y:
List A | List B |
10 | 101 |
011 | 11 |
101 | 011 |
Which of the following is true?
Consider the following statements:
S 1: These exists no algorithm for deciding if any two Turing machines M 1and M 2accept the same language.
S 2: Let M 1and M 2be arbitrary Turing machines. The problem to determine L(M 1) ⊆ L(M 2) is undecidable.
Which of the statements is (are) correct?Given below are two statements:
Statement I: The problem "Is L 1∧ L 2 = ϕ?" is undecidable for context sensitive languages L 1 and L 2.
Statement II: The problem "Is WϵL?" is decidable for context sensitive language L, (where W is a string).
In the light of the above statements, choose the correct answer from the options given below
Let G 1and G 2be arbitrary context free languages and R an arbitrary regular language.
Consider the following problems:
(A) Is L(G 1) = L(G 2)?
(B) Is L(G 2) ≤ L(G 1)?
(C) Is L(G 1) = R?
Which of the problems are undecidable ?
Choose the correct answer from the options given below:
The set A = { 0 n1 n2 n| n = 1, 2, 3, ......... } is an example of a grammar that is: