SlideShare une entreprise Scribd logo
1  sur  17
Theory of Computation
Topic: Definition of Turing Machine
INTRODUCING TURING MACHINES
Introduced by Alan Turing in 1936.
A simple mathematical model of a computer.
Models the computing capability of a computer.
DEFINITION
A Turing machine (TM) is a finite-state machine with an infinite tape
and a tape head that can read or write one tape cell and move left or
right.
It normally accepts the input string, or completes its computation, by
entering a final or accepting state.
Tape is use for input and working storage.
Representation of Turing Machine
•
Turing Machine is represented by-
• M=(Q,Σ, Γ,δ,q0,B,F) ,
• Where
• Q is the finite state of states
• Σ a set of τ not including B, is the set of input symbols,
• τ is the finite state of allowable tape symbols,
• δ is the next move function, a mapping from Q × Γ to
• Q × Γ ×{L,R}
• Q0 in Q is the start state,
• B a symbol of Γ is the blank,
• F is the set of final states.
THE TURING MACHINE MODELTHE TURING MACHINE MODEL
Transition function
One move (denoted by |---) in a TM does the following:
δ(q , X) = (p ,Y ,R/L)
• q is the current state
• X is the current tape symbol pointed by tape head
• State changes from q to p
Turing machine as language acceptors
A Turing machine halts when it no longer has available moves.
 If it halts in a final state, it accepts its input, otherwise it rejects its
input.
For language accepted by M ,we define
L(M)={ w ε ∑+
: q0w |– x1qfx2 for some qf ε F , x1 ,x2ε Γ *
}
Turing machine as transducers
• To use a Turing machine as a transducer, treat the entire nonblank
portion of the initial tape as input
• Treat the entire nonblank portion of the tape when the machine halts
as output.
A Turing machine defines a function y = f (x) for strings x, y ε ∑*
if
q0x |*– qf y
• A function index is “Turing computable” if there exists a Turing
machine that can perform the above task.
ID of a TMID of a TM
• Instantaneous Description or ID :
 X1 X2…Xi-1 q Xi Xi+1 …Xn
Means:
 q is the current state
 Tape head is pointing to Xi
 X1X2…Xi-1XiXi+1… Xn are the current tape symbols
 δ (q , Xi ) = (p ,Y , R ) is same as:δ (q , Xi ) = (p ,Y , R ) is same as:
X1 X2…Xi-1 q Xi Xi+1 …Xn|---- X1 X2…Xi-1 YY pp Xi+1…Xn
 δδ (q Xi) = (p Y L) same as:(q Xi) = (p Y L) same as:
X1 X2…Xi-1 q Xi Xi+1 …Xn|---- X1 X2…ppXi-1YY Xi+1 …Xn
VARIATIONS OF TURING MACHINESVARIATIONS OF TURING MACHINES
Multitape Turing Machines
Non deterministic Turing machines
Multihead Turing Machines
Off-line Turing machines
Multidimensional Turing machines
MULTITAPE TURING MACHINES
A Turing Machine with several tapes
 Every Tape’s have their Controlled own R/W Head
 For N- tape TM M=(Q,Σ, Γ,δ,q0,B,F)
• we define δ : Q X ΓN
Q X ΓN
X { L , R} N
NON DETERMINISTIC TURINGNON DETERMINISTIC TURING
MACHINESMACHINES
It is similar to DTM except that for any input symbol and current
state it has a number of choices
A string is accepted by a NDTM if there is a sequence of moves that
leads to a final state
The transaction function δ : Q X Γ 2 QXΓ X{L,R}
MULTIHEAD TURING MACHINEMULTIHEAD TURING MACHINE
Multihead TM has a number of heads instead of one.
 Each head indepently read/ write symbols and move left / right or
keep stationery.
OFF- LINE TURING MACHINEOFF- LINE TURING MACHINE
An Offline Turing Machine has two tapes
1. One tape is read-only and contains the input
2. The other is read-write and is initially blank.
MULTIDIMENSIONAL TURINGMULTIDIMENSIONAL TURING
MACHINEMACHINE
A Multidimensional TM has a multidimensional tape.
• For example, a two-dimensional Turing machine would read and
write on an infinite plane divided into squares, like a checkerboard.
 For a two- Dimensional Turing Machine transaction function define
