CS310 Automata Theory - 2016-2017: Nutan Limaye
CS310 Automata Theory - 2016-2017: Nutan Limaye
Nutan Limaye
quizzes 30%
mid-sem 30%
end-sem 40%
q0 a q1 a q2
start
b
a
b
q0 a q1 a q2
start
b
a,b
b b
a
start q0 q1
a
q0 1 q1 0 q2
start
1 0
1
Definition (REG)
A language is said to be a regular language if it is accepted by some DFA.
Examples
L = {w ∈ {a, b}∗ ∣ w ends with aa}
L′ = {w ∈ {a, b}∗ ∣ w contains aa}
Lodd = {w ∈ {a, b}∗ ∣ w contains odd number of a}
L3 = {w ∈ {0, 1}∗ ∣ w encodes a number in binary divisible by 3}