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

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
**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.
Critique each of the following proposed research plans. Your critique should explain any problems with the...
Critique each of the following proposed research plans. Your critique should explain any problems with the proposed research and describe how the research plan might be improved. Include a discussion of any additional data that need to be collected and the appropriate statistical techniques for analyzing the data. (a) A researcher is interested in determining whether a large firm is guilty of gender bias in setting wages. To determine potential bias, the researcher collects salary and gender information for all...
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
Use the following data for problems #1 & #2: Belsky Corporation manufactures x-ray machines and has...
Use the following data for problems #1 & #2: Belsky Corporation manufactures x-ray machines and has provided the following data from its activity-based costing system: Activity Cost Pool Total Cost Total Activity    Assembly $315,000 30,000 machine-hours Processing orders $49,000 1,400 orders Inspection $77,000 1,100 inspection-hours 1. Calculate an activity rate for each of Belsky’s three activities that it would use in the final stage of allocating costs to its products. (Hint: See Exhibit 7-7 on page 323 of the text...
Which of these characters is the bad one in cryptographic scenarios? Alice. Bo     Eve. Turing. A...
Which of these characters is the bad one in cryptographic scenarios? Alice. Bo     Eve. Turing. A hash function creates a compressed digest of a message. What is that? A fixed-length sequence of bits the value of which is based upon the value of the original message.    An encryption of the original message, similar to that done by AES . The procedure that creates a message via which a man-in-the middle is executed. A substitution box used in symmetric cryptography Operating...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT