Data Science and Artificial Intelligence
GATE DA format:mcq PYQs
Build your understanding with focused practice from past exam papers.
Questions 21–30 of 105. Imported answers require independent review unless marked reviewed.
Question 21
Open questionDAMCQ1 markNeeds review
Let
be a
matrix, where
, and
. Which of the following options is equal to
?Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 22
Open questionDAMCQ1 markNeeds review
Consider a set
. Let
be another set which is a subspace of
with dimension two. Which of the following gives the area of
?Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 36
Open questionDAMCQ2 marksNeeds review
Let four points in three-dimensional space be: P1: [2, 3, −1], P2: [3, 1, 1], P3: [5, −2, 3] and P4: [3, 3, 3]. Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 37
Open questionDAMCQ2 marksNeeds review
Which of the following statements is true for Ridge Regression?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 38
Open questionDAMCQ2 marksNeeds review
Assume that a Creative (
) person will Succeed (
) if the person is also Disciplined (
), but will not succeed otherwise. Now, consider the following statements:(i)
(ii)
(iii)
Which of the following options is correct?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 39
Open questionDAMCQ2 marksNeeds review
A recursive function in Python is given.
def mystery(n):
if n <= 0:
return 1
else:
return mystery(n-1) + mystery(n-2)
Now, consider the following function call:
mystery(4)
Assume that a typical runtime stack is used to manage function calls. Each function call is pushed onto the stack and removed only after it finishes execution.
Which of the following options denotes the total number of function calls (i.e., the total number of stack activations), including the initial call, to compute mystery(4)?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 40
Open questionDAMCQ2 marksNeeds review
Consider a directed graph
, where
is the finite set of vertices and
is the set of directed edges between the vertices.
may contain cycles but there is no self-loop. Further,
may not be strongly connected.Let
be the graph obtained by reversing the directions of all the edges in
without changing the set of vertices.Assume that Breadth First Search (BFS) or Depth First Search (DFS) from any given vertex
of a graph visits only the reachable vertices from
in that graph.Which of the following statements must always be true, regardless of the structure of
?Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 41
Open questionDAMCQ2 marksNeeds review
Consider a B+ Tree where the maximum number of key values in each leaf node is 2 and the maximum number of pointers in each non-leaf node is 3. Let the content of the B+ Tree be as shown in the figure.
Which of the following options denotes the key value(s) stored in the root node after inserting a key value 3 in the given B+ Tree?

Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 42
Open questionDAMCQ2 marksNeeds review
Consider the given relations
,
and
. The relation
has three columns
,
and
. The relation
has three columns
,
and
. The relation
has two columns
and
.Relation
: | | |
|---|---|---|
P1 | Q1 | R1 |
P2 | Q2 | R2 |
P3 | Q3 | R2 |
Relation
: | | |
|---|---|---|
P1 | Q1 | 2 |
P1 | Q2 | 5 |
P2 | Q1 | 6 |
P3 | Q3 | 1 |
Relation
: | |
|---|---|
P1 | T1 |
P3 | T2 |
P4 | T3 |
P4 | NULL |
Consider the relational algebra expression
where
denotes natural join operation.Which of the following options is the correct output for the given expression?
Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answerQuestion 43
Open questionDAMCQ2 marksNeeds review
Consider the concept hierarchies as shown in the figure.
Which of the following options denotes the total number of possible data cubes from these concept hierarchies?

Your answerChoose one option.
Log in to check the answer
You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer