Professional Documents
Culture Documents
:
SET
4
12. A(i) Design a FA from given regular expression 10 + (0 + 11)0* 1. A (8) CO2
A(ii) Show that the set L={bi2| i>1} is not regular. U (8) CO2
(OR)
12. B Using the algorithm for minimization of the DFA, minimize the following U (16) CO2
DFA
13. A Consider the following grammar for list structures: A (16) CO3
S → a | ^ | (T), T → T, S | S.
Find left most derivation, rightmost derivation and Parse tree for
(((a,a), (^,a)), a)
(OR)
13. B(i) Convert the grammar with productions into CNF A (8) CO3
A→bAB | λ, B→BAa | λ.
B(ii) Show that the language L={anbncndn |n>=0)} is not a context free language. S (8) CO3
14. A Construct a PDA accepting {an bm an |m,n≥1} by empty stack. Also A (16) CO4
construct the corresponding CFG accepting the same set.
(OR)
14. B(i) Construct a CFG accepting L= {am bn | n<m} and construct a PDA A (8) CO4
accepting L by empty stack.
B(ii) Construct a TM for subroutine f(a,b)=a*b, where a and b are unary S (8) CO4
numbers.
15. A(i) Briefly discuss about the decidable, undecidable, recursive and RE R (8) CO5
languages with examples.
15. A(ii)Prove that the non-empty language “Lne” is recursively Enumerable and U (8) CO5
“Lne “ is not recursive
(OR)
15. B Convert the TM M= ({ q1,q2,q3}, {0,1} ,{0,1,B} ,δ,q1,B,{q3}) where δ A (16) CO5
is given by
qi δ ( qi,0) δ ( qi,1) δ ( qi,B)
q1 (q2,1,R) (q2,0,L) (q2,1,L)
q2 (q3,0,L) (q1,0,R) (q2,0,R)
q3 ---- --- ---
and input string w =01 to an instance of MPCP
Mapping of Course Outcomes (CO) to Programme Outcomes (PO)
Course/Course Mapping with Programme outcomes
Outcomes PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
C303.1 1 3 - - - - - - - - - -
C303.2 2 3 - - - - - - - - - -
C303.3 - 3 2 - - - - - - - - -
C303.4 - 3 2 - - - - - - - - -
C303.5 - 3 - - - - - - - - - -
TOC 2 3 2 - 3 - - - - 3 - -
3- Strong Correlation, 2 – Medium Correlation, 1- Weak Correlation