Review : Theory of Computation. Regular Language and Finite Automata Context-free Language and Pushdown Automata Turing Machine and Recursive Enumerable.

Slides:



Advertisements
Similar presentations
Formal Languages: main findings so far
Advertisements

Formal Languages: main findings so far A problem can be formalised as a formal language A formal language can be defined in various ways, e.g.: the language.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
Recap CS605: The Mathematics and Theory of Computer Science.
CS21 Decidability and Tractability
Applied Computer Science II Chapter : Grammars Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
1 Introduction to Computability Theory Lecture14: Recap Prof. Amos Israeli.
CS 302: Discrete Math II A Review. An alphabet Σ is a finite set (e.g., Σ = {0,1}) A string over Σ is a finite-length sequence of elements of Σ For x.
Programming the TM qa  (,q) (,q) q1q1 0q1q1 R q1q1 1q1q1 R q1q1  h  Qa  (,q) (,q) q1q1 0q2q2  q1q1 1q3q3  q1q1  h  q2q2 0q4q4 R q2q2 1q4q4.
Fall 2004COMP 3351 The Chomsky Hierarchy. Fall 2004COMP 3352 Non-recursively enumerable Recursively-enumerable Recursive Context-sensitive Context-free.
Linear Bounded Automata LBAs
Fall 2006Costas Busch - RPI1 The Chomsky Hierarchy.
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Final Exam Review Cummulative Chapters 0, 1, 2, 3, 4, 5 and 7.
Decidability A decision problem is a problem with a YES/NO answer. We have seen decision problems for - regular languages: - context free languages: [Sections.
CS355 – Theory of Computation Dr. Aidan Mooney, September 2006 National University of Ireland, Maynooth Department of Computer Science.
© M. Winter COSC/MATH 4P61 - Theory of Computation COSC/MATH 4P61 Theory of Computation Michael Winter –office: J323 –office hours: Mon & Fri, 10:00am-noon.
Review Byron Gao. Overview Theory of computation: central areas: Automata, Computability, Complexity Computability: Is the problem solvable? –solvable.
Introduction to CS Theory Lecture 15 –Turing Machines Piotr Faliszewski
1 Context-Free Languages. 2 Regular Languages 3 Context-Free Languages.
MA/CSSE 474 Theory of Computation Enumerability Reduction.
Saeid Pashzadeh Jan 2009 Theory of Computation 1.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
CSCI 2670 Introduction to Theory of Computing October 12, 2005.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
D E C I D A B I L I T Y 1. 2 Objectives To investigate the power of algorithms to solve problems. To explore the limits of algorithmic solvability. To.
CS130: Theory of Computation An introductory course on the theory of automata and formal languages: models of machines, languages and grammars, relationship.
CSCI 2670 Introduction to Theory of Computing October 13, 2005.
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.
Lecture 16b Turing Machines Topics: Closure Properties of Context Free Languages Cocke-Younger-Kasimi Parsing Algorithm June 23, 2015 CSCE 355 Foundations.
Grammar Set of variables Set of terminal symbols Start variable Set of Production rules.
1 CD5560 FABER Formal Languages, Automata and Models of Computation Lecture 12 Mälardalen University 2007.
1 The Chomsky Hierarchy. 2 Unrestricted Grammars: Productions String of variables and terminals String of variables and terminals.
Lecture 6: Context-Free Languages
Theory of Languages and Automata By: Mojtaba Khezrian.
CS 154 Formal Languages and Computability May 12 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
Turing Machines CS 130 Theory of Computation HMU Textbook: Chap 8.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
Theory of Computation. Introduction to The Course Lectures: Room ( Sun. & Tue.: 8 am – 9:30 am) Instructor: Dr. Ayman Srour (Ph.D. in Computer Science).
Theory of Languages and Automata By: Mojtaba Khezrian.
CST229 Week 6 Questions or concerns? Homework #4 due
Why Study Automata Theory and Formal Languages?
Why Study Automata? What the Course is About Administrivia
CSE 105 theory of computation
Deterministic FA/ PDA Sequential Machine Theory Prof. K. J. Hintz
CS 461 – Dec. 2 Major results Automata: 3 models of computation
Review : Theory of Computation
Linear Bounded Automata LBAs
FORMAL LANGUAGES AND AUTOMATA THEORY
CSCE 355 Foundations of Computation
Course 2 Introduction to Formal Languages and Automata Theory (part 2)
CSE322 Chomsky classification
Summary.
CSE322 The Chomsky Hierarchy
RAJALAKSHMI ENGINEERING COLLEGE
Jaya Krishna, M.Tech, Assistant Professor
An Interactive Approach to Formal Languages and Automata with JFLAP
Automata and Formal Languages (Final Review)
Deterministic PDAs - DPDAs
CS21 Decidability and Tractability
CS21 Decidability and Tractability
MA/CSSE 474 Theory of Computation
Chapter 1 Regular Language - 02
CSCI 2670 Introduction to Theory of Computing
Chapter 1 Regular Language
CSE 105 theory of computation
Sub: Theoretical Foundations of Computer Sciences
Theoretical Foundations of Computer Sciences
The Chomsky Hierarchy Costas Busch - LSU.
MA/CSSE 474 Theory of Computation
Presentation transcript:

Review : Theory of Computation

Regular Language and Finite Automata Context-free Language and Pushdown Automata Turing Machine and Recursive Enumerable Language Undecidablity and Problems − Complete Problems Contents

Regular Language and Finite Automata Regular Expression Deterministic finite automata (DFA) Non-deterministic finite automata (NFA) Closure properties and Pumping Theorem State Minimization (graduated course)

Questions: Give a DFA or NFA Regular Expression (Example P 81) Give a Regular Expression DFA or NFA (Theorem P 75) Show a given language be regular or non-regular? Yes, regular expression, DFA, NFA and closure property No, pumping theorem or closure property

Context-free Grammar Pushdown automata Closure properties and Pumping Theorem Context-free Language and Pushdown Automata

Questions: Give a context-free language Context-free Grammar Give a context-free language PDA Give a context-free grammar PDA (Lemma 3.4.1, Example P 136) Show a given language be context-free or non- context free?

Turing Machine Grammar Numerical Functions Basic Functions, composition, function defined recursively; primitiverecursive functions,primitive recursive predicate; minimalizable, μ -recursive Turing Machine and Recursive Enumerable Language

Questions: Design a Turing Machine to compute a function or decide (semidecide ) a language Given a TM function Show a function be a primitive recursive function

Church-Turing Thesis Chomsky hierarchy Universal Turing Machine Halting Problem Some Undecidable problems Reduction Undecidablity Let be languages. A reduction from to is a recursive function such that

Turing-enumerable and lexicographically Turing enumerable Chomsky hierarchy Questions: Show a given language be recursive enumerable Show a given language be not recursive

Problems, where p is a polynomial Problems, where p is a polynomial and Problems Question: Show a given language be Problem or Problem

- Completeness

Definition: is complete iff is hard --- that is, every language in is reducible to in polynomial time. Facts: If is -complete: is -complete. Question: Show a given language be –complete by reduction