Beruflich Dokumente
Kultur Dokumente
1079
M.C.A.
DEGREE
I SEMESTER
EXAMINATION
NOVEMBER
2012
Maximum Marks: 50
(15 x 2 == 30) 1. (a) Is Ax(B~C)=AxB claim. (b) Write the truth table ofthe disfunction PVQ of the following statements: ~ Axe where ~ denotes the symmetric difference? Justifyyour
: 3 is an integer
q: 3 is greater than 5 (c) Let X = CC, the set of complex numbers. Define a relation - as follows; a + ib - c + id if a ~ c and b ~ d. Is - a partial order relation? Is it a total order? Justify.
n.
Define a Boolean matrix. How are the usual matrix operations defined on it? Let B
= {3nln
11l.
(a)
Find the recurrence relation and initial condition for the sequence S: 0,1,3, 7, 15, 2n -1, . Write the characteristic equation of the following linear homogeneous equation. an = 7 an_I - 10an_2 with initial conditions ao = 1, a. = 8 . Also find the roots of the characteristic equations.
(b)
(c)
Consider conditions
recurrence
relation
In
an
-5a
n_1
= 3n
n ~ I with initial
U; of a homogeneous recurrence
IV.
Construct the truth table for the Boolean expression a(XI'X2,X3) Give an example of a Boolean algebra.
= (XI
+x2
).(x.
+(X2'X~)).
= a + bl .
(P.T.O)
2 V. (a) (b) (c) Prove thatthe empty set and the language
{A}
Define a finite state machine and give an example. Define context free grammar and give an example. PARTB (5x4=20)
VI.
A.
Describe the principle of mathematical induction. Show that l l" =T" is divisible by n for all positive integers n.
OR
B. Define the transitive closure R" of a relation R and a non empty finite set A. Let
A = {I, 2, 3, 4} and R {( I, I), (3,3), (I, 3), (2, 3), (3, 2)( 4,2) ). Compute the transitive closure
ir .
VB. A. Solve the recurrence relation an = 5an_, -8 an_2 +4an_3 with initial conditions ao =0, a, =2,a2 B. =10.
OR
State and prove Pegion hole principle.
VIII.
A.
B, b
"* 0,
OR
B. Describe the Karnaugh map to minimise a sum -of -product Boolean expression. the Karnaugh map to the sum -of- product Compute
a(x,y)
= xy+xY+x)/.
IX.
A.
Draw a circuit by using NOT, OR and AND gates corresponding to the following Boolean expression x' + (xy + yz).
OR
B. For the Boolean expressions (i) (x+ y)(x' + yz), for x = 0, y = 1 and z = l. (ii)
= 0, y = 0 and
z = 1.
x.
A.
Define extended transition function for a DFA M = (Q,L;,Qo,p,F). and for any qEQ, show that p' (q,nv) =/(p'
L;'
(q,n),v).
OR B.
Let
M = (Q,L;,qo,p,F)
p qo ql q2 q3
(i) (ii)
qo qo ql q2
qo q2 q2 q.
qo q3 q3 q3
***