Lec 5
Lec 5
AUTOMATA
DFA
2
FINITE AUTOMATA
3. A finite set of transitions that tell for each state and for
each letter of the input alphabet which state to go
next.
4
HOW DOES A FINITE
AUTOMATON WORK?
• It works by being presented with an input string
of letters that it reads letter by letter starting
from the leftmost letter.
• We draw arrows showing to which other states the different input letters will lead
us. We label these arrows with the corresponding input letters.
• We indicate the start state by a minus sign, or by labeling it with the word start.
• We indicate the final states by plus signs, or by labeling them with the word final.
Examples
12
ANY NO.OF A’S