Lecture 1
Lecture 1
Lecture-1
Dharmendra Kumar
(Associate Professor)
Department of Computer Science and Engineering
United College of Engineering and Research, Prayagraj
March 30, 2021
Syllabus
Syllabus
Unit-I:
Basic Concepts and Automata Theory:Introduction to Theory of
Computation-Automata, Computability and Complexity, Alphabet,
Symbol, String, Formal Languages, Deterministic Finite Automa-
ton (DFA)- Definition, Representation, Acceptability of a String and
Language, Non Deterministic Finite Automaton (NFA), Equivalence
of DFA and NFA, NFA with -Transition, Equivalence of NFA’s with
and without -Transition, Finite Automata with output- Moore Ma-
chine, Mealy Machine, Equivalence of Moore and Mealy Machine,
Minimization of Finite Automata, Myhill-Nerode Theorem, Simula-
tion of DFA and NFA
1
Syllabus
Unit-II:
Regular Expressions and Languages:Regular Expressions, Transition Graph,
Kleen’s Theorem, Finite Automata and Regular Expression- Arden’s theo-
rem, Algebraic Method Using Arden’s Theorem, Regular and Non-Regular
Languages- Closure properties of Regular Languages, Pigeonhole Principle,
Pumping Lemma, Application of Pumping Lemma, Decidability- Decision
properties, Finite Automata and Regular Languages, Regular Languages
and Computers, Simulation of Transition Graph and Regular language.
Unit-III:
Regular and Non-Regular Grammars: Context Free Grammar(CFG)- Def-
inition, Derivations, Languages, Derivation Trees and Ambiguity, Regular
Grammars- Right Linear and Left Linear grammars, Conversion of FA into
CFG and Regular grammar into FA, Simplification of CFG, Normal Forms-
Chomsky Normal Form(CNF), Greibach Normal Form (GNF), Chomsky
Hierarchy, Programming problems based on the properties of CFGs.
2
Syllabus
Unit-IV:
Push Down Automata and Properties of Context Free Languages: Nonde-
terministic Pushdown Automata (NPDA)- Definition, Moves, A Language
Accepted by NPDA, Deterministic Pushdown Automata (DPDA) and De-
terministic Context free Languages(DCFL), Pushdown Automata for Con-
text Free Languages, Context Free grammars for Pushdown Automata,
Two stack Pushdown Automata, Pumping Lemma for CFL, Closure prop-
erties of CFL, Decision Problems of CFL, Programming problems based on
the properties of CFLs.
Unit-V:
Turing Machines and Recursive Function Theory: Basic Turing Machine
Model, Representation of Turing Machines, Language Acceptability of Tur-
ing Machines, Techniques for Turing Machine Construction, Modifications
of Turing Machine, Turing Machine as Computer of Integer Functions,
Universal Turing machine, Linear Bounded Automata, Church’s Thesis,
Recursive and Recursively Enumerable language, Halting Problem, Post’s
3
Correspondance Problem, Introduction to Recursive Function Theory.
Frame Title
Text books
Course Outcome
Basic Concepts
Alphabet
A finite set of symbols is said to be alphabet. We will denote it by
set Σ .
String
This is the sequence of symbols from alphabet.
Example: If Σ = {a,b}, then abab, aaabab are strings on Σ.
6
Basic Concepts
1. Concatenation
The concatenation of two strings w and v is the string obtained by
appending the symbols of v to the right end of w, that is, if
w = a1 a2 .........an
and v = b1 b2 ........bm
Then concatenation of w and v, denoted by wv, is
wv = a1 a2 ........an b1 b2 ........bm
2. Reverse of a string
The reverse of a string is obtained by writing the symbols in reverse
order. If w is a string then its reerse is denoted by w R .
Example: If w = a1 a2 .........an then
7
w R = an an−1 .........a2 a1
Basic Concepts
3. Length of a string
The length of a string is the number of symbols in the strings. If w
is a string then it is denoted by | w |.
The string with length 0 is said to be empty string. And it is denoted
by . It is also said to be null string.
8
Basic Concepts
1. | | = 0
2. w = w = w, ∀ string w.
.
Substring
Properties of strings
1. | uv | = | u | + | v |
2. w n = wwwwwww............w(upto n times)
3. w 0 = , ∀w
10
Basic Concepts
11
Basic Concepts
12