Data Science and Artificial Intelligence
GATE DA topic:computing PYQs
Build your understanding with focused practice from past exam papers.
Questions 111–120 of 195. Imported answers require independent review unless marked reviewed.
Question 46
Open questiondaMCQ2 marksNeeds review
Consider a fact table in an OLAP application: Facts (D1, D2, val), where D1 and D2 are its dimension attributes and val is a dependent attribute. Suppose attribute D1 takes 3 values and D2 takes 2 values, and all combinations of these values are present in the table Facts. How many tuples are there in the result of the following query?
SELECT D1, D2, sum(val)
FROM Facts
GROUP BY CUBE (D1, D2);
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 47
Open questiondaMCQ2 marksNeeds review
Consider the following Python code snippet.
A={"this","that"}
B={"that","other"}
C={"other","this"}
while "other" in C:
if "this" in A:
A,B,C=A-B,B-C,C-A
if "that" in B:
A,B,C=C|A,A|B,B|C
When the above program is executed, at the end, which of the following sets contains "this"?
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 48
Open questiondaMSQ2 marksNeeds review
Which of the following statements is/are correct about the rectified linear unit (ReLU) activation function defined as
, where
?Your answerSelect all correct options. You can choose more than one.
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 49
Open questiondaMSQ2 marksNeeds review
Consider the function
,
. Which of the following statements is/are correct?Your answerSelect all correct options. You can choose more than one.
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 50
Open questiondaMSQ2 marksNeeds review
Let
be a system of orthonormal vectors in
. Consider the matrix
. Which of the following statements is/are correct?Your answerSelect all correct options. You can choose more than one.
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 51
Open questiondaMSQ2 marksNeeds review
Let
be a twice-differentiable function and suppose its second derivative satisfies
for all
. Which of the following statements is/are ALWAYS correct?Your answerSelect all correct options. You can choose more than one.
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 52
Open questiondaMSQ2 marksNeeds review
An
matrix
with real entries satisfies the property:
, for all
, where
denotes the Euclidean norm. Which of the following statements is/are ALWAYS correct?Your answerSelect all correct options. You can choose more than one.
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 53
Open questiondaMSQ2 marksNeeds review
Consider designing a linear binary classifier
,
on the following training data:Class-1:
, Class-2:
Hard-margin support vector machine (SVM) formulation is solved to obtain
and
. Which of the following options is/are correct?Your answerSelect all correct options. You can choose more than one.
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 54
Open questiondaMSQ2 marksNeeds review
Consider a coin-toss experiment where the probability of head showing up is
. In the
coin toss, let
if head appears, and
if tail appears. Consider
where
is the total number of independent coin tosses.
Which of the following statements is/are correct?Your answerSelect all correct options. You can choose more than one.
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 55
Open questiondaMSQ2 marksNeeds review
Consider a two-class problem in
with class labels
and
. Let
and
be the means of the two classes. Given test sample
, a classifier calculates the squared Euclidean distance (denoted by
) between
and the means of the two classes and assigns the class label that the sample
is closest to. That is, the classifier computes
and assigns the label
to
if
, and
otherwise. Which of the following statements is/are correct?Your answerSelect all correct options. You can choose more than one.
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