PPT-1.1.1-Ch-1 IntroToAutomataTheory
PPT-1.1.1-Ch-1 IntroToAutomataTheory
UNIVERSITY INSTITUTE OF
ENGINEERING
COMPUTER SCIENCE ENGINEERING
Bachelor of Engineering
Theory of Computation (CST-353)
Outcome:
• Student will understand the
Basics of automata
3
University Institute of Engineering (UIE)
Department of Computer and Science Engineering (CSE)
• English mathematician
4
University Institute of Engineering (UIE)
Department of Computer and Science Engineering (CSE)
Alphabet
7
University Institute of Engineering (UIE)
Department of Computer and Science Engineering (CSE)
Powers of an alphabet
Let ∑ be an alphabet.
– ∑* = ∑0 U ∑1 U ∑2 U …
– ∑+ = ∑1 U ∑2 U ∑3 U …
8
University Institute of Engineering (UIE)
Department of Computer and Science Engineering (CSE)
Strings
9
University Institute of Engineering (UIE)
Department of Computer and Science Engineering (CSE)
Positive Closure
Regular Context-
(DFA) Context- Recursively-
free
sensitive enumerable
(PDA)
(LBA) (TM)
Type-1 Grammar(CSG)
• Type-1 grammars generate context-sensitive languages. The
productions must be in the form
• αAβ→αγβ
• where A ∈ N (Non-terminal)
• and α, β, γ ∈ (T ∪ N)* (Strings of terminals and non-
terminals)
• The strings α and β may be empty, but γ must be non-empty.
• The rule S → ε is allowed if S does not appear on the right side
of any rule. The languages generated by these grammars are
recognized by a linear bounded automaton.
• Example
• AB → AbBc A → bcA B → b
University Institute of Engineering (UIE)
Department of Computer and Science Engineering (CSE)
References :
• Martin J.C., “Introduction to Languages and Theory of
Computation”, Tata McGraw-Hill Publising Company
Limited, 3rd Edition.
• https://youtu.be/S3cOulqSAmU
• Https://en.wikipedia.org/wiki/Finite-state_machine
• https://www.safaribooksonline.com
• https://nptel.ac.in/courses/106/103/106103070/