WWW - Manaresults.Co - In: B) Minimize The Following Dfa. (Figure 2) (5+5)
WWW - Manaresults.Co - In: B) Minimize The Following Dfa. (Figure 2) (5+5)
Figure 1
b) Minimize the following DFA. (Figure 2) [5+5]
Figure 2
www.ManaResults.co.in
OR
3.a) Let L1 = {010}, L2={01,0} then find
(i) L1L2 (ii)L1* (iii)L2+ (iv) L1* + L2*
b) Verify the following two FA’s are equivalent or not? (Figure 3 and Figure 4) [6+4]
FA1:
Figure 3
FA2:
Figure 4
Figure 5
6.a) Construct CFG for the PDA given below A=({q0,q1},{0,1},{S,A},δ,q0,S,φ) where
δ is given as below
δ (q0,1,S)={(q0,AS)}
δ (q0,ε,S)={(q0,ε)}
δ (q0,1,A)={(q0,AA)}
δ (q0,0,A)={(q1,A)}
δ (q0,1,A)={(q1,ε)}
δ (q1,0,S)={(q0,S)}
b) Construct PDA for the language L={ anbn / n>=1} [5+5]
OR
7.a) Construct PDA for the language L={WWr /where W Є(a+b)*, Wr is reverse of W}.
b) Construct PDA for the given CFG: SÆaSb, SÆab, Where S is the only variable and
{a,b} are terminals. [5+5]
www.ManaResults.co.in
8.a) Construct the Turning machine for the language L={ anbncn | n>=1}.
b) Define Linear Bounded automata with a suitable example? [6+4]
OR
9.a) Construct the Turning machine for the language L={ anb2n| n>=1}.
b) Write properties of recursive and recursively enumerable languages. [6+4]
www.ManaResults.co.in