at any given time for . When a symbol is being scanned, the machine executes an overt and a covert action. The overt action will either halt the machine, move the scanner one block left or right, or write a new symbol in place of the old symbol. A covert action will change the internal state of the machine.
Turing machines are idealized computers that take an input and halt on an output once it has run out of instructions. Alan Turing, hence the name, used these machines in order to revolutionize the notion of computability. A Turing machine consists of a infinite tape with blocks containing one symbol each, and a scanner. The machine itself is in a certain internal stateTuring machines are normally represented as diagrams which help to simplify what is going on. Circles or nodes represent internal states of the machine, with the leftmost node being the first internal state. Arrows from one node, or internal state, to another represent a change in the internal state in the machine. Along each arrow there is a symbol, indicating which symbol to apply the action to, followed by a colon and then another symbol representing an overt action to execute. For example if you were to see along an arrow going from internal state to , the machine would move one block right along the tape if it was scanning a 1 in internal state . After this action is taken the machine would enter internal state .
A physical Turing machine may look something like this: Physical Turing Machine
Consider the following initial tape where is the symbol for blank. The combination of 0's and 1's can be interpreted as a binary number. Therefore the initial number on the tape, in decimal form, is 79. The scanner of the Turing machine begins on the rightmost symbol of the initial binary number.
Consider the following Turing machine acting on the above tape: Turing Machine
What will be the number on the tape once the machine has halted, in decimal form?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Red digits indicate the scanner position.
So, the result in 1 0 1 0 0 0 0 , in decimal 8 0