Professional Documents
Culture Documents
CSE 3169: Automata Theory and Compiler Design
CSE 3169: Automata Theory and Compiler Design
Lecture:03
Finite automata
A recognizer for a language is a program that takes as input a string x and
answers yes if x is a sentence of the language and no otherwise.
A regular expression is compiled into a recognizer by constructing a generalized
transition diagram called a Finite Automaton (FA).
Finite automata can be Non-deterministic Finite Automata (NFA) or Deterministic
Finite Automata (DFA).
It is given by M = (Q, Σ, qo, F, δ).
Where Q - Set of states
Σ - Set of input symbols
qo - Start state
F - set of final states
δ - Transition function (mapping states to input symbol).
1
Syed Jamaluddin Ahmad, Asst. Prof., CSE
CSE 3169: Automata Theory and Compiler Design
2
Syed Jamaluddin Ahmad, Asst. Prof., CSE