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).

Slides:



Advertisements
Similar presentations
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.
Advertisements

January 5, 2015CS21 Lecture 11 CS21 Decidability and Tractability Lecture 1 January 5, 2015.
Applied Computer Science II Chapter : Grammars Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
Applied Computer Science II Chapter 2 : Context-free languages Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 4 Context-free grammars Jan Maluszynski, IDA, 2007
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
Fall 2005Costas Busch - RPI1 CSCI-2400 Models of Computation.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 1 Introduction Jan Maluszynski, IDA, 2007
Fall 2006Costas Busch - RPI1 CSCI-2400 Models of Computation.
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Introduction to Formal Languages and Automata
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
Final Exam Review Cummulative Chapters 0, 1, 2, 3, 4, 5 and 7.
By: Er. Sukhwinder kaur.  Computation Computation  Algorithm Algorithm  Objectives Objectives  What do we study in Theory of Computation ? What do.
1 Introduction to Automata Theory Reading: Chapter 1.
CS 454 Theory of Computation Sonoma State University, Fall 2012 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall.
1 Theory of Computation 計算理論 2 Instructor: 顏嗣鈞 Web: Time: 9:10-12:10 PM, Monday Place: BL 103.
Lei Bu Preliminary Introduction to the Theory of Computation.
CS355 – Theory of Computation Dr. Aidan Mooney, September 2006 National University of Ireland, Maynooth Department of Computer Science.
CS 390 Introduction to Theoretical 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.
L ECTURE 1 T HEORY OF A UTOMATA. P RAGMATICS  Pre-Requisites  No Pre-Requisite  Text book  Introduction to Computer Theory by Daniel I.A. Cohen 
CSC312 Automata Theory Lecture # 1 Introduction.
Saeid Pashzadeh Jan 2009 Theory of Computation 1.
CSC312 Automata Theory Lecture # 1 Introduction.
1 Theory of Computation 計算理論 2 Instructor: 顏嗣鈞 Web: Time: 9:10-12:10 PM, Monday Place: BL.
THEORY OF COMPUTATION Komate AMPHAWAN 1. 2.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
1 Welcome to CptS 317 Background Course Outline Textbook Syllabus (see class web site to important information on disabilities, cheating and safety) Grades.
Foundations of (Theoretical) Computer Science Chapter 2 Lecture Notes (Section 2.2: Pushdown Automata) Prof. Karen Daniels, Fall 2010 with acknowledgement.
CS130: Theory of Computation An introductory course on the theory of automata and formal languages: models of machines, languages and grammars, relationship.
Why Study Automata? What the Course is About Administrivia 1 Welcome to CSE309.
Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1 Chapter 2 Context-Free Languages Some slides are in courtesy.
1.Draw a parse tree for the following derivation: S  C A C  C A b b  b b A b b  b b B b b  b b a A a a b b  b b a b a a b b 2. Show on your parse.
Grammar Set of variables Set of terminal symbols Start variable Set of Production rules.
C Sc 132 Computing Theory Professor Meiliu Lu Computer Science Department.
Mid-Terms Exam Scope and Introduction. Format Grades: 100 points -> 20% in the final grade Multiple Choice Questions –8 questions, 7 points each Short.
CS 154 Formal Languages and Computability May 12 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
CS 154 Formal Languages and Computability March 22 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
Changes to JFLAP to Increase Its Use in Courses Susan H. Rodger Duke University ITiCSE 2011 Darmstadt, Germany June 29, 2011 NSF Grants.
Topic 3: Automata Theory 1. OutlineOutline Finite state machine, Regular expressions, DFA, NDFA, and their equivalence, Grammars and Chomsky hierarchy.
Review : Theory of Computation. Regular Language and Finite Automata Context-free Language and Pushdown Automata Turing Machine and Recursive Enumerable.
Formal Languages and Automata Theory
Why Study Automata Theory and Formal Languages?
Formal Foundations-II [Theory of Automata]
Why Study Automata? What the Course is About Administrivia
CS-300 Theory of Computation 2nd Sem 2017 Lecture 1.
Lecture 1 Theory of Automata
L1= { w  {a,b}* : w consists of all strings that begin with an even number of a's followed by an odd number of b's. } L2= { w  {a,b}* : the number of.
Review : Theory of Computation
Linear Bounded Automata LBAs
FORMAL LANGUAGES AND AUTOMATA THEORY
CSCE 355 Foundations of Computation
Lecture 22 Pumping Lemma for Context Free Languages
PDAs Accept Context-Free Languages
Course 2 Introduction to Formal Languages and Automata Theory (part 2)
CSE322 Chomsky classification
CSE322 The Chomsky Hierarchy
RAJALAKSHMI ENGINEERING COLLEGE
An Interactive Approach to Formal Languages and Automata with JFLAP
Automata and Formal Languages (Final Review)
Deterministic PDAs - DPDAs
CS21 Decidability and Tractability
Decidability and Tractability
Principles of Computing – UFCFA3-30-1
Sub: Theoretical Foundations of Computer Sciences
Theoretical Foundations of Computer Sciences
Teori Bahasa dan Automata Lecture 6: Regular Expression
The Chomsky Hierarchy Costas Busch - LSU.
Presentation transcript:

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).

