Chapter 12: Problem 24
Write a Turing machine that takes any unary string of an even number of \(1 \mathrm{~s}\) and halts with the first half of the string changed to 0 s. (Hint: You may need to use a "marker" symbol such as \(X\) or \(Y\) to replace temporarily any input symbols you have already processed and do not want to process again; at the end, your program must "clean up" any marker symbols.)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.