SlideShare a Scribd company logo
4
Most read
5
Most read
6
Most read
Anjuman College of Engineering
and Technology, Nagpur.
Computer Science And Engineering
2017-18
Subject- Theoretical Foundations of Computer
Science
Submitted by:
Sonam Lanjewar 43 4th-sem (A)
Sumbul Fatima Khan 45 4th-sem (A)
Aafaqueahmad Khan 46 4th-sem (A)
Guided by: Prof.Imteyaz Shahzad
TOPIC :
TURING
MACHINE
TURING MACHINE
 Introduced by Alan Turing in 1936.
 A simple mathematical model of a computer.
 Models the computing capability of computer.
 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.
Turing machine consists of:
• A tape divided into cells, one next to the other. Each cell contains a
symbol from some finite alphabet. The alphabet contains a
special blank symbol (here written as '0') and one or more other
symbols. The tape is assumed to be arbitrarily extendable to the left
and to the right, i.e., the Turing machine is always supplied with as
much tape as it needs for its computation. Cells that have not been
written before are assumed to be filled with the blank symbol. In
some models the tape has a left end marked with a special symbol;
the tape extends or is indefinitely extensible to the right.
• A head that can read and write symbols on the tape and
move the tape left and right one (and only one) cell at a
time. In some models the head moves and the tape is
stationary.
• A state register that stores the state of the Turing machine,
one of finitely many. Among these is the special start
state with which the state register is initialized. These
states, writes Turing, replace the "state of mind" a person
performing computations would ordinarily be in.
• A finite table of instructions that, given the state(qi) the
machine is currently in and the symbol(aj) it is reading on
the tape (symbol currently under the head), tells the
machine to do the following in sequence (for the 5-tuple
models):
oEither erase or write a symbol (replacing aj with aj1).
oMove the head (which is described by dk and can have
values: 'L' for one step left or 'R' for one step right or 'N'
for staying in the same place).
oAssume the same or a new state as prescribed (go to state
qi1).
Formal Definition of a TM
1. Q - the set of states.
2.  - the input alphabet.
3.  - the tape alphabet
4. :QQ{L,R} - the transition
function.
5. q0 - the start state.
6. qacceptQ - the accept state.
7. qrejectQ - the reject state.
TURING MACHINE MODEL
Multi-tape Turing Machines:-
• A multitape Turing machine is like an ordinary TM but it has
several tapes instead of one tape.
• Initially the input starts on tape 1 and the other tapes are blank.
• The transition function is changed to allow for reading, writing,
and moving the heads on all the tapes simultaneously.
▫ This means we could read on multiples tape and move in
different directions on each tape as well as write a different
symbol on each tape, all in one move.
Multi-Tape Turing Machines:-
a a b a b b _ . . .
b b b b b _ _ . . .
b a a b a _ _ . . .
The input is written on the first
tape
Multi-Tape Turing Machines:-
1. Q - the set of states.
2.  - the input alphabet.
3.  - the tape alphabet
4. :QkQ({L,R})k - the transition
function, where k (the number of tapes) is
some constant.
5. q0 - the start state.
6. qacceptQ - the accept state.
7. qrejectQ - the reject state.
THANK
YOU !!!

More Related Content

PPT
Turing Machine
PDF
Turing Machine
PPT
Turing Machine
PPTX
Turing machine
PPTX
Turing machine - theory of computation
PPTX
Turing Machine
PPT
Variants of Turing Machine
PPTX
Turing machine by_deep
Turing Machine
Turing Machine
Turing Machine
Turing machine
Turing machine - theory of computation
Turing Machine
Variants of Turing Machine
Turing machine by_deep

What's hot (20)

PPTX
Turing machine
PPTX
Turing machine-TOC
PPTX
Automata Theory - Turing machine
PPTX
Turing machine
PPT
TM - Techniques
PPT
Turing Machine
PPT
NFA or Non deterministic finite automata
PPTX
Turing Machine
PPTX
Regular expressions
PPTX
LINEAR BOUNDED AUTOMATA (LBA).pptx
PPTX
Multi dimensional turing machine
PPT
Turing machines
PPT
pushdown automata
PPT
Chomsky Hierarchy.ppt
PPTX
Moore and mealy machines
PPTX
4.6 halting problem
PDF
TOC 3 | Different Operations on DFA
PPTX
Pumping lemma
PPTX
Automata theory - CFG and normal forms
PPT
Context free languages
Turing machine
Turing machine-TOC
Automata Theory - Turing machine
Turing machine
TM - Techniques
Turing Machine
NFA or Non deterministic finite automata
Turing Machine
Regular expressions
LINEAR BOUNDED AUTOMATA (LBA).pptx
Multi dimensional turing machine
Turing machines
pushdown automata
Chomsky Hierarchy.ppt
Moore and mealy machines
4.6 halting problem
TOC 3 | Different Operations on DFA
Pumping lemma
Automata theory - CFG and normal forms
Context free languages
Ad

Similar to Turing machine (20)

