Questions 111–120 of 195. Imported answers require independent review unless marked reviewed.

Topic practice 195 questionsPage 12 of 20

Question 46

Open question
daMCQ2 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 answer

Question 47

Open question
daMCQ2 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 answer

Question 48

Open question
daMSQ2 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 answer

Question 49

Open question
daMSQ2 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 answer

Question 50

Open question
daMSQ2 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 answer

Question 51

Open question
daMSQ2 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 answer

Question 52

Open question
daMSQ2 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 answer

Question 53

Open question
daMSQ2 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 answer

Question 54

Open question
daMSQ2 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 answer

Question 55

Open question
daMSQ2 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