NAME: FIADUZ ZAMAN
STUDENT CODE: BWU/BTA/21/101
COURSE NAME: FORMAL LANGUAGE & AUTOMATA
THEORY
COURSE CODE: PCC-CSM404
FINITE AUTOMATA
WHAT IS FINITE AUTOMATA ?
• Finite Automata(FA) is the simplest machine to recognize
patterns.
• At the time of transition, the automata can either move to
the next state or stay in the same state.
• Finite automata have two states, Accept state or Reject state.
When the input string is processed successfully, and the
automata reached its final state, then it will accept.
FORMAL DEFINITION OF FINITE AUTOMATA
A finite automaton is a collection of 5-tuple (Q, ∑, δ, q0,
F), where:
• Q: finite set of states
• ∑: finite set of the input symbol
• q0: initial state
• F: final state
• δ: Transition function
TRANSISON DIAGRAM
0 1 1
0
1
q1 q2 qf
Here,
•{0,1}: Inputs
•q1: Initial state
•q2: Intermediate
state
•qf: Final state
start
TRANSITON TABLE
0 1
1
0
1
q1 q2 qf
start
STATES 0 1
→ q1 q1 q2
q2 qf q2
qf - qf
TYPES OF FINITE AUTOMATA
FINITE AUTOMATA
DFA NFA
DFA & NFA
Some important points about DFA and NFA:
i. Every DFA is NFA, but NFA is not DFA.
ii. There can be multiple final states in both NFA and
DFA.
iii. DFA is used in Lexical Analysis in Compiler.
iv. NFA is more of a theoretical concept.
REFERENCES
• JAVATPOINT
https://www.javatpoint.com/finite-automata
• TUTORIALSPOINT
https://www.tutorialspoint.com/what-is-finite-automata
THANK YOU

automata presentation with added graphics.pptx