Formal Material
Formal Material
Formal Material
UNIT – 1
3. Convert NFA with ε to equivalent DFA, Here p is initial state & r is final state
a b c ε
p p q r φ
q q r φ p
r r φ p q
4. Minimize finite automation given below and show both the given and reduced are equivalent
Here q0 is initial state & q6 is final state.
a b
q0 q0 q3
q1 q2 q5
q2 q3 q4
q3 q0 q5
q4 q0 q6
q5 q1 q4
q6 q1 q3
5. Convert the following Moore machine into equivalent Mealy machine
a b δ
q0 q0 q2 1
q1 q3 q2 0
q
q2 q1 1
2
q3 q0 q3 1
input 0 input 1
state
state o/p state o/p
q0 q1 N q2 N
q1 q1 Y q2 N
q2 q1 N q2 Y
UNIT – 2
1. Prove (1+00*1)+(1+00*1)(0+10*1)*(0+10*1)=0*1(0+10*1)*
Show that (0*1*)*=(0+1)*
Prove ε+1*(011)*(1*(011)*)*=(1+011)*
2. Write the IDENTITY RULES & ARDENS THEORM
3. Construct DFA for the Regular Expression(ab∪aba )∗a
4. Convert the following Finite Automata to Regular Expression
a) 1=1a+2b+ε 2=1b+2a
b) 1=3a+ε 2= 1(a+b)+2a+3b 3=2b
5. Construct Finite Automata to accept regular expressions (0+1)*(00+11)(0+1)*
6. Convert the following Finite Automata to Regular Expression
a) P=Pb+Qb+ ε Q=Pa+Qb
Where p,Q are states a,b are inputs
UNIT – 3