Introduction and finite automata Flashcards
LAG
Language, Automata, Grammar
Symbol
{ a,b,c,d,0,1,2,3,…}
Finite set of symbols
Alphabet
Collection of alphabet, Sequence
String {a, aa, aaa, aaaa, …}
Collection of Strings
Language L(M), i.e. Strings starting with ‘a’
Empty String
∑(a, b) = ∑0 = ε
Types of Language
Finite, Infinite
Automata
Model, Machine to check whether given string is accepted in language or not.
Example of Finite Language?
strings of length 4
Example of Infinite Language?
strings starts with ‘a’
Set of all strings with Length = 0
∑ = (a, b)
∑0, ε, λ
Set of all strings with length = 1
∑ = (a, b)
∑1 = {a, b}
Kleene Closure
∑#, (a+b)# , {ε, a, b, ab, aab, aba, baa, ….}
All possible strings over ∑= (a, b), here # = *
Positive Closure
∑+ , (a + b)+, {a, b, ab, aab, aba, …}
(∑+) + (∑0) = ?
∑*