32877.TOC - CHO 3rd Sem
32877.TOC - CHO 3rd Sem
● To understand the concept of formal languages and their relation with finite automata.
● To study and design different finite automata.
● To study context free grammars and ambiguity related issues.
● To gain familiarization with Push- Down Automata and Turing Machines.
● To explore relationship between different classes of formal languages.
After completion of the course, students will have demonstrated the ability to do the following:
CLO1: Gain knowledge of formal languages and classify basic operations on them.
CLO2: Illustrate Finite Automata and differentiate DFA and NFA with the help of examples
CLO3: Explain and support the properties of Regular sets using pumping lemma and theorems.
CLO4: Analyze finite automata with output and compare and contrast CFG, Regular grammar, CNF, GNF
CL05: Explain Chomsky hierarchy and be familiar with the concept of Turing Machine, Pushdown Automata
and justify with examples deterministic and non-deterministic Turing machine
CLO-PO mapping grid |Program outcomes (Pos) are available as a part of Academic Program Guide (APG)
at
Course PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
Learning
Outcomes
CLO1 H M M L M
CLO2 H M M L M
CLO3 H M H M
CLO4 H H
CLO5 H H M L M
3. Recommended Books (Reference Books/Text Books):
B01: “Introduction to Languages and Theory of Computation”, by Martin J.C., Tata McGraw- Hill Publishing
Company Limited, 3rd Edition.
B02: “Introduction to Automata Theory Languages and Computation”, Hopcroft J.E. and Ullman J.D., Narosa
Publications.
B03:” Theory of Computation, by Michel Sipser, Cengage Learning.
B04: “Introduction to Computer Theory”, Daniel I.A. Cohen, John Wiley.
4. Other readings and relevant websites:
5. Course Plan:
Lecture Topic(s)
Number
1-2 Introduction to System software including various phases / Modules in the design of a typical
compiler, Chomsky Classification.
3 Introduction to Automata: The Methods Introduction to Finite Automata, Structural Representations,
Automata and Complexity.
4-5 General Concepts of Automata Theory: Alphabets Strings, Languages, Applications of Automata
Theory.
6-7 Finite Automata: The Ground Rules, The Protocol, Deterministic Finite Automata: Definition of a
Deterministic Finite Automata.
8-9 How a DFA Processes Strings, Simpler Notations for DFA’s, Extending the Transition Function to
Strings, The Language of a DFA.
10-11 Nondeterministic Finite Automata: An Informal View. The Extended Transition Function, The
Languages of an NFA.
12-13 Equivalence of Deterministic and Nondeterministic Finite Automata.
14-15 Finite Automata With Epsilon-Transitions: Uses of ϵ -Transitions.
16-17 The Formal Notation for an ϵ -NFA, Epsilon-Closures, Extended Transitions and Languages for ϵ
-NFA’s, Eliminating ϵ - Transitions.
18-19 Regular Expressions and Languages: Regular Expressions: The Operators of regular Expressions,
Building Regular Expressions, Precedence of Regular-Expression Operators, Precedence of
Regular-Expression Operators.
20-21 Finite Automata and Regular Expressions: From DFA’s to Regular Expressions, Converting DFA’s to
Regular Expressions, Converting DFA’s to Regular Expressions by Eliminating States, Converting
Regular Expressions to Automata.
22-23 Finite Automata with output: Moore and Mealy Machines. Equivalence of Moore and
Mealy Machines.
24-25 Properties of Regular Languages: The Pumping Lemma for Regular Languages, Applications of the
Pumping Lemma Closure Properties of Regular Languages, Decision Properties of Regular Languages,
Equivalence and Minimization of Automata.
ST-1 (Lecture 1 – Lecture 20)
26-27 Context-Free Grammars and Languages: Definition of Context-Free Grammars, Derivations Using a
Grammars Leftmost and Rightmost Derivations, The Languages of a Grammar
28-29 Parse Trees: Constructing Parse Trees, The Yield of a Parse Tree, Inference Derivations, and Parse
Trees, From Inferences to Trees, From Trees to Derivations, From Derivation to Recursive Inferences,
30-31 Applications of Context-Free Grammars: Parsers, Ambiguity in Grammars and Languages: Ambiguous
Grammars, Removing Ambiguity from Grammars, Leftmost Derivations as a Way to Express
Ambiguity, Inherent Ambiguity
32-33 Pushdown Automata: Definition Formal Definition of Pushdown Automata, A Graphical Notation for
PDA’s, Instantaneous Descriptions of a PDA.
34-35 Languages of PDA: Acceptance by Final State, Acceptance by Empty Stack, From Empty Stack to Final
State, From Final State to Empty Stack
36 Equivalence of PDA’s and CFG’s: From Grammars to Pushdown Automata, From PDA’s to Grammars
37-38 Deterministic Pushdown Automata: Definition of a Deterministic PDA, Regular Languages and
Deterministic PDA’s, DPDA’s and Context-Free Languages, DPDA’s and Ambiguous Grammars
39-40 Properties of Context-Free Languages: Normal Forms for Context-Free Grammars, The Pumping
Lemma for Context-Free Languages, Closure Properties of Context-Free Languages, Decision
Properties of CFL’s
ST-2 (Lecture 20– Lecture 35)
41-42 The Turing Machine: The Instantaneous Descriptions for Turing Machines
43-44 Transition Diagrams for Turing Machines, The Language of a Turing Machine, Turing Machines and
Halting
45-46 Turing machine Examples: L= {an bn cn / n ≥ 1}, L={w c wR / w ϵ (a+b)* and c is a or b} and L = {an bn an
bn / n ≥ 1}.
47-48 Introduction: Deterministic and Non- Deterministic Turing Machines
49-50 Complexity Theory Introduction: Time and Space measures.
6. Delivery/Instructional Resources:
Total 100%
* Out of 03 STs, the ERP system automatically picks the best 02 ST marks for evaluation of the STs as final
marks.
ST 02 26% - 65%
ST 03 66% - 100%
Component 02 End Term 100% 60%
Examination*
100%
* As per Academic Guidelines minimum of 75% attendance is required to become eligible for continuous
evaluation