Comp 416 L2 R
Comp 416 L2 R
M 416 : Theory of
Computation
Dr Rashad Ragab
Math. Dept., Helwan University
[email protected]
Lecture 2
Finite Control
2 Lecture 2
1
10/30/2020
DFA (contd.)
3 Lecture 2
4 Lecture 2
2
10/30/2020
5 Lecture 2
3
10/30/2020
Answer:
L = {a, aaa, aaaaa, ...}
7 Lecture 2
JFLAP Step-By-Step
aaa
8 Lecture 2
4
10/30/2020
JFLAP Step-By-Step
aaa
9 Lecture 2
JFLAP Step-By-Step
aaa
10 Lecture 2
5
10/30/2020
JFLAP Step-By-Step
aaa
11 Lecture 2
DFA M = (Q, Σ, δ, s, F)
Where,
– Q is finite set of states
– Σ is input alphabet
– s ∈ Q is initial state
– F ⊆ Q is set of final states
– δ: Q X Σ -> Q
12 Lecture 2
6
10/30/2020
13 Lecture 2
14 Lecture 2
7
10/30/2020
JFLAP Step-By-Step
aa
15 Lecture 2
JFLAP Step-By-Step
aa
16 Lecture 2
8
10/30/2020
JFLAP Step-By-Step
aa
17 Lecture 2
JFLAP Step-By-Step
ab
18 Lecture 2
9
10/30/2020
JFLAP Step-By-Step
ab
19 Lecture 2
JFLAP Step-By-Step
ab
20 Lecture 2
10
10/30/2020
21 Lecture 2
Regular Languages
22 Lecture 2
11