GATE 2017 (Session 1)
64 questions
MCQ 44 · NAT 201-mark 30 · 2-mark 34
Questions 11–15 of 64
The statement is logically equivalent to which of the statements below?
I.
II.
III.
IV.
I.
II.
III.
IV.
Answer: (D)
is the contrapositive of , so the two are equivalent. That is statement II.
Using : . That is statement III.
Statement I, , is the converse of , and IV, , is the same as . They are not equivalent to the given statement. Take false and true: is (true false), which is false, but and are true.
Answer: (D)
Using : . That is statement III.
Statement I, , is the converse of , and IV, , is the same as . They are not equivalent to the given statement. Take false and true: is (true false), which is false, but and are true.
Answer: (D)
Consider the first-order logic sentence . Assuming non-empty logical domains, which of the sentences below are implied by F?
I.
II.
III.
IV.
I.
II.
III.
IV.
Answer: (B)
F says that for every there is some with .
- I follows. The domain is non-empty, so pick any element . F gives some with , so there are and with . True.
- IV . This is the same as F. True.
- II (one works for all ) does not follow. Take the universe with meaning . F is true (take ), but no single equals both 1 and 2.
- III (every is reached) does not follow. Take the universe with meaning . F is true, but for no has .
Answer: (B)
- I follows. The domain is non-empty, so pick any element . F gives some with , so there are and with . True.
- IV . This is the same as F. True.
- II (one works for all ) does not follow. Take the universe with meaning . F is true (take ), but no single equals both 1 and 2.
- III (every is reached) does not follow. Take the universe with meaning . F is true, but for no has .
Answer: (B)
Let be scalars, not all zero, such that
where are column vectors in . Consider the set of linear equations Ax = b
where A= and b=. The set of equations has
where are column vectors in . Consider the set of linear equations Ax = b
where A= and b=. The set of equations has
Answer: (C)
The relation holds with the not all zero. So the columns are linearly dependent, and Ax = 0 has a non-zero solution c.
The vector satisfies Ax = b. Also, satisfies it for every t the system has infinitely many solutions.
Answer: infinitely many solutions
The vector satisfies Ax = b. Also, satisfies it for every t the system has infinitely many solutions.
Answer: infinitely many solutions
Consider the following functions from positive integers to real numbers:
.
The CORRECT arrangement of the above functions in increasing order of asymptotic complexity is:
.
The CORRECT arrangement of the above functions in increasing order of asymptotic complexity is:
Answer: (B)
Compare the five functions as grows.
decreases towards , so it is the smallest. is a constant and is bigger than for large . , and all grow without limit, so they are above the constant .
Among the three: for . And grows slower than , since by L'Hopital's rule.
So the order is .
Answer: (B)
decreases towards , so it is the smallest. is a constant and is bigger than for large . , and all grow without limit, so they are above the constant .
Among the three: for . And grows slower than , since by L'Hopital's rule.
So the order is .
Answer: (B)
Consider the following table:
Match the algorithms to the design paradigms they are based on.
Match the algorithms to the design paradigms they are based on.
Answer: (C)
Match each algorithm one by one:
- Kruskal: it takes the cheapest safe edge every time Greedy (ii)
- Quicksort: it splits the array and calls itself on the parts Divide and Conquer (i)
- Floyd-Warshall: it uses answers of smaller subproblems Dynamic Programming (iii)
Answer: P-(ii), Q-(i), R-(iii)
- Kruskal: it takes the cheapest safe edge every time Greedy (ii)
- Quicksort: it splits the array and calls itself on the parts Divide and Conquer (i)
- Floyd-Warshall: it uses answers of smaller subproblems Dynamic Programming (iii)
Answer: P-(ii), Q-(i), R-(iii)