Turing Machine
Turing Machine
Submitted by Submitted To
Md Gaziur Rahman Shishir Fatama Binta Rafiq
Id: 201-35-3051 Lecturer
Section : A Department of Software Engineering
Department of SWE Daffodil International University
Turing Machine
• What is Turing Machine?
A Turing machine is hypothetical machine thought of by the mathematician Alan Turing in 1936.
Despite its simplicity, the machine can simulate any computer algorithm, no matter how
complicated it is!
Variations of Turing Machine
• Multitap Turing Machines
• Non-deterministic Turing machines
• Multihead Turing Machine
• Off-line Turing machine
• Multidimensional Turing machines
Turing Machine Definition
• A Turing Machine (TM) is a mathematical model which consists of an infinite length tape divided into
cells on which input is given. It consists of a head which reads the input tape. A state register stores
the state of the Turing machine. After reading an input symbol, it is replaced with another symbol, its
internal state is changed, and it moves from one cell to the right or left. If the TM reaches the final
state, the input string is accepted, otherwise rejected.
• δ is given by −
Tape alphabet symbol Present state ‘q0’ Present state’q1’ Present State’q2’
Here the transition 1Rq1 implies that the write symbol is 1, the tape moves right, and the next
state is q1. Similarly, the transition 1Lq2 implies that the write symbol is 1, the tape moves left,
and the next state is q2.
Example of Turing machine
3.Design and implement algorithm for practical machines TM helps to propagate idea of
algorithm in practical machines. After the successful check of 1,2 criteria we can use our
practical devices/computers to design and implement algorithm.
Limitations of Turing Machine
1.Computational complexity
a. A limitation of Turing machine is that they do not model the strengths of a particular arrangement well.
b. For instance, modem stored-program computers are actually instances of a more specific form of abstract
machine known as the random access stared program.
c. An experimental prototype to machine or RASP machine model. Like the universal Turing Machine the
RASP stores its program in “memory” external to its finite-state achieve Turing machine machine’s
“instructions”
2.Concurrency
d. Another limitation of Turing machines is that they do not model concurrency well.
e. For example, there is a bound on the size of integer that can be computed by an always halting
nondeterministic Turing Machine starting on a blank tape.
f. By contrast, there are always-halting concurrent system with no inputs that can compute an integer of
unbounded size.
Uses of Turing Machine
• Turing machine as a language recognizer
• Turing Machine as a language generator
• Turing Machine as a language evaluator
• Turing Machine as a language decider
Thank you so much