as:
• δ : Q X Γ Q X Γ X { L , R,U,D}
Applications of TM
• Check Decidability If TM cannot solve a problem in countable time 
then there could not be any algorithm which could solve that 
problem (That is the problem is undecidable).For a decision problem 
if its TM halt in countable time for all finite length inputs then we can 
say that the problem could be solved by an algorithm in countable 
time.
• Classify Problem TM helps to classify decidable problems into classes 
of Polynomial Hierarchy. Suppose we found that the problem is 
decidable. Then out target become how efficiently we can solve it. 
The efficiency been calculated in number of steps, extra space used , 
length of the code/size of the FSM.
• Design and Implement Algorithm for Practical Machines TM helps to 
propagate idea of algorithm in other practical machines. After the 
successful check of 1,2 criteria we can use our practical 
devices/computers to design and implement algorithm.
Thankyou

Contenu connexe

Tendances

Turing machine - theory of computation
Turing machine - theory of computationTuring machine - theory of computation
Turing machine - theory of computationRubaya Mim
 
Church Turing Thesis
Church Turing ThesisChurch Turing Thesis
Church Turing ThesisHemant Sharma
 
Pushdown Automata Theory
Pushdown Automata TheoryPushdown Automata Theory
Pushdown Automata TheorySaifur Rahman
 
Variants of Turing Machine
Variants of Turing MachineVariants of Turing Machine
Variants of Turing MachineRajendran
 
Pumping lemma Theory Of Automata
Pumping lemma Theory Of AutomataPumping lemma Theory Of Automata
Pumping lemma Theory Of Automatahafizhamza0322
 
Context free grammars
Context free grammarsContext free grammars
Context free grammarsRonak Thakkar
 
Push down automata
Push down automataPush down automata
Push down automataSomya Bagai
 
Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1Srimatre K
 
Multi dimensional turing machine
Multi dimensional turing machineMulti dimensional turing machine
Multi dimensional turing machineNiteshSingh405
 
Finite State Machine.ppt.pptx
Finite State Machine.ppt.pptxFinite State Machine.ppt.pptx
Finite State Machine.ppt.pptxSKUP1
 
Working principle of Turing machine
Working principle of Turing machineWorking principle of Turing machine
Working principle of Turing machineKaran Thakkar
 
NFA or Non deterministic finite automata
NFA or Non deterministic finite automataNFA or Non deterministic finite automata
NFA or Non deterministic finite automatadeepinderbedi
 

Tendances (20)

Turing machine - theory of computation
Turing machine - theory of computationTuring machine - theory of computation
Turing machine - theory of computation
 
Automata Theory - Turing machine
Automata Theory - Turing machineAutomata Theory - Turing machine
Automata Theory - Turing machine
 
Church Turing Thesis
Church Turing ThesisChurch Turing Thesis
Church Turing Thesis
 
Turing machine
Turing machineTuring machine
Turing machine
 
Pushdown Automata Theory
Pushdown Automata TheoryPushdown Automata Theory
Pushdown Automata Theory
 
Variants of Turing Machine
Variants of Turing MachineVariants of Turing Machine
Variants of Turing Machine
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
 
Multi Head, Multi Tape Turing Machine
Multi Head, Multi Tape Turing MachineMulti Head, Multi Tape Turing Machine
Multi Head, Multi Tape Turing Machine
 
Pumping lemma Theory Of Automata
Pumping lemma Theory Of AutomataPumping lemma Theory Of Automata
Pumping lemma Theory Of Automata
 
Context free grammars
Context free grammarsContext free grammars
Context free grammars
 
Push down automata
Push down automataPush down automata
Push down automata
 
Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1
 
Multi dimensional turing machine
Multi dimensional turing machineMulti dimensional turing machine
Multi dimensional turing machine
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
 
TOC 7 | CFG in Chomsky Normal Form
TOC 7 | CFG in Chomsky Normal FormTOC 7 | CFG in Chomsky Normal Form
TOC 7 | CFG in Chomsky Normal Form
 
Lecture: Automata
Lecture: AutomataLecture: Automata
Lecture: Automata
 
Finite State Machine.ppt.pptx
Finite State Machine.ppt.pptxFinite State Machine.ppt.pptx
Finite State Machine.ppt.pptx
 
Working principle of Turing machine
Working principle of Turing machineWorking principle of Turing machine
Working principle of Turing machine
 
Turing machine
Turing machineTuring machine
Turing machine
 
NFA or Non deterministic finite automata
NFA or Non deterministic finite automataNFA or Non deterministic finite automata
NFA or Non deterministic finite automata
 

Similaire à Turing Machine

Turing machine seminar report
Turing machine seminar reportTuring machine seminar report
Turing machine seminar reportYashwant Dagar
 