PDF
Turing machine seminar report
PPTX
Turing machine
PPTX
Turing machine
PPTX
4.1 turing machines
PPTX
souraj Toc.pptx
PPTX
Turing Machine presentation for Theory of Computation
PPTX
Formal Languages of Automata theory: Turing Machines
PDF
Theory of computation complete 5th module
PPT
1LECTURE 9TuringMachines.ppt
PPTX
Theory of Automata and formal languages Unit 5
PPTX
AUTOMATA AUTOMATA AUTOMATAAutomata9Chapter8.pptx
PPTX
TURING MACHINE.pptxTURING MACHINE.pptxTURING MACHINE.pptx
DOCX
TOA.docx
DOCX
TOA.docx
PDF
TuringMachines.pdf
PDF
Free Ebooks Download ! Edhole
PDF
TuringMachines.pdf
PPTX
Turing machine.pptx
PDF
Turing machine Introduction
PPT
Unit-3_TOC theory of computation subj.ppt
Turing machine seminar report
Turing machine
Turing machine
4.1 turing machines
souraj Toc.pptx
Turing Machine presentation for Theory of Computation
Formal Languages of Automata theory: Turing Machines
Theory of computation complete 5th module
1LECTURE 9TuringMachines.ppt
Theory of Automata and formal languages Unit 5
AUTOMATA AUTOMATA AUTOMATAAutomata9Chapter8.pptx
TURING MACHINE.pptxTURING MACHINE.pptxTURING MACHINE.pptx
TOA.docx
TOA.docx
TuringMachines.pdf
Free Ebooks Download ! Edhole
TuringMachines.pdf
Turing machine.pptx
Turing machine Introduction
Unit-3_TOC theory of computation subj.ppt
Ad

Recently uploaded (20)

PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Well-logging-methods_new................
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Construction Project Organization Group 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
OOP with Java - Java Introduction (Basics)
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
web development for engineering and engineering
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Geodesy 1.pptx...............................................
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Lecture Notes Electrical Wiring System Components
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Internet of Things (IOT) - A guide to understanding
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Well-logging-methods_new................
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Construction Project Organization Group 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
OOP with Java - Java Introduction (Basics)
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
R24 SURVEYING LAB MANUAL for civil enggi
web development for engineering and engineering
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx

Turing machine

  • 1. Anjuman College of Engineering and Technology, Nagpur. Computer Science And Engineering 2017-18 Subject- Theoretical Foundations of Computer Science Submitted by: Sonam Lanjewar 43 4th-sem (A) Sumbul Fatima Khan 45 4th-sem (A) Aafaqueahmad Khan 46 4th-sem (A) Guided by: Prof.Imteyaz Shahzad
  • 3. TURING MACHINE  Introduced by Alan Turing in 1936.  A simple mathematical model of a computer.  Models the computing capability of computer.  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. Turing machine consists of: • A tape divided into cells, one next to the other. Each cell contains a symbol from some finite alphabet. The alphabet contains a special blank symbol (here written as '0') and one or more other symbols. The tape is assumed to be arbitrarily extendable to the left and to the right, i.e., the Turing machine is always supplied with as much tape as it needs for its computation. Cells that have not been written before are assumed to be filled with the blank symbol. In some models the tape has a left end marked with a special symbol; the tape extends or is indefinitely extensible to the right.
  • 5. • A head that can read and write symbols on the tape and move the tape left and right one (and only one) cell at a time. In some models the head moves and the tape is stationary. • A state register that stores the state of the Turing machine, one of finitely many. Among these is the special start state with which the state register is initialized. These states, writes Turing, replace the "state of mind" a person performing computations would ordinarily be in.
  • 6. • A finite table of instructions that, given the state(qi) the machine is currently in and the symbol(aj) it is reading on the tape (symbol currently under the head), tells the machine to do the following in sequence (for the 5-tuple models): oEither erase or write a symbol (replacing aj with aj1). oMove the head (which is described by dk and can have values: 'L' for one step left or 'R' for one step right or 'N' for staying in the same place). oAssume the same or a new state as prescribed (go to state qi1).
  • 7. Formal Definition of a TM 1. Q - the set of states. 2.  - the input alphabet. 3.  - the tape alphabet 4. :QQ{L,R} - the transition function. 5. q0 - the start state. 6. qacceptQ - the accept state. 7. qrejectQ - the reject state.
  • 9. Multi-tape Turing Machines:- • A multitape Turing machine is like an ordinary TM but it has several tapes instead of one tape. • Initially the input starts on tape 1 and the other tapes are blank. • The transition function is changed to allow for reading, writing, and moving the heads on all the tapes simultaneously. ▫ This means we could read on multiples tape and move in different directions on each tape as well as write a different symbol on each tape, all in one move.
  • 10. Multi-Tape Turing Machines:- a a b a b b _ . . . b b b b b _ _ . . . b a a b a _ _ . . . The input is written on the first tape
  • 11. Multi-Tape Turing Machines:- 1. Q - the set of states. 2.  - the input alphabet. 3.  - the tape alphabet 4. :QkQ({L,R})k - the transition function, where k (the number of tapes) is some constant. 5. q0 - the start state. 6. qacceptQ - the accept state. 7. qrejectQ - the reject state.