Module 5 TuringMachine
Module 5 TuringMachine
TRUST’S
HIRASUGAR INSTITUTE OF TECHNOLOGY, NIDASOSHI
Accredited at 'A+' Grade by NAAC
Programmes Accredited by NBA: CSE, ECE
Course:
Department Theory
of Computer Science &of
Engineering
Computation(BCS503)
Module 5: Turing
Machine
Prof. A. A. Daptardar
Asst. Prof. , Dept. of Computer Science & Engg.,
Hirasugar Institute of Technology, Nidasoshi
1
MODULE-5
Content to be covered:
Introduction to Turing Machines: Problems That
Computers Cannot Solve, The Turing Machine,
Programming Techniques for Turing Machines,
Extensions to the Basic Turing Machine,
Undecidability: A Language That Is Not
Recursively Enumerable.
TEXT BOOK: Sections 8.1,8.2, 8.3,8.4, 9.1, 9.2
2
TURING MACHINES
3
INTRODUCTION
Modified version of PDA
Much more powerful than PDA
It uses Tape to store symbols
It recognizes all types of languages
Regular language
CFL
CSL
REL
TURING MACHINE MODEL
It is a finite automaton connected to read-write head with the
following components:
Tape
Read-Write Head
Finite Control
REPRESENTATION
7
TM REPRESENTATION:
Represented using various notations:
Transition Tables
Instantaneous Descriptions
Transition Diagram
ACTIONS PERFORMED BY TM:
TM DEFINITION:
TRANSITION TABLE
INSTANTANEOUS
DESCRIPTION: (ID)
ACCEPTANCE OF A LANGUAGE
BY TM:
The TM can do one of the following things:
RECURSIVE / DECIDABLE
LANGUAGE:
CONSTRUCTION OF
TM:
20
L = {0n1n | n ≥ 1 }
The DFA which accepts the language consisting strings of 0’s and
1’s having a substring 001.