Winter 8 TM.pptx
Winter 8 TM.pptxWinter 8 TM.pptx
Winter 8 TM.pptxHarisPrince
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Editor IJARCET
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Editor IJARCET
 
TuringMachines-myppt.pptx
TuringMachines-myppt.pptxTuringMachines-myppt.pptx
TuringMachines-myppt.pptxSanchayKedia2
 
1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.ppt1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.pptMarvin886766
 
Turing Machine
Turing MachineTuring Machine
Turing MachineAyAn KhAn
 
Theory of Automata and formal languages Unit 5
Theory of Automata and formal languages Unit 5Theory of Automata and formal languages Unit 5
Theory of Automata and formal languages Unit 5Abhimanyu Mishra
 
Turing machine
Turing machineTuring machine
Turing machineAshik Khan
 
Finite state Transducers and mealy Machine
Finite state Transducers and mealy Machine Finite state Transducers and mealy Machine
Finite state Transducers and mealy Machine Nadeem Qasmi
 

Similaire à Turing Machine (20)

Turing machine
Turing machineTuring machine
Turing machine
 
TOA.docx
TOA.docxTOA.docx
TOA.docx
 
TOA.docx
TOA.docxTOA.docx
TOA.docx
 
Turing machine seminar report
Turing machine seminar reportTuring machine seminar report
Turing machine seminar report
 
Winter 8 TM.pptx
Winter 8 TM.pptxWinter 8 TM.pptx
Winter 8 TM.pptx
 
TuringMachines.pdf
TuringMachines.pdfTuringMachines.pdf
TuringMachines.pdf
 
Unit iv
Unit ivUnit iv
Unit iv
 
Turing machines
Turing machinesTuring machines
Turing machines
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
 
TuringMachines-myppt.pptx
TuringMachines-myppt.pptxTuringMachines-myppt.pptx
TuringMachines-myppt.pptx
 
Turing machine
Turing machineTuring machine
Turing machine
 
1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.ppt1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.ppt
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
 
Theory of Automata and formal languages Unit 5
Theory of Automata and formal languages Unit 5Theory of Automata and formal languages Unit 5
Theory of Automata and formal languages Unit 5
 
Turing machine
Turing machineTuring machine
Turing machine
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
 
Theory of computation and automata
Theory of computation and automataTheory of computation and automata
Theory of computation and automata
 
Finite state Transducers and mealy Machine
Finite state Transducers and mealy Machine Finite state Transducers and mealy Machine
Finite state Transducers and mealy Machine
 
Turing Machine.pptx
Turing Machine.pptxTuring Machine.pptx
Turing Machine.pptx
 

Plus de Rahul Narang

Disk scheduling algo os
Disk scheduling algo osDisk scheduling algo os
Disk scheduling algo osRahul Narang
 
System of linear algebriac equations nsm
System of linear algebriac equations nsmSystem of linear algebriac equations nsm
System of linear algebriac equations nsmRahul Narang
 
Greeenhouse effects
Greeenhouse effectsGreeenhouse effects
Greeenhouse effectsRahul Narang
 
Embarking the journey to contributorship
Embarking the journey to contributorshipEmbarking the journey to contributorship
Embarking the journey to contributorshipRahul Narang
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transformsRahul Narang
 

Plus de Rahul Narang (8)

OpAmps
OpAmpsOpAmps
OpAmps
 
Disk scheduling algo os
Disk scheduling algo osDisk scheduling algo os
Disk scheduling algo os
 
System of linear algebriac equations nsm
System of linear algebriac equations nsmSystem of linear algebriac equations nsm
System of linear algebriac equations nsm
 
Program control
Program controlProgram control
Program control
 
Greeenhouse effects
Greeenhouse effectsGreeenhouse effects
Greeenhouse effects
 
Embarking the journey to contributorship
Embarking the journey to contributorshipEmbarking the journey to contributorship
Embarking the journey to contributorship
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 

Dernier

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Dernier (20)

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 

