SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
UNIT IV– TURING MACHINE
October 11, 2018 1UNIT IV TURING MACHINE
A multi head Turing machine is a single tape TM having n heads
reading symbols on the same tape. In one step all the heads sense the
scanned symbols and move or write independently.
The heads are numbered 1 through n and move of TM depends upon
the state and symbols scanned by each head.
In one move the heads may move left , right or remain stationary.
This type of TM is as powerful as one tape Turing machine.
The multi head Turing Machine is as shown in the following
October 11, 2018 2UNIT IV TURING MACHINE
October 11, 2018 3UNIT IV TURING MACHINE
The multi tape Turing Machine is a type of Turing machine in which
there are more than one input tapes. Each tape is divided into cells
and each cells can hold any symbol of finite tape alphabet. The multi
tape Turing machine is as shown in the following image.
This TM is more powerful than the basic Turing machine. Because
finite control reads more than one input tape and more symbols can
be scanned at a time.
October 11, 2018 UNIT IV TURING MACHINE 4
October 11, 2018 UNIT IV TURING MACHINE 5
Turing Machine has a great computational
capabilities and hence it can be used as a general
mathematical model for modern computers.
Turing Machine can model even recursive
enumerable languages. Thus the advantage of
Turing machine is that it can model all the
computable functions as well as the languages for
which the algorithm is possible.
October 11, 2018 UNIT IV TURING MACHINE 6
Halting Problem
An important question of computing science is “Are there
problems that cannot be solved?”
There are, and probably the most famous of these is the
halting problem described by Turing.
He was thinking in terms of Turing machines (there were
no computers), but it is easy to extend the idea.
 Can we write a program that will look at any computer
program and its input and decide if the program will halt
(not run infinitely)?
A practical solution might be to run the program and if it
halts you have your answer. If after a given amount of
time it doesn’t halt, guess that it won’t halt. However, you
wouldn’t know if the program would eventually halt.
Halting Problem
The state halting problem we will consider the given
configuration of a turing machine. The output of TM
can be
HALT The machine starting at this configuration
will halts after a finite number of states.
No HALT The machine starting at this
configuration never reaches a halt state, no matter
how long it turns.
Now question is arises on these two observation.
Given any functional matrix , input data tape and
initial configuration, then it is possible to determine
whether the process will ever halts? This is called HP.
Yes Solvable and No Unsolvable. Now we prove
why it is unsolvable.
Halting Problem
October 11, 2018 UNIT IV TURING MACHINE 9
Consider TM M1 which decides whether or not any
computation by a TM T will ever halt when a
description dT of T and tape t of T is given.
Then for every input (t,dT) to M1 if T halt for input t,
M1 also halts which is called accept halt. Similarly if T
does not halt for input t then the M1 will halt which is
called reject halt.
Halting Problem
October 11, 2018 UNIT IV TURING MACHINE 10
Now consider another TM M2 which takes an input
dT.
It first copies dT and duplicates dT on its tape and
then this duplicated tape information is given as
input to machine M1. but machine M1 is a modified
machine with the modification that whenever M1 is
supposed to reach an accept halt, M2 never loops
forever.
It loops if T halts for input t=dT and halts if T does
not halt for T=dT.

More Related Content

PPTX
Smart Voting System with Face Recognition
PPTX
PPTX
Machine Learning for Disease Prediction
PDF
Introduction to blender
PPTX
Impact prediction, evaluation and mitigation in eia
PPTX
Turing machine-TOC
PPT
Chapter 1: Introduction to Operating System
PPTX
weak slot and filler structure
Smart Voting System with Face Recognition
Machine Learning for Disease Prediction
Introduction to blender
Impact prediction, evaluation and mitigation in eia
Turing machine-TOC
Chapter 1: Introduction to Operating System
weak slot and filler structure

What's hot (20)

