GATE 2003 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2003

107 questions

MCQ 1071-mark 107

Questions 1–5 of 107

Q1Systems of Linear Equations1 markMCQ−0.33 if wrong
Consider the following system of linear equations
[21−443−1212−8][xyz][α57]\begin{bmatrix} 2 & 1 & -4\\ 4 & 3 & -12\\ 1 & 2 & -8 \end{bmatrix}\begin{bmatrix} x\\ y\\ z \end{bmatrix}\begin{bmatrix} \alpha \\ 5\\ 7 \end{bmatrix}
Notice that the second and the third columns of the coefficient matrix are linearly dependent. For how many values of α\alpha, does this system of equations have infinitely many solutions?

Q2Numerical Solution of Algebraic Equations1 markMCQ−0.33 if wrong
A piecewise linear function f (x) is plotted using thick solid lines in the figure below (the plot is drawn to scale).
f(x) 1.0 x (0.5,0.5) (1.55,0.5) (2.05,1.0) (-1.0,0.8) 0.6 1.3 1.55 2.05 x0 x1 x2
If we use the Newton-Raphson method to find the roots of f(x) = 0 using x0, x1 and x2 respectively as initial guesses, the roots obtained would be

Q3Propositional Logic1 markMCQ−0.33 if wrong
The following resolution rule is used in logic programming:
Derive clause(P ∨\vee Q) from clauses (P ∨\vee R),(Q ∨¬\vee \neg R)
Which of the following statements related to this rule is FALSE?

Q4Propositional Logic1 markMCQ−0.33 if wrong
Consider the following logic program P
A(x)←B(x,y),C(y)A(x)\leftarrow B(x,y),C(y)
←B(x,x)\leftarrow B(x,x)
Which of the following first order sentences is equivalent to P?
(A) (x) [(y) [B(x,y) C(y)] A(x)] ¬(x)[B(x,x)] (B) (x) [(y) [B(x,y) C(y)] A(x)] ¬(x)[B(x,x)] (C) (x) [(y) [B(x,y) C(y)] A(x)] ¬(x)[B(x,x)] (D) (x) [(y) [B(x,y) C(y)] A(x)] (x)[B(x,x)]

Q5Propositional Logic1 markMCQ−0.33 if wrong
Consider the following formula α\alpha and its two interpretations I1  and  I2I_{1} \; and \; I_{2}

α:(∀x)[Px↔(∀y)[Qxy↔¬Qyy]]→(∀x)[¬Px]\alpha :(\forall x)[P_{x}\leftrightarrow (\forall y)[Q_{xy}\leftrightarrow \neg Q_{yy}]]\rightarrow (\forall x)[\neg P_{x}]

I1: Domain : the set of natural numbers
Px≡xP_{x}\equiv x is a prime number
Qxy≡yQ_{xy}\equiv y divides x

I2: same as I1 except that Px≡xP_{x}\equiv x is a composite number.

Which of the following statements is true?