course handout (1) (12)
course handout (1) (12)
The objective of this course is to study the mathematical foundations & abstract models of of computation consisting of automata
theory, formal languages & grammars, computability and concept of Turing machines.
Pre-Requisite -:
Detailed Syllabus:
Module# CO Topics Hours
Introduction: Automata theory, Computability theory,
Complexity theory, Mathematical notations & terminology,
Alphabet, String, Languages & operations on strings; Finite
Automata (Deterministic): Formal definition, Transition
Module-1 CO1 function, Extended transition function, Language of DFA, 9
Design of DFA; Finite Automata (Non-deterministic): Formal
definition, Language of NFA, Equivalence of DFA & NFA; NFA
with Epsilon Transition: Eliminating "-transitions from NFA,
Conversion from Epsilon-NFA to DFA, Minimization of DFA.
Moore Machines, Mealy Machines; Regular Expressions:
Operators and their precedence, Building Regular expressions,
Module-2 CO2 DFA to Regular Expressions, Regular Expressions to DFA, 8
Arden’s theorem, Pumping Lemma for Regular languages,
Closure properties of Regular languages.
Introduction to Grammars: Definition, Derivation of string, Left
and right linear grammars, Regular grammars; Context Free
Grammars: Definition, Derivation of string, Language of CFG,
Module-3 CO3 Parse Tree, Ambiguity in grammar, Elimination of ambiguity, 9
Normal forms of CFG: Chomsky and Greibach normal forms,
Converting CFG to CNF & GNF, Cook, Younger, Kasami
Algorithm, Closure Properties of context free languages.
Push Down Automata: Basic Model, Components, Moves of a
PDA, ID of a PDA, Design of a PDA, PDA to CFG and CFG to
PDA conversion, Pumping Lemma for CFL; Turing Machines:
Module-4 CO4 9
Model, Components, ID of TM, Design of a TM, Variation of TM
model, Recursively Enumerable Languages, Universal Turing
Machine and undecidable problems.
Church Turing hypothesis, Recursive and recursively
enumerable sets, Chomsky’s hierarchy of languages.
Undecidability of Post correspondence problem, Linear
Bounded Automata and Context Sensitive Languages; Primitive
Module-5 CO5 7
Recursive Functions: -Recursive functions, Ackermann’s
function, Turing computable functions, Cantor and Godel
numbering; NP Completeness: P and NP, NP complete and NP
Hard problems.
Total 42 Hours
Text Book
J. E. Hopcroft, R. Motwani, and J. D. Ullman, Introduction to Automata Theory, Languages and Computation, 3rd Edition,
Pearson Education, 2007, ., .
P. Linz, An Introduction to Formal Languages and Automata, 4th Edition, Jones & Bartlett Learning, 2006, ., .
Reference Book
M. Sipser, Introduction to the Theory of Computation, 3rd Edition, Cengage Learning, 2012, ., .
J. C. Martin, Introduction to Languages and the Theory of Computation, 4th Edition, Tata McGraw- Hill, 2010, ., .
K. L. P. Mishra, and N. Chandrasekaran, Theory of Computer Science: Automata, Languages and Computation, 3rd Edition, PHI,
2012, ., .
Online Reference Material(s):
Course Outcome:
Develop and implement mathematical models with DFA, NFA for regular languages and grammar
CO1
for real life applications.
Design and implement grammar and PDA for context free languages and demonstrate their
CO2
properties.
CO3 Construct Turing machines for context sensitive and un-restricted languages.
CO4 Describe the Chomsky hierarchy of Formal Languages and Grammar.
Illustrate the relevance of the Church-Turing thesis, explain the concept of decidability & recursive
CO5
enumerability, and classify a given language to the P, NP or NPC complexity classes.