Course Description A theoretical treatment of what can be computed and how fast it can be done. Applications to compilers, string searching, and control circuit design will be discussed. The hierarchy of finite state machines, pushdown machines, context free grammars and Turing machines will be analysed, along with their variations. The notions of decidability, complexity theory and a complete discussion of NP-Complete problems round out the course.

Course Outcomes Upon successful completion of this course, the student should be able to: 1.Define languages by abstract, recursive definitions and by regular expressions. 2.Design a finite automaton to recognize a given regular language. 3.Transform a language into regular expression or finite automaton or transition graph. 4.Define deterministic and nondeterministic finite automata. 5.Prove properties of regular languages and classify them.

Course Outcomes 6.Determine decidability, finiteness and equivalence properties. 7.Define relationship between regular languages and context-free grammars. 8.Building a context-free grammar for pushdown automata. 9.Determine whether a given language is context-free language or not. 10.Prove properties of context-free languages. 11.Design Turing machine and Post machine for a given language. 12.Discuss the concept of computability.

Course Format Lectures, no lab. required. Participation in class discussion is expected. Exams: Midterm exam: 20 marks. Final exam : 60 marks. 2 assignments: 5 marks to each, total 10 marks. 2 Quizzes: 2.5 marks to each, total 5. Attendants: 5 marks.

Classroom Policies STUDENTS ARE EXPECTED TO BE ON TIME FOR LECTURES

8 Course Outline Regular Languages and their descriptors: Finite automata, nondeterministic finite automata, regular expressions. Algorithms to decide questions about regular languages, e.g., is it empty? Closure properties of regular languages.

9 Course Outline – (2) Context-free languages and their descriptors: Context-free grammars, pushdown automata. Decision and closure properties.

10 Course Outline – (3) Recursive and recursively enumerable languages. Turing machines, decidability of problems. The limit of what can be computed. Intractable problems. Problems that (appear to) require exponential time. NP-completeness and beyond.

Lecture outline Week 1: Introduction. Week 2: Basic concepts and definitions Set operations; partition of a set Equivalence relations; Properties on relation on set; Proving Equivalences about Sets. Central concepts of Automata Theory. Week 3: Regular Expressions; Operations on Regular expressions Finite Automata and Regular Expressions. Recursive definitions; Conversion from FA and regular expressions; Kleen’s Theory; Mealy Moore Machines. Conversion from Mealy to Moore and vice versa.

Lecture outline-(2) Week 4: Deterministic Finite Automata (DFA). Minimization of DFA; Non-Deterministic Finite Automata (NDFA). Week 5: Equivalence of Deterministic and Non- Deterministic Finite Automata. Week 6: Pumping Lemma for Regular Languages. Closure Properties of Regular Languages. Week 7: Context-Free Grammars; Regular Grammars; Parse Trees.

Lecture outline- (3) Week 8: Midterms Exams. Week 9: Ambiguity in Grammars and Languages. Standard Forms; Chomsky Normal Forms; Greibach normal Forms. Week 10: Pushdown Automata (PDA). Week 11: The Turing Machine. Week 12: The Halting Problem. Weeks 13 & 14: Decidability Complexity Theory.

Reference book Introduction to the Theory of Computation 2 nd Edition Michael Sipser