Theoretical Foundations of Computer Sciences

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.
Theory of Computation CS3102 – Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Nathan Brunelle Department of Computer.
CS 345: Chapter 9 Algorithmic Universality and Its Robustness
Chapter 5 Pushdown Automata
Recap CS605: The Mathematics and Theory of Computer Science.
Reducibility 2 Theorem 5.1 HALT TM is undecidable.
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.
Turing machines Sipser 2.3 and 3.1 (pages )
Turing machines Sipser 2.3 and 3.1 (pages )
1 Introduction to Computability Theory Lecture5: Context Free Languages Prof. Amos Israeli.
Applied Computer Science II Chapter 2 : Context-free languages Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
Foundations of (Theoretical) Computer Science Chapter 2 Lecture Notes (Section 2.2: Pushdown Automata) Prof. Karen Daniels, Fall 2009 with acknowledgement.
Normal forms for Context-Free Grammars
Fall 2003Costas Busch - RPI1 Turing Machines (TMs) Linear Bounded Automata (LBAs)
Final Exam Review Cummulative Chapters 0, 1, 2, 3, 4, 5 and 7.
1 Theory of Computation 計算理論 2 Instructor: 顏嗣鈞 Web: Time: 9:10-12:10 PM, Monday Place: BL 103.
Computability Construct TMs. Decidability. Preview: next class: diagonalization and Halting theorem.
Saeid Pashzadeh Jan 2009 Theory of Computation 1.
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.
© M. Winter COSC/MATH 4P61 - Theory of Computation CFL are closed under Substitution Union Concatenation Closure (*) Homomorphism Reversal Intersection.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
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.
Computability Review homework. Video. Variations. Definitions. Enumerators. Hilbert's Problem. Algorithms. Summary Homework: Give formal definition of.
Lecture 16b Turing Machines Topics: Closure Properties of Context Free Languages Cocke-Younger-Kasimi Parsing Algorithm June 23, 2015 CSCE 355 Foundations.
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.
1 Unit – 5 : STATE MACHINES Syllabus: Languages and Grammars – Finite State Machines State machines and languages – Turing Machines – Computational Complexity.
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.
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).
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.
CIS Automata and Formal Languages – Pei Wang
CSE 105 theory of computation
Deterministic FA/ PDA Sequential Machine Theory Prof. K. J. Hintz
Review : Theory of Computation
Linear Bounded Automata LBAs
FORMAL LANGUAGES AND AUTOMATA THEORY
FORMAL LANGUAGES AND AUTOMATA THEORY
Turing Machines.
Natural Language Processing - Formal Language -
Context Sensitive Grammar & Turing Machines
CSCE 355 Foundations of Computation
Context Sensitive Languages and Linear Bounded Automata
Lecture 22 Pumping Lemma for Context Free Languages
Discrete Math II Howon Kim
Course 2 Introduction to Formal Languages and Automata Theory (part 2)
CSE322 Chomsky classification
Cpt S 317: Spring 2009 Reading: Chapters 1-9
Summary.
CSE322 The Chomsky Hierarchy
RAJALAKSHMI ENGINEERING COLLEGE
Jaya Krishna, M.Tech, Assistant Professor
An Interactive Approach to Formal Languages and Automata with JFLAP
Non-Deterministic Finite Automata
Automata and Formal Languages (Final Review)
Context-Free Languages
CS21 Decidability and Tractability
Chapter 2 Context-Free Language - 01
Decidability and Tractability
CSE 105 theory of computation
Sub: Theoretical Foundations of Computer Sciences
Department of Computer Science & Engineering
The Chomsky Hierarchy Costas Busch - LSU.
CIS Automata and Formal Languages – Pei Wang
Presentation transcript:

Theoretical Foundations of Computer Sciences ANJUMAN COLLEGE OF ENGINEERING & TECHNOLOGY Department of Computer Science & Engineering Theoretical Foundations of Computer Sciences Prof.Imteyaz Shahzad Prof. Saima Zareen Ansari

Syllabus: Unit 1: Mathematical preliminaries –Sets, operations, relations, strings, closure of relation, countability and diagonalization, induction and proof methods- pigeon-hole principle ,concept of language, formal grammars, Chomsky hierarchy. Unit 2: Finite Automaton, regular languages, deterministic & non deterministic finite automata, ϵ-closures, minimization of automata, equivalence, Moore and Mealy machine. Unit 3: Regular expression, identities, Regular grammar, right linear, left linear, Arden theorem, Pumping lemma for regular sets, closure & decision properties for regular sets, Context free languages, parse trees and ambiguity, reduction of CFGS, Normal forms for CFG .

Unit 4: Push down Automata (PDA), non-determinism, acceptance by two methods and their equivalence, conversion of PDA to CFG, CFG to PDAs, closure and decision properties of CFLs, pumping lemma for CFL. Unit 5: Turing machines, TM as acceptor, TM as transducers, Variations of TM, linear bounded automata, TM as computer of function. Unit 6: Recursively enumerable (r.e.) set, recursive sets, Decidability and solvability, Post correspondence Problem (PCP), Introduction to recursive function theory, primitive recursive functions, Ackerman function.

COURSE OUTCOMES: CO1: Classify the concept of languages and automata. CO2: Explain the formal relationships among machines, languages and grammars. CO3: Construct Regular Grammar and normal forms for CFG. CO4: Design and develop finite automata for given regular language. CO5: Design Push Down Automata, Turing Machine for given languages CO6: Demonstrate use of computability, decidability, recursive function theory through problem solving

Turing machines

┌ = Finite Set Tap Symbol Turing machine consist of 7 TUPLE: M=(Q, Ʃ,┌ , δ, qo, B, F) Q= Set of Finite State Ʃ= Set of Alphabet ┌ = Finite Set Tap Symbol δ = Transition Function Mapping From Q x┌ to Q x┌ x (L,R) q0= Initial State B= Blank Symbol F= Output Mapping Function

L={anbn│n≥0}

Transition Table a b B Q0 Q1,B,R ----------------- Q4,B,S Q1 Q1,a,R Q2,B,L Q2 Q3,B,L Q3 Q3,a,L Q3,b,L Q0,B,L Q4 ----------------

Design a Turing Machine For 2’s Compliment of binary number.

Transition Table 1 B Q0 Q0,0,R Q0,1,R Q1,B,L Q1 Q0,1,L Q2,1,L 1 B Q0 Q0,0,R Q0,1,R Q1,B,L Q1 Q0,1,L Q2,1,L ---------------------- Q2 Q2,0,L Q3,B,S Q3 --------------------- -------------------

L={WCWr│W=(a,b)*and Wr is a reverse of W } Prof. Saima Zareen Ansari

THANK YOU