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

GATE 2007

184 questions

MCQ 1841-mark 184

Questions 6–10 of 184

Q6Numerical Integration1 markMCQ−0.33 if wrong
The trapezoidal method is used to evaluate the numerical value of ∫01exdx\int_{0}^{1}e^x dx. Consider the following values for the step size h.
i. 10−210^{-2}
ii. 10−310^{-3}
iii. 10−410^{-4}
iv. 10−510^{-5}
For which of these values of the step size h, is the computed value guaranteed to be correct to seven decimal places. Assume that there are no round-off errors in the computation.

Q7Propositional Logic1 markMCQ−0.33 if wrong
Which one of these first-order logic formulae is valid?

Q8Propositional Logic1 markMCQ−0.33 if wrong
Let Graph(x) be a predicate which denotes that x is a graph. Let Connected(x) be a predicate which denotes that x is connected. Which of the following first order logic sentences DOES NOT represent the statement: "Not every graph is connected"?

Q9Propositional Logic1 markMCQ−0.33 if wrong
Which of the following is TRUE about formulae in Conjunctive Normal Form?

Q10Set Theory1 markMCQ−0.33 if wrong
A partial order P is defined on the set of natural numbers as follows. Here xy\frac{x}{y} denotes integer division.
i.(0,0)∈P.(0, 0) \in P.
ii.(a,b)∈P(a, b) \in P if and only if (a%10)≤(b%10)(a \% 10) \leq (b \% 10) and (a10,b10)∈P(\frac{a}{10},\frac{b}{10})\in P.

Consider the following ordered pairs:

i. (101, 22)
ii. (22, 101)
iii. (145, 265)
iv. (0, 153)

Which of these ordered pairs of natural numbers are contained in P?