Title: Constructing Complex Turing Machines
1Constructing Complex Turing Machines
Idea Use a modular approach similar
to the one use to construct complex
programs
2Graphical Conventions
We will use a convention similar to a flow chart
to indicate how to put together Turing machines
(TMs).
A if a then B
3Graphical Conventions (2)
a
a
M If a then A else B
4Graphical Conventions (3)
a
while (not a) do A
a
5Basic Turing Machines
6Other Simple Turing Machines
What it does
Machine
a
if current cell has an a, then replace it with a
b
if current cell has a character a different than
?, then move once to the right and write that a
7The ?? Turing Machine
?
?
Move to the right until if finds