Lecture 01
Lecture 01
Lecture # 01
What does Theory of automata mean?
• Example:
If Σ = { 1, 0 } then
0, 1, 110011, …..
Similarly, If Σ = { a, b } then
Thus, all words are strings, but vice versa is not true.
Example:
The following are three important rules for defining Alphabets for a
language:
Ambiguity Examples
• Σ1= {A, aA, bab, d}
Similarly,
• Σ1= {a, ab, ac}
letters is nm
Examples:
L={aaa, aab, aba, baa, abb, bab, bba, bbb} i.e. number of strings =
23
strings.
• abc a cba
letter, will be 2n-1 as well. Hence the total number of palindromes of length
Descriptive definition,
Recursive definition,
The language L of strings of odd length, defined over Σ={a}, can be written as
Example:
The language L of strings that does not start with a, defined over Σ={a,b,c}, can be
written as L={b, c, ba, bb, bc, ca, cb, cc, …}