03_Introduction to Finite Automata
03_Introduction to Finite Automata
TO
FINITE AUTOMATA
Finite State Machine/ Automata/ Automaton
• The finite state machine represents a mathematical model of a system
with certain input.
• The input is processed by various states.
• The model finally gives certain output.
• The finite state system is very good design tool for the programs such
as TEXT EDITORS and LEXICAL ANALYZERS.
Definition of Finite Automata
Tape
Reader
Input Tape: It is a linear tape
having some number of cells. Each
input symbol is placed in each cell.
Out put
Finite
Control
Finite Control: The finite control
decides the next state on receiving
particular input from input tape.
Types of Automata
Finite Automata
DFA cannot use Empty String transition. NFA can use Empty String transition.
DFA can be understood as one machine. NFA can be understood as multiple little machines
computing at the same time.
DFA will reject the string if it end at other than If all of the branches of NFA dies or rejects the string,
accepting state. we can say that NFA reject the string.
Backtracking is allowed in DFA. Backtracking is not always allowed in NFA.