Finite Automata
Finite Automata
Finite Automata
• When the automaton receives an input string such as 1101, it processes that
string and produces an output. The output is either accept or reject.
Fig. 4 – A finite automaton called M1 that has 3 states
• Example: When we feed the input string 1101 to the machine M1 in Fig. 4,
the processing proceeds as follows:
• If A is the set of all strings that machine M accepts, we say that A is the
language of the machine M and write L (M) = A.
• We say that M recognizes A or that M accepts A.
• A machine may accept several strings, but it always recognizes only one
language. If the machine accepts no strings, it still recognizes one
language – namely, the empty language .
A.
a. What is the start state?
b. What is the set of accept states?
c. What sequence of states does the machine
go through on input aabb?
d. Does the machine accept the string aabb?
e. Does the machine accept the string ?
A.
a. What is the start state?
b. What is the set of accept states?
c. What sequence of states does the
machine go through on input aabb?
d. Does the machine accept the string aabb?
e. Does the machine accept the string ?