Turing Machine Finite state automaton –Limitation: finite amount of memory –Prevents recognizing languages that are not regular {0 n 1 n |n = 0,1,2,…}

Slides:



Advertisements
Similar presentations
CS 345: Chapter 9 Algorithmic Universality and Its Robustness
Advertisements

Chapter 5 Pushdown Automata
THE CHURCH-TURING T H E S I S “ TURING MACHINES” Pages COMPUTABILITY THEORY.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
CS21 Decidability and Tractability
P, NP, PS, and NPS By Muhannad Harrim. Class P P is the complexity class containing decision problems which can be solved by a Deterministic Turing machine.
1 CSCI-2400 Models of Computation. 2 Computation CPU memory.
Finite Automata Finite-state machine with no output. FA consists of States, Transitions between states FA is a 5-tuple Example! A string x is recognized.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
CS 310 – Fall 2006 Pacific University CS310 Turing Machines Section 3.1 November 6, 2006.
Lecture 5 Turing Machines
Turing Machines.

CS 490: Automata and Language Theory Daniel Firpo Spring 2003.
Computability and Complexity 3-1 Turing Machine Computability and Complexity Andrei Bulatov.
Finite State Machines Data Structures and Algorithms for Information Processing 1.
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Grammars, Languages and Finite-state automata Languages are described by grammars We need an algorithm that takes as input grammar sentence And gives a.
Turing Machines A more powerful computation model than a PDA ?
CSE202: Introduction to Formal Languages and Automata Theory Chapter 9 The Turing Machine These class notes are based on material from our textbook, An.
CSCI 2670 Introduction to Theory of Computing September 28, 2005.
CS/IT 138 THEORY OF COMPUTATION Chapter 1 Introduction to the Theory of Computation.
1 Section 14.2 A Hierarchy of Languages Context-Sensitive Languages A context-sensitive grammar has productions of the form xAz  xyz, where A is a nonterminal.
Pushdown Automata (PDAs)
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
THE CHURCH-TURING T H E S I S “ TURING MACHINES” Part 1 – Pages COMPUTABILITY THEORY.
Complexity and Computability Theory I Lecture #11 Instructor: Rina Zviel-Girshin Lea Epstein.
Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
9.7: Chomsky Hierarchy.
September1999 CMSC 203 / 0201 Fall 2002 Week #15 – 2/4/6 December 2002 Prof. Marie desJardins.
Discrete Structures ICS252 Chapter 5 Lecture 2. Languages and Grammars prepared By sabiha begum.
Turing Machines Lecture 26 Naveen Z Quazilbash. Overview Introduction Turing Machine Notation Turing Machine Formal Notation Transition Function Instantaneous.
1 Section 13.1 Turing Machines A Turing machine (TM) is a simple computer that has an infinite amount of storage in the form of cells on an infinite tape.
1 Turing Machines and Equivalent Models Section 13.1 Turing Machines.
Lecture 24UofH - COSC Dr. Verma 1 COSC 3340: Introduction to Theory of Computation University of Houston Dr. Verma Lecture 24.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples,
1 Introduction to Turing Machines
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2007.
1 Unit – 5 : STATE MACHINES Syllabus: Languages and Grammars – Finite State Machines State machines and languages – Turing Machines – Computational Complexity.
Theory of Languages and Automata By: Mojtaba Khezrian.
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
CS6800 Advance Theory of Computation Spring 2016 Nasser Alsaedi
Modeling Arithmetic, Computation, and Languages Mathematical Structures for Computer Science Chapter 8 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesTuring.
Language Recognition MSU CSE 260.
8. Introduction to Turing Machines
Turing Machines Alan Turing ( ) mathematician and logician.
ماشین های تورینگ، تشخیص پذیری و تصمیم پذیری زبان ها
Theory of Languages and Automata
Linear Bounded Automata LBAs
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
CS21 Decidability and Tractability
Natural Language Processing - Formal Language -
Pumping Lemma Revisited
OTHER MODELS OF TURING MACHINES
CSE322 Chomsky classification
CSE322 The Chomsky Hierarchy
Jaya Krishna, M.Tech, Assistant Professor
8. Introduction to Turing Machines
CS21 Decidability and Tractability
Decidability and Tractability
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Hopcroft, Motawi, Ullman, Chap 8
The Chomsky Hierarchy Costas Busch - LSU.
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Pushdown automata Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
Presentation transcript:

Turing Machine Finite state automaton –Limitation: finite amount of memory –Prevents recognizing languages that are not regular {0 n 1 n |n = 0,1,2,…} Pushdown automation –Unlimited memory : stack –Equivalent to context free grammers –Can recogninze A = {0 n 1 n |n = 0, 1, 2,….} –Can’t recognize context sensitive grammer (B = {a n b n c n |n = 0, 1, 2,….}) Linear bounded automata –More powerful than pushdown models. –Recognize context sensitive grammer. –Cannot recognize all the languages generated by phrase –structure grammers.

Turing Machines Defn: A Turing Machine T = (S,I,f,s 0 ) –s 0 = starting state –S = finite set of states –f = partial function (S x I X {R, L}) –I = An alphabet contating the blank symbol B Action of TM f (s, x) = (S’,x’,d) 1.Enters the state S’ 2.Writes the symbol x’ in the current cell, erasing x and 3.Moves right one cell if d=R or moves left one cell if d=L. –TM is usually specified with a set of five- tuples of the form (S,x,S’,x’,d) TM to recognize sets Defn: Let V be a subset of an alphabet T. A Turing Machine T=(S,I,f,s 0 ) recognizes a string x in V* if and only if T, starting in the initial positon when x is written on the tape, halts in the final state. T is said to recognize a subset A of V* if x is recognized by T if and only if x belongs to A. Non-regular set –{0 n 1 n |n = 0,1,2,…} –V = {0,1} and I = {0,I,M} –M: marker (auxiliary tape symbol)

Turing Machines Computing functions –TM as a computer that finds the values of a partial function. –Functions defined on integers? Different types of TM –Multiple TM Allow tape to be two-dimensional Read different cells simultaneously Nondeterministic TM: allow (state, tape sysmbol) pair as fist elements in more than one five-tuple of the TM Restrict: (can reduce the capabilites of TM) –tape to be infinite in only one dimension. –Tape alphabet to have only two symbols. The Church-Turing thesis: –Any probelm which can be solved with an effective algorithm, there is a TM that can solve this problem.