Course Overview and Introduction: Teori Bahasa Dan Automata
Course Overview and Introduction: Teori Bahasa Dan Automata
Lecture 1:
Course Overview and Introduction
By:
Nur Uddin, Ph.D
1
Theory of computation
2
Complexity
Computer problems;
• Easy problems
e.g.: sorting problem
• Hard problems
e.g.: scheduling problem
3
Complexity (Cont’d)
4
Complexity Theory
5
Computability Theory
6
AUTOMATA THEORY
7
Mathematical Notations and Terminology
8
Set
• Set
• Membership and non-membership ( ).
• Subset
• Infinite set
• Empty set
9
Set Operations
• Union ( )
• Intersection ( )
• Complement ( )
• Venn diagram
10
Sequence and tuple
11
Tuples
12
Power set
• For example:
• The power set of A is the set of all subsets of A.
• If A is the set {0, 1}, the power set of A is the set { ∅, {0}, {1}, {0, 1} }.
• The set of all ordered pairs whose elements are 0s and 1s is { (0, 0),
(0, 1), (1, 0), (1, 1) }.
13
Cartesian Product
• Example:
14
Function and Relation
15
Function: example 1
16
Function: example 2
17