Turing Theory. Turing Machine A Turing Machine denoted by TM, is a collection of six things. –An alphabet  of input letters –A TAPE divided into a sequence.

Slides:



Advertisements
Similar presentations
Part VI NP-Hardness. Lecture 23 Whats NP? Hard Problems.
Advertisements

Introduction to Computability Theory
Turing Machine Read/Write – Move Left/Right BB Read/Write Head State Qi.
Lecture 16 Deterministic Turing Machine (DTM) Finite Control tape head.
Variants of Turing machines
Turing Machines New capabilities: –infinite tape –can read OR write to tape –read/write head can move left and right q0q0 input tape.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Fall 2004COMP 3351 Turing Machines. Fall 2004COMP 3352 The Language Hierarchy Regular Languages Context-Free Languages ? ?

1 Lecture 13 Turing machine model of computation –Sequential access memory (tape) –Limited data types and instructions –Graphical representation –Formal.
CS5371 Theory of Computation Lecture 10: Computability Theory I (Turing Machine)
Computability and Complexity 3-1 Turing Machine Computability and Complexity Andrei Bulatov.
Theory of Computation. Computation Computation is a general term for any type of information processing that can be represented as an algorithm precisely.
AUTOMATA THEORY VIII.
Section 11.4 Language Classes Based On Randomization
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
CSCI 2670 Introduction to Theory of Computing September 28, 2005.
 Computability Theory Turing Machines Professor MSc. Ivan A. Escobar
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI 230 Models of Computation - Turing Machines Dale Roberts, Lecturer.
Turing Machines. Intro to Turing Machines A Turing Machine (TM) has finite-state control (like PDA), and an infinite read-write tape. The tape serves.
CSCI 3130: Formal languages and automata theory Andrej Bogdanov The Chinese University of Hong Kong Turing.
Computer Science 101 Theory of Computing. Computer Science is... The study of algorithms, with respect to –their formal properties –their linguistic realizations.
Lecture # 22. PDA of language {a n b n : n=0,1,2,3, …}
1 Design a PDA which accepts: L= { a n b m : n ≠ m }
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Turing Machines.
Fundamentals of Informatics Lecture 4 From Turing Machines to Algorithms Bas Luttik.
Turing Machine. Turing machine The mathematical models (FAs, TGs, PDAs) that have been discussed so far can decide whether a string is accepted or not.
Lecture 9  2010 SDU Lecture9: Turing Machine.  2010 SDU 2 Historical Note Proposed by Alan Turing in 1936 in: On Computable Numbers, with an application.
Capabilities of computing systems Numeric and symbolic Computations A look at Computability theory Turing Machines.
1 Turing machines Chapter 4, Smith and Kimber. A Turing machine is an abstraction of a human “computer”. Consists of - control, in the form of states -
CS 3240: Languages and Computation
CSCI 2670 Introduction to Theory of Computing October 7, 2004.
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 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 4 September 18, 2012 Access Control Model Foundational Results.
1 Turing Machines and Equivalent Models Section 13.1 Turing Machines.
1 Turing Machines - Chap 8 Turing Machines Recursive and Recursively Enumerable Languages.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 3 The Church-Turing Thesis Contents Turing Machines definitions, examples,
1 1. Design a TM which on a input w  {0, 1}*, shifts w over one position to the right. That is: (s, # w [#]) ├ * (h, # # w [#]). 2. Show the computation.
1 Introduction to Turing Machines
Computational Functionalism. Motivations A functionalist general purpose input-output device certainly sounds like a computer A functionalist general.
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
1 Turing Machines. 2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Theory of Automata By:Imran ul haq:2424 Zeshan Ali:2416 Ali Usman:2436 Sakhawat Ali:2411 Mudassar Salfi:2427.
CSCI 2670 Introduction to Theory of Computing September 29, 2005.
TMs for {a2n | n  0} {a2n | n  0}
COSC 3340: Introduction to Theory of Computation
ماشین های تورینگ، تشخیص پذیری و تصمیم پذیری زبان ها
Deterministic Turing Machines
Functionalism Computational Role
IS 2150 / TEL 2810 Introduction to Security
Pushdown Automata.
Pushdown Automata.
Deterministic Finite Automata
Undecidable problems for CFGs
COSC 3340: Introduction to Theory of Computation
Numerical Representation of Strings
Post Machine.
Turing Machines Acceptors; Enumerators
Chapter 9 TURING MACHINES.
Turing Machines Sipser pages
Deterministic Finite Automata
Formal Definition Definition. A Turing machine is a 5-tuple (S, , , s, H), where: S is a set of states  is an alphabet It must contain  and . It cannot.
فصل سوم The Church-Turing Thesis
IS 2150 / TEL 2810 Information Security & Privacy
Recap lecture 44 Decidability, whether a CFG generates certain string (emptiness), examples, whether a nonterminal is used in the derivation of some word.
P.V.G’s College of Engineering, Nashik
Hopcroft, Motawi, Ullman, Chap 8
IS 2150 / TEL 2810 Introduction to Security
Presentation transcript:

Turing Theory

Turing Machine A Turing Machine denoted by TM, is a collection of six things. –An alphabet  of input letters –A TAPE divided into a sequence of numbered cells each containing one character or a blank. The input word is presented to the machine one letter per cell beginning in the leftmost cell called cell i. The rest of the TAPE is initially filled with blanks

Turing Machine A TAPE HEAD that can in one step –read the contents of a cell on the TAPE –replace it with some other character, and –reposition itself to the next cell to the right or to the left of the current. Moving left at cell i makes the machine crash An alphabet Г of characters that can be printed on the TAPE by the TAPE HEAD. This can include  –Printing a blank means erasing and blank is not included as a letter in the alphabet Г

Turing Machine A finite set of states including exactly one START state from which the execution begins –Start state can be re-entered during execution at a later stage. A program, which is a set of rules that tells on the basis of a current state and the letter the TAPE HEAD has just read – how to change states – what to print on the TAPE and – where to move the TAPE HEAD –The program is depicted as a collection of directed edges connecting the states. Each edge is labeled with a triplet of information (letter, letter, direction) The first letter is the character read from the cell. The second is the one that is to be printed and direction is L or R i.e. the direction in which the TAPE HEAD will move

Turing Machine START 1 HALT 4 23 (a,a,R) (b,b,R) (a,a,R) (b,b,R) (∆, ∆,R)

TM for even even

Turing Machine a n b n START 1 HALT (a,a,L) (a,,A, R) (a,a,R) (B,B,R) (A, A,R) 34 (B,B,L) (B,B,R) (∆,∆, R) (a,a,L) (b,B,L)

TM: a n b n a n