Uti
Uti
Uti
AUTOMATA
PART A
:Q X Q
: Q X 2Q
one state.(i.e)
more states.(i.e)
8.Define the languages described by DFA and NFA.
L(DFA) = { w / (q0,w) is in F}.It is the set of strings w that take the start state
q0 to one of the accepting states.
L(NFA)= { w / (q0,w)F}.It is the set of strings w such that (q 0,w)contains
at least one accepting state.
9.Define extended transition function for a DFA.
The extended transition function : Q* Q is defined as follows.(i) (q, ) =
q (ii)For any w* ,
a and qQ , (q, wa)= ( (q, w),a)
10.Define - closure of a state.
The set of all states reachable from a given state q using transitions only.
We use -closure to denote the set of all vertices p such that there is a path from
q to p labeled .
11.Find the - closure of states 1, 2 and 4 in the following transition
diagram.
1-
2
b
4
5
a
b
7
S2
- closure(1) = {1,2,4,3,6},- closure(2) = {2,3,6},closure(4) = {4}.
1
S2
0
S0
1
1
S1
S2
0
0,1
S3
1
S0
S1
S2
a
b
a, b
a
a, b