Professional Documents
Culture Documents
CONSTRUCTION
Lecture 05,06
Finite Automata
Finite Automaton
a(a+b)*
Note
Acceptance :aa,bb,
What about null ab,ba,aaaa,aabb,…
string ??? Is it part of Rejection: a b aaa
language yes / no bbb aab bab…….
EXAMPLE
• One of the many FAs that accept all words
is
FAs that accept no language
• i) FAs that have no final state
FAs that accept no language
ii) Final state can not be reached from the
start state
Example
• FA that accepts all the words in the
language: a(a+b)*
Example
• What language is accepted by the
following FA.
Example
• Construct a machine that accepts all the
words with b as third letter and reject all
other words i.e.,
Example
• Build an FA that accepts only the word
baa
Example
• Build an FA that accepts only the strings
baa and ab.
Example
• Determine the language accepted by the
following FA