Exercises
[8/100%]This exercise concerns TM , whose description and state diagram appear in Example 3.7. In each of the parts, give the sequence of configurations that enters when started on the indicated input string.
ᴬ 00.
This exercise concerns TM , whose description and state diagram appear in Example 3.9. In each of the parts, give the sequence of configurations that enters when started on the indicated input string.
ᴬ 11.
ᴬ Modify the proof of Theorem 3.16 to obtain Corollary 3.19, showing that a language is decidable iff some nondeterministic Turing machine decides it. (You may assume the following theorem about trees. If every node in a tree has finitely many children and every branch of the tree has finitely many nodes, the tree itself has finitely many nodes.)
Give a formal definition of an enumerator. Consider it to be a type of two-tape Turing machine that uses its second tape as the printer. Include a definition of the enumerated language.
ᴬ Examine the formal definition of a Turing machine to answer the following questions, and explain your reasoning.
Can a Turing machine ever write the blank symbol on its tape?
Can the tape alphabet be the same as the input alphabet ?
Can a Turing machine's head ever be in the same location in two successive steps?
Can a Turing machine contain just a single state?
In Theorem 3.21, we showed that a language is Turing-recognizable iff some enumerator enumerates it. Why didn't we use the following simpler algorithm for the forward direction of the proof? As before, is a list of all strings in . "Ignore the input.
- Repeat the following for . 2. Run on . 3. If it accepts, print out ."
Explain why the following is not a description of a legitimate Turing machine. "On input , a polynomial over variables :
- Try all possible settings of to integer values. 2. Evaluate on all of these settings. 3. If any of these settings evaluates to 0, accept; otherwise, reject."
Give implementation-level descriptions of Turing machines that decide the following languages over the alphabet 0,1.
ᴬ