Turing Machine

  • 1. Theory of Computation Topic: Definition of Turing Machine
  • 2. INTRODUCING TURING MACHINES Introduced by Alan Turing in 1936. A simple mathematical model of a computer. Models the computing capability of a computer.
  • 3. DEFINITION A Turing machine (TM) is a finite-state machine with an infinite tape and a tape head that can read or write one tape cell and move left or right. It normally accepts the input string, or completes its computation, by entering a final or accepting state. Tape is use for input and working storage.
  • 4. Representation of Turing Machine • Turing Machine is represented by- • M=(Q,Σ, Γ,δ,q0,B,F) , • Where • Q is the finite state of states • Σ a set of τ not including B, is the set of input symbols, • τ is the finite state of allowable tape symbols, • δ is the next move function, a mapping from Q × Γ to • Q × Γ ×{L,R} • Q0 in Q is the start state, • B a symbol of Γ is the blank, • F is the set of final states.
  • 5. THE TURING MACHINE MODELTHE TURING MACHINE MODEL
  • 6. Transition function One move (denoted by |---) in a TM does the following: δ(q , X) = (p ,Y ,R/L) • q is the current state • X is the current tape symbol pointed by tape head • State changes from q to p
  • 7. Turing machine as language acceptors A Turing machine halts when it no longer has available moves.  If it halts in a final state, it accepts its input, otherwise it rejects its input. For language accepted by M ,we define L(M)={ w ε ∑+ : q0w |– x1qfx2 for some qf ε F , x1 ,x2ε Γ * }
  • 8. Turing machine as transducers • To use a Turing machine as a transducer, treat the entire nonblank portion of the initial tape as input • Treat the entire nonblank portion of the tape when the machine halts as output. A Turing machine defines a function y = f (x) for strings x, y ε ∑* if q0x |*– qf y • A function index is “Turing computable” if there exists a Turing machine that can perform the above task.
  • 9. ID of a TMID of a TM • Instantaneous Description or ID :  X1 X2…Xi-1 q Xi Xi+1 …Xn Means:  q is the current state  Tape head is pointing to Xi  X1X2…Xi-1XiXi+1… Xn are the current tape symbols  δ (q , Xi ) = (p ,Y , R ) is same as:δ (q , Xi ) = (p ,Y , R ) is same as: X1 X2…Xi-1 q Xi Xi+1 …Xn|---- X1 X2…Xi-1 YY pp Xi+1…Xn  δδ (q Xi) = (p Y L) same as:(q Xi) = (p Y L) same as: X1 X2…Xi-1 q Xi Xi+1 …Xn|---- X1 X2…ppXi-1YY Xi+1 …Xn
  • 10. VARIATIONS OF TURING MACHINESVARIATIONS OF TURING MACHINES Multitape Turing Machines Non deterministic Turing machines Multihead Turing Machines Off-line Turing machines Multidimensional Turing machines
  • 11. MULTITAPE TURING MACHINES A Turing Machine with several tapes  Every Tape’s have their Controlled own R/W Head  For N- tape TM M=(Q,Σ, Γ,δ,q0,B,F) • we define δ : Q X ΓN Q X ΓN X { L , R} N
  • 12. NON DETERMINISTIC TURINGNON DETERMINISTIC TURING MACHINESMACHINES It is similar to DTM except that for any input symbol and current state it has a number of choices A string is accepted by a NDTM if there is a sequence of moves that leads to a final state The transaction function δ : Q X Γ 2 QXΓ X{L,R}
  • 13. MULTIHEAD TURING MACHINEMULTIHEAD TURING MACHINE Multihead TM has a number of heads instead of one.  Each head indepently read/ write symbols and move left / right or keep stationery.
  • 14. OFF- LINE TURING MACHINEOFF- LINE TURING MACHINE An Offline Turing Machine has two tapes 1. One tape is read-only and contains the input 2. The other is read-write and is initially blank.
  • 15. MULTIDIMENSIONAL TURINGMULTIDIMENSIONAL TURING MACHINEMACHINE A Multidimensional TM has a multidimensional tape. • For example, a two-dimensional Turing machine would read and write on an infinite plane divided into squares, like a checkerboard.  For a two- Dimensional Turing Machine transaction function define as: • δ : Q X Γ Q X Γ X { L , R,U,D}
  • 16. Applications of TM • Check Decidability If TM cannot solve a problem in countable time  then there could not be any algorithm which could solve that  problem (That is the problem is undecidable).For a decision problem  if its TM halt in countable time for all finite length inputs then we can  say that the problem could be solved by an algorithm in countable  time. • Classify Problem TM helps to classify decidable problems into classes  of Polynomial Hierarchy. Suppose we found that the problem is  decidable. Then out target become how efficiently we can solve it.  The efficiency been calculated in number of steps, extra space used ,  length of the code/size of the FSM. • Design and Implement Algorithm for Practical Machines TM helps to  propagate idea of algorithm in other practical machines. After the  successful check of 1,2 criteria we can use our practical  devices/computers to design and implement algorithm.