Professional Documents
Culture Documents
Course Code CAP632 Course Category Course Title FORMAL LANGUAGES AND AUTOMATION THEORY Courses with conceptual focus Course Planner 15668::Rachit Garg Lectures 3.0 Tutorials Practicals Credits 0.0 0.0 3.0
TextBooks Sr No T-1 Title Author Edition 1st Year Publisher Name PHI (Pretice Hall India) Theory of Computer Science K.L.P Mishra & N. :Automata, languages & Computation Chandrasekran Reference Books Sr No R-1 R-2 R-3 Other Reading Sr No OR-1 OR-2 OR-3 Journals articles as Compulsary reading (specific articles, complete reference) http://cs.fit.edu/~dmitra/FormaLang/ , http://www.mywbut.com/syllabus.php?mode=VT&paper_id=14&dept_id=2 , http://www.gobookee.net/formal-languages-and-automata-theory-by-krithivasan/ , Title Introduction to languages & the Theory of Computation Theory of Computation Author John C Martin Kavi Mahesh Edition 1st 1st 4th 2010 Year Publisher Name Tata McGraw Hill Wiley India Pvt Ltd Narosa Publishing House Pvt. Ltd
Audio Visual Aids Sr No AV-1 AV-2 AV-3 (AV aids) (only if relevant to the course) http://www.ida.liu.se/~TDDA89/ http://www.cse.cuhk.edu.hk/~andrejb/csc3130/f08/ http://www.nptel.iitm.ac.in/courses/106106049/ Salient Features To provide students in learning basic and advanced concepts through remote experimentation To provide various tools for learning, including web recources, video lectures, animated demonstration and seld evaluation To provide various tools for learning, including web recources, video lectures, animated demonstration and seld evaluation
LTP week distribution: (LTP Weeks) Weeks before MTE Weeks After MTE 7 7
Spill Over
Week 1
Lecture 1
Automata(Definition)
T-1:Ch-1
Students will learn about the need and use of TOC in the field of Computer Science Students will learn about the transition modes
Lecture 2
T-1:Ch-3
AV-1 AV-2
Complexity theory Computability theory Automata theory NDFA is a variation of the FSM that will make it much easier to design FSMs Variants of Finite automata
Lecture 3
T-1:Ch-3
AV-3 DK-2
Makes it easy to design Peer Learning, Case FSMs Study Discussion and Demonstration of Animation Students learn about Finite automata with output Peer Learning, Case Study Discussion and Demonstration of Animation
Week 2
Lecture 4
T-1:Ch-3
OR-2 OR-3
T-1:Ch-3
OR-1 AV-1
Deterministic finite automata and example of a finite automata Formal definition of a finite automaton
Students learn to reduce Peer Learning, Case a Complex Finite Study Discussion and Automata Demonstration of Animation Students learn to Design finite automata Students learn the importance of Finite Automata conditions Students learn the importance of Finite Automata states Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
T-1:Ch-4
OR-3 AV-1
Lecture 5
T-1:Ch-4
OR-2 OR-3
T-1:Ch-4
AV-1
T-1:Ch-4
OR-3
To construct and analyse Learn the importance of Peer Learning, Case automata behaviour construction of Study Discussion and Automata Demonstration of Animation
Week 2
Lecture 5
Automata(States as Memory)
T-1:Ch-5
AV-2 AV-3
Learn the importance of Peer Learning, Case corresponding states Study Discussion and Demonstration of Animation Students learn the importance of Automata states Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
T-1:Ch-5
AV-2 AV-3
T-1:Ch-5
OR-3 AV-1
Constructing automata to Learn the Limitations solve computing of finite automata problems Formal definition of a non deterministic finite automata Relation between Finite Automata Regular Expressions
Lecture 6
T-1:Ch-5
OR-2
Learn the importance of Peer Learning, Case NDFA Closure under Study Discussion and the regular operations Demonstration of Animation Any FSM can be converted to a regular expression, and every regular expression can be converted into a nondeterministic FSM Peer Learning, Case Study Discussion and Demonstration of Animation
Construction of Finite Automata (Construction of Finite Automata equivalent to Regular expression & vice versa)
T-1:Ch-5
OR-2 OR-3
Construction of Finite Automata (Pumping Lemma for regular sets & its applications)
T-1:Ch-5
AV-2 AV-3
Non regular Languages The pumping lemma The pumping lemma for for Regular sets is a regular languages way to convince students that certain sets are not Regular Describing the basics of Push Down Automata A push down automaton PDA or is a type of automaton that uses a stack for temporary data storage
Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Week 3
Lecture 7
Pushdown Automata(Definition)
T-1:Ch-7
OR-3
Pushdown Automata(Acceptance)
T-1:Ch-7
AV-3 DK-1
Students learn about the Peer Learning, Case technique for Study Discussion and acceptance of string Demonstration of Animation Learn about Connection between Push down Automata and Context Free Languages Peer Learning, Case Study Discussion and Demonstration of Animation
Pushdown Automata(Pushdown Automata and Context Free Languages) Lecture 8 Pushdown Automata(Parsing and Pushdown automata)
T-1:Ch-7
OR-2
Relationship between Push down Automata and Context Free Languages Purpose of Parsing in automata
T-1:Ch-7
OR-2 AV-3
Learn about Top Down Peer Learning, Case and Bottom Up Parsing Study Discussion and Demonstration of Animation Students solve the Peer Learning, Case examples of push down Study Discussion and automata Demonstration of Animation
T-1:Ch-7
OR-3 AV-1
Week 3
Lecture 9
T-1:Ch-7
AV-2 DK-1
Ways to simplify CFGs Peer Learning, Case Study Discussion and Demonstration of Animation Ways to simplify PDAs Peer Learning, Case Study Discussion and Demonstration of Animation Parse tree as a way to represent the derivation of a string from a grammar Students learn the importance of Ambiguity with the help of examples Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
T-1:Ch-7
OR-2
T-1:Ch-6
OR-2
Week 4
Lecture 10
T-1:Ch-6
Context Free languages (Simplification of context free grammars) Lecture 11 Context Free languages(The Chomsky & Greibach Normal Forms) Context Free Grammars(The Kuroda Normal Form)
T-1:Ch-6
Equivalence with context Students learn the ways Peer Learning, Case free grammars to equivalent context Study Discussion and free grammars Demonstration of Animation Describing CNF Students learn to reduce Peer Learning, Case grammar to a CNF Study Discussion and Demonstration of Animation Students learn the importance of KNF Peer Learning, Case Study Discussion and Demonstration of Animation
R-2:ch-6
AV-3
R-3:Ch-6
OR-3
Lecture 12
R-3:Ch-6
OR-1 OR-3
Learns about the Peer Learning, Case implementation of KNF Study Discussion and Demonstration of Animation Learn the usage of restrictions Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
R-3:Ch-6
Regular Languages and Expressions(Idea of formal languages) Week 5 Lecture 13 Regular Languages and Expressions(Languages of Automata) Regular Languages and Expressions(Regular expressions)
R-3:Ch-6
R-3:Ch-6
DK-1
R-3:Ch-6
OR-2 AV-1
Recursive definition
Week 5
Lecture 13
R-3:Ch-6
OR-2 AV-1
Mapping from elements of regular expression to NFA Ways to design Turing Machines
Learn to convert regular Peer Learning, Case expression to equivalent Study Discussion and automata Demonstration of Animation Understands about Formal definition of a Turing machine Learn to construct turing machines Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 14
T-1:ch-9
DK-2 DK-3
T-1:ch-9
OR-3
Examples of Turing machines and computable functions Constructing complex turing machines
T-1:ch-9
OR-3
Lecture 15 Week 6 Lecture 16 Turing Machines(Variants of Turing machines) T-1:ch-9 OR-1 AV-1 DK-1 OR-1 AV-2
Term Paper,Test 1 Machines with stay option,multi track machines,Semi infinite tape machines Techniques used for constructing turing machines Alogrithm for Church Turing thesis Understand design variation for turing machines Understands the methods used for designing turing machines Learns about the concept of church turing
T-1:ch-9
T-1:ch-9
OR-2 AV-3
Lecture 17
T-1:ch-9
AV-2
Understands working of Peer Learning, Case UTM Study Discussion and Demonstration of Animation Understands the procedure to remove ambiguity Learns about the features of LL and LR Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 18
T-1:ch-9
OR-2 AV-1
Eliminating ambiguity
Week 7
Lecture 19
T-1:ch-9
OR-3 AV-1
Lecture 20
T-1:ch-9
OR-3 AV-1
Lecture 21
T-1:ch-9
OR-3 AV-1
MID-TERM
Week 8 Lecture 22 Formal Languages(Chomsky classification of languages) R-2:ch-7 OR-3 DK-2 Definition of grammar Learn the difference Peer Learning, Case between different types Study Discussion and of ets Demonstration of Animation Understand about the relation of formal languages Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 23
R-2:ch-7
AV-2 DK-3
Lecture 24
R-2:ch-7
OR-2 AV-1
Linear grammar
Understand the concept Peer Learning, Case of Linear grammar Study Discussion and Demonstration of Animation Learn to construct simple regular expression Peer Learning, Case Study Discussion and Demonstration of Animation
Week 9
Lecture 25
R-2:ch-5
AV-3 DK-2
Lecture 26
R-2:ch-5
Learn about the concept Peer Learning, Case of CSL Study Discussion and Demonstration of Animation Parse tree as a way to represent the derivation of a string from a grammar Learn to use closure properties to obtain more complex regular language Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 27
R-2:ch-5
Introduction to parsing
Week 10
Lecture 28
Grammars(Closure properties)
R-2:ch-5
AV-3
Lecture 29
R-2:ch-6
AV-3
Adversarial Game
Learn to handle regular Peer Learning, Case languages with Study Discussion and repeating patterns Demonstration of Animation Learn to construct regular expression for user dat avalidation Understands kinds of problems that are undecidable Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 30
R-2:ch-6
OR-3 AV-3
Week 11
Lecture 31
Decidability(Decidable languages)
T-1:Ch-10
OR-3 AV-3
Lecture 32
Decidability(Unpredictable languages)
T-1:Ch-10
OR-3 AV-3
Decidability and Understand the concept Peer Learning, Case Unpredictable languages of Unpredictable Study Discussion and languages Demonstration of Animation
Week 11
Lecture 33
T-1:Ch-10
AV-3
Week 12
Lecture 34
T-1:Ch-11
OR-1 AV-3
Understands various Peer Learning, Case functions performed by Study Discussion and partial recursive Demonstration of Animation Understands about concepts of computability Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 35
Computability(Basic concepts)
T-1:Ch-11
AV-3
Computability(Recursive functions)
T-1:Ch-11
AV-3
Computability Recursive Understands Peer Learning, Case functions computability recursive Study Discussion and functions Demonstration of Animation Partial functions Understands concept of Peer Learning, Case partial recursive Study Discussion and functions Demonstration of Animation Learn the importance of Peer Learning, Case Computing machines Study Discussion and Demonstration of Animation Understands the working of computing machines Understands the need of data structures Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Computability(Partial Recursion)
T-1:Ch-11
OR-3 AV-3
Lecture 36 Week 13 Lecture 37 Computers and the science of computing(Idea of computing) R-2:ch-12 AV-3 DK-3
Computers and the science of computing(Computing machines and languages) Computers and the science of computing(Programming and Data structures) Lecture 38 The Chomsky Hierarchy (Enumerable Languages)
R-2:ch-12
AV-3
T-1:Ch-11
AV-1
R-2:ch-11
AV-3
R-2:ch-11
AV-3
Understand the concept Peer Learning, Case of Chomsky Hierarchy Study Discussion and Demonstration of Animation Understands concept of Peer Learning, Case acceptance and Study Discussion and membership Demonstration of Animation
Lecture 39
R-2:ch-11
AV-3
Chomsky Acceptance
Week 14
Lecture 40
R-2:ch-11
AV-3
L40 Understand the need of Recursive languages in recursive languages The Chomsky Hierarchy L41 is revision L42 is revision L40 Understand the need of Recursive languages in recursive languages The Chomsky Hierarchy L41 is revision L42 is revision L40 Understand the need of Recursive languages in recursive languages The Chomsky Hierarchy L41 is revision L42 is revision
Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation Peer Learning, Case Study Discussion and Demonstration of Animation
Lecture 41
R-2:ch-11
AV-3
Lecture 42
R-2:ch-11
AV-3
SPILL OVER
Week 15 Lecture 43 Lecture 44 Lecture 45 Spill Over Spill Over Spill Over
AT No.
Objective
Evaluation Mode
Term Paper,Test 1 To define the power of any computation model that would be determined by analysing formal languages
Unit I Individual Automata : Definition, Description and transition modes, NDFA and DFA, Mealy and Moore machine, Minimization of Finite Automata, Constructing simple automata, Handling end conditions, Handling reject states, Step by step method for constructing automata, States as Memory, Why finite number of states, Limitations of finite automata, Non deterministic finite automata Construction of Finite Automata : Construction of Finite Automata equivalent to Regular expression & vice versa, Pumping Lemma for regular sets & its applications Pushdown Automata : Definition, Acceptance, Pushdown Automata and Context Free Languages, Parsing and Pushdown automata, Constructing PDAs, Converting CFGs to PDAs, Converting PDAs to CFGs Unit II Context Free languages : Derivation trees, Ambiguity in Context free grammars, Simplification of context free grammars, The Chomsky & Greibach Normal Forms Context Free Grammars : The Kuroda Normal Form, One sided Context Sensitive Grammars, Unrestricted Languages Regular Languages and Expressions : Idea of formal languages, Languages of Automata, Regular expressions, Converting Regular expressions to automata Unit III Turing Machines : Representation, Language acceptability, Design & description of Turing machines, Variants of Turing machines, Turing Machines Construction, The Church Turing thesis, Universal Turing Machine Syntax Analysis : Ambiguity and the formal power Series, Formal Properties of LL (k) and LR(k) Grammars
Based on student performance (scores) Each question will be multiple of 5. Total marks will be 30.
Term Paper,Test 2 To understand the concept of turing machines as special emphasis is laid on design and applications of Turing Machines
Unit IV Formal Languages : Chomsky classification of languages, Languages and their relation, Linear Grammars and regular Languages, Regular Expressions, Context Sensitive Languages Grammars : Parsing and Derivation, Closure properties, Pigeonhole principal and pumping lemma, Constructing Regular grammars Unit V Decidability : Decidable languages, Unpredictable languages, Halting problems of Turing machines Computability : Partial recursive functions, Basic concepts, Recursive functions, Partial Recursion Computers and the science of computing : Idea of computing, Computing machines and languages, Programming and Data structures Unit VI The Chomsky Hierarchy : Enumerable Languages, Diagonalization, Acceptance and membership, Recursive languages As per given topics
Individual
Based on student performance (scores) Each question will be multiple of 5. Total marks will be 30.
11 / 12
Individual
30 Marks (Mid Term report- 5 marks, End Term report- 15 marks, Viva / presentation10 marks)
4 / 10
List of suggested topics for term paper[at least 15] (Student to spend about 15 hrs on any one specified term paper) Sr. No. Topic 1 Theory of Automata 2 Finite Automata 3 Regular Languages 4 Context Free Grammars 5 Push Down Automata 6 Turing Machines and Computability 7 NFA and Regular Expressions 8 Regular Grammar and Languages 9 Computability 10 Context Free Languages 11 Grammars
12 Turing Machines 13 Chomsky Hierarchy 14 Computability and Undecidability 15 Deterministic Context Free Languages