PPTX
Multi dimensional turing machine
PPTX
Feistel cipher
PDF
Formal Languages and Automata Theory Unit 1
PPT
Introduction to Compiler design
PPTX
Decision properties of reular languages
PPTX
Concurrency Control in Database Management System
PPTX
Dag representation of basic blocks
DOC
Dma transfer
PPTX
Turing machine
PPTX
Issues in knowledge representation
PDF
Working principle of Turing machine
PPTX
Introduction to Dynamic Programming, Principle of Optimality
PPTX
Knowledge representation in AI
PPTX
1.10. pumping lemma for regular sets
PPTX
Logics for non monotonic reasoning-ai
PPTX
Register allocation and assignment
PPTX
Knowledge representation and Predicate logic
PPTX
Control Strategies in AI
PPT
BackTracking Algorithm: Technique and Examples
PPTX
Church Turing Thesis
Multi dimensional turing machine
Feistel cipher
Formal Languages and Automata Theory Unit 1
Introduction to Compiler design
Decision properties of reular languages
Concurrency Control in Database Management System
Dag representation of basic blocks
Dma transfer
Turing machine
Issues in knowledge representation
Working principle of Turing machine
Introduction to Dynamic Programming, Principle of Optimality
Knowledge representation in AI
1.10. pumping lemma for regular sets
Logics for non monotonic reasoning-ai
Register allocation and assignment
Knowledge representation and Predicate logic
Control Strategies in AI
BackTracking Algorithm: Technique and Examples
Church Turing Thesis
Ad

Similar to Multi Head, Multi Tape Turing Machine (20)

PPTX
Turing machine
DOCX
theory of computation notes for school of engineering
PDF
G044053060
DOCX
churchthesis.docx turing machine and undecidability
PPTX
Turing machine
PPT
Formal Language and Applications of Automata Theory
PPT
universality
DOCX
Types of Turing Machine .docx
PDF
Turing machine seminar report
PPTX
What is turing machine full described PPT for all learners
PPTX
HALTINGPROBLEM.pptx
PPTX
Turing Machine
PDF
Turing machine Introduction
PDF
CS.15.Turing.pdf
PPTX
Turing Machine presentation for Theory of Computation
PPTX
Computability, turing machines and lambda calculus
PPTX
Winter 8 TM.pptx
PDF
VIEWpoint / Newsletter Setpoint #1
PDF
S044125129
PPT
modeling computing
Turing machine
theory of computation notes for school of engineering
G044053060
churchthesis.docx turing machine and undecidability
Turing machine
Formal Language and Applications of Automata Theory
universality
Types of Turing Machine .docx
Turing machine seminar report
What is turing machine full described PPT for all learners
HALTINGPROBLEM.pptx
Turing Machine
Turing machine Introduction
CS.15.Turing.pdf
Turing Machine presentation for Theory of Computation
Computability, turing machines and lambda calculus
Winter 8 TM.pptx
VIEWpoint / Newsletter Setpoint #1
S044125129
modeling computing
Ad

More from Radhakrishnan Chinnusamy (11)

PPTX
Unit 5_Controlling.pptx
PPTX
Unit 3_organising.pptx
PPT
Unit 2_Planning.ppt
PPTX
Unit 1_introduction.pptx
PPT
Chapter 7 Run Time Environment
PPT
Chapter 6 Intermediate Code Generation
PPT
Chapter 5 Syntax Directed Translation
PPT
Introduction to Compiler
PPT
1.Role lexical Analyzer
PPT
Primitive Recursive Functions
PPT
Context free grammar
Unit 5_Controlling.pptx
Unit 3_organising.pptx
Unit 2_Planning.ppt
Unit 1_introduction.pptx
Chapter 7 Run Time Environment
Chapter 6 Intermediate Code Generation
Chapter 5 Syntax Directed Translation
Introduction to Compiler
1.Role lexical Analyzer
Primitive Recursive Functions
Context free grammar

Recently uploaded (20)

PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
Well-logging-methods_new................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
Artificial Intelligence
PDF
737-MAX_SRG.pdf student reference guides
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Mechanical Engineering MATERIALS Selection
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPT
introduction to datamining and warehousing
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
PPT on Performance Review to get promotions
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
Total quality management ppt for engineering students
III.4.1.2_The_Space_Environment.p pdffdf
Well-logging-methods_new................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Fundamentals of safety and accident prevention -final (1).pptx
Artificial Intelligence
737-MAX_SRG.pdf student reference guides
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Mechanical Engineering MATERIALS Selection
Categorization of Factors Affecting Classification Algorithms Selection
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
introduction to datamining and warehousing
Fundamentals of Mechanical Engineering.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPT on Performance Review to get promotions
Internet of Things (IOT) - A guide to understanding
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Total quality management ppt for engineering students

Multi Head, Multi Tape Turing Machine

  • 1. UNIT IV– TURING MACHINE October 11, 2018 1UNIT IV TURING MACHINE
  • 2. A multi head Turing machine is a single tape TM having n heads reading symbols on the same tape. In one step all the heads sense the scanned symbols and move or write independently. The heads are numbered 1 through n and move of TM depends upon the state and symbols scanned by each head. In one move the heads may move left , right or remain stationary. This type of TM is as powerful as one tape Turing machine. The multi head Turing Machine is as shown in the following October 11, 2018 2UNIT IV TURING MACHINE
  • 3. October 11, 2018 3UNIT IV TURING MACHINE
  • 4. The multi tape Turing Machine is a type of Turing machine in which there are more than one input tapes. Each tape is divided into cells and each cells can hold any symbol of finite tape alphabet. The multi tape Turing machine is as shown in the following image. This TM is more powerful than the basic Turing machine. Because finite control reads more than one input tape and more symbols can be scanned at a time. October 11, 2018 UNIT IV TURING MACHINE 4
  • 5. October 11, 2018 UNIT IV TURING MACHINE 5
  • 6. Turing Machine has a great computational capabilities and hence it can be used as a general mathematical model for modern computers. Turing Machine can model even recursive enumerable languages. Thus the advantage of Turing machine is that it can model all the computable functions as well as the languages for which the algorithm is possible. October 11, 2018 UNIT IV TURING MACHINE 6
  • 7. Halting Problem An important question of computing science is “Are there problems that cannot be solved?” There are, and probably the most famous of these is the halting problem described by Turing. He was thinking in terms of Turing machines (there were no computers), but it is easy to extend the idea.  Can we write a program that will look at any computer program and its input and decide if the program will halt (not run infinitely)? A practical solution might be to run the program and if it halts you have your answer. If after a given amount of time it doesn’t halt, guess that it won’t halt. However, you wouldn’t know if the program would eventually halt.
  • 8. Halting Problem The state halting problem we will consider the given configuration of a turing machine. The output of TM can be HALT The machine starting at this configuration will halts after a finite number of states. No HALT The machine starting at this configuration never reaches a halt state, no matter how long it turns. Now question is arises on these two observation. Given any functional matrix , input data tape and initial configuration, then it is possible to determine whether the process will ever halts? This is called HP. Yes Solvable and No Unsolvable. Now we prove why it is unsolvable.
  • 9. Halting Problem October 11, 2018 UNIT IV TURING MACHINE 9 Consider TM M1 which decides whether or not any computation by a TM T will ever halt when a description dT of T and tape t of T is given. Then for every input (t,dT) to M1 if T halt for input t, M1 also halts which is called accept halt. Similarly if T does not halt for input t then the M1 will halt which is called reject halt.
  • 10. Halting Problem October 11, 2018 UNIT IV TURING MACHINE 10 Now consider another TM M2 which takes an input dT. It first copies dT and duplicates dT on its tape and then this duplicated tape information is given as input to machine M1. but machine M1 is a modified machine with the modification that whenever M1 is supposed to reach an accept halt, M2 never loops forever. It loops if T halts for input t=dT and halts if T does not halt for T=dT.