TC - August - 2015
TC - August - 2015
TC - August - 2015
:
P4880 [Total No. of Pages : 3
T.E./Insem. - 152
T.E. (IT)
THEORY OF COMPUTATION
(2012 Pattern) (Semester - I)
Time : 1 Hour] [Max. Marks : 30
Instructions to the candidates :
1) Answer Q1 or Q2, Q3 or Q4, Q5 or Q6.
2) Neat diagrams must be drawn wherever necessary.
3) Figures to the right indicate full marks.
4) Assume suitable data, if necessary.
OR
Q2) a) Minimize the following automata. [6]
P.T.O.
Next State
Present State a = 0 a = 1 Output
-> q0 q3 q1 1
q1 q2 q3 0
q2 q2 q1 0
q3 q1 q0 1
Q3) a) Find the regular expression corresponding to each of the following subset
of {0, 1} [4]
i) Language of all Strings not containing the substring 000.
ii) Language of all Strings containing an even no of 0s.
b) Show that L={anb2n | n>0} is not regular. [6]
OR
Q4) a) Construct a regular expression for given finite automata. [6]
Insem. - 152 2
OR
Q6) a) Write a context free grammar for following Language [6]
i) L= {ambncp | m+n=p}
ii) (a+b)b(a+b)*b(a+b)
b) Write short note on Chomsky Hierarchy. [4]
ïïï
Insem. - 152 3