Question

In: Computer Science

Which of the following problems about Turing machines are solvable, and which are undecidable? Explain your...

Which of the following problems about Turing machines are solvable, and which are undecidable? Explain your answers carefully.

(a) To determine, given a Turing machine M, a state q, and a string w, whether M ever reaches state q when started with input w from its initial state.

(b) To determine, given a Turing machine M and a symbol a, whether M ever writes the symbol a when started with the empty tape.

Solutions

Expert Solution

(a)

This problem is undecidable means not solvable. Suppose it were solvable; then some machine G would
solve it. But given M and w, we could feed (M, w, h) ot G, where h is the halting state of M;
if more than one, we can simply repeat our query several times, and return G’s answer, and this
would constitute an effective procedure for deciding the halting problem.

(b)

Not solvable

Let the machine only writes blank symbol. Then its number of configurations in the com computation on w is q × 2, where q is the number of states of M; the factor 2 is for the choices re. the direction of heads movement; there is no factor for the written symbol because that is always blank. So the problem is decidable, decided by the following machine: input (M,w), run M on w for q × 2 steps; if it M ever writes a non blank symbol, stop with yes answer; if M never writes a non blank symbol, stop with no answer


Related Solutions

Show that the following problem i undecidable: Input: A Turing machine M. Output: Yes if M...
Show that the following problem i undecidable: Input: A Turing machine M. Output: Yes if M eventually halts when started on a blank tape, no otherwise Input: A Turing machine M and a tape symbol a. Output: Yes if M eventually writes a when started on an blank tape, no otherwise. Input: A Turing machine M. Output: Yes if M ever writes a nonblank symbol when started on a blank tape, No otherwise. Input: A Turing machine M and a...
We know from Church's Theorem that L_1 is Turing-undecidable. And we now know from Olmsted's theorem...
We know from Church's Theorem that L_1 is Turing-undecidable. And we now know from Olmsted's theorem that L_0 is Turing-decidable. AI of today, and specifically AI as it relates to the Web, particularly the Semantic Web, is often connected to formal logics "between" L_0 and L_1. Let us define the logic L_1^cdot as first-order logic but with no function symbols allowed, and having relation symbols that are all unary. Your question is: Is theoremhood for L_1^cdot Turing-decidable, or does Church's...
What are finite automata? What are pushdown automata? What are the Turing machines?
What are finite automata? What are pushdown automata? What are the Turing machines?
Are there computational problems that cannot be solved by a digital computer(or any Turing machine)? Give...
Are there computational problems that cannot be solved by a digital computer(or any Turing machine)? Give one example (that is not computable) and intuitively why it cannot be solved by a digital computer.
Explain how a Turing Machine can simulate an arbitrary DFA. Use a 2-tape Turing Machine. It...
Explain how a Turing Machine can simulate an arbitrary DFA. Use a 2-tape Turing Machine. It can be done with a 1-Tape Turing Machine, but 2-tape will likely make the explanation more intuitive.
Which of the following cannot explain urban sprawl in the U.S.? a. The fiscal problems with...
Which of the following cannot explain urban sprawl in the U.S.? a. The fiscal problems with central cities b. The high crime rate near city centers c. Higher commuting cost due to rising fuel prices d. Minimal lot size requirement that exclude high-density housing
What are several social problems that you are concerned about? Of these problems, which one is...
What are several social problems that you are concerned about? Of these problems, which one is the most important to you in terms of a solution being reached? 200-250 words
**SOFTWARE ENGINEERING** Think about the following, as they pertained to your project: the problems you encountered...
**SOFTWARE ENGINEERING** Think about the following, as they pertained to your project: the problems you encountered during the project the impact those problems had on development what was done to handle those problems what you would do in the future to avoid these problems or minimize their impacts Your analysis should include both technical and non-technical (e.g. , personnel, communication, etc. ) issues.
which of the following is true about problem solving? a) recognizing problems involves stating goals and...
which of the following is true about problem solving? a) recognizing problems involves stating goals and objectives. b) analyzing the problem involves characterizing the possible decisions. c) decision making involves translating the results of the model in the organization. d) structuring the problem involves identifying constraints.
Which of the following is not true of eukaryotic ribosomes? A. They are macromolecular machines B....
Which of the following is not true of eukaryotic ribosomes? A. They are macromolecular machines B. They function in the biosynthesis of proteins C. They contain ribosomal RNA D. They consist of two unequally sized subunits E. They are attached to the smooth ER Reset Selection
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT