Questions 181–190 of 195. Imported answers require independent review unless marked reviewed.

Topic practice 195 questionsPage 19 of 20

Question 51

Open question
DAMSQ2 marksNeeds review
Consider the directed acyclic graph (DAG) below:
Diagram for Data Science and Artificial Intelligence question 51

Which of the following are valid vertex orderings that can be obtained from a topological sort of the DAG?
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
Let

,

,

, and

represent height, number of internal nodes, number of leaf nodes, and the total number of nodes respectively in a rooted binary tree. Which of the following statements is/are always TRUE?
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 the following figures representing datasets consisting of two-dimensional features with two classes denoted by circles and squares.
Diagram for Data Science and Artificial Intelligence question 53

Which of the following is/are TRUE?
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
Let

be true if the ball is used in rugby and false otherwise.
Let

be true if the ball is round and false otherwise.
Consider the following logical sentences:
s1:

s2:

s3:

s4:

Which of the following choices is/are logical representations of the assertion, “All balls are round except balls used in rugby”?
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
An OTT company is maintaining a large disk-based relational database of different movies with the following schema:
Movie(

,

)
Genre(

,

)
Movie_Genre(

,

)
Consider the following SQL query on the relational database above:
SELECT *
FROM Movie, Genre, Movie_Genre
WHERE
Movie.CustomerRating > 3.4 AND
Genre.Name = “Comedy” AND
Movie_Genre.MovieID = Movie.ID AND
Movie_Genre.GenreId = Genre.ID;
This SQL query can be sped up using which of the following indexing options?
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 56

Open question
DANAT2 marksNeeds review
Let

be a random variable uniformly distributed in the interval

and

be a random variable uniformly distributed in the interval

. If

and

are independent of each other, the probability

is _____ (rounded off to three decimal places).

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 57

Open question
DANAT2 marksNeeds review
Let

be a random variable exponentially distributed with parameter

. The probability density function of

is given by:

If

, where

and

indicate the expectation and variance of

, respectively, the value of

is _____ (rounded off to one decimal place).

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 58

Open question
DANAT2 marksNeeds review
Consider two events T and S. Let

denote the complement of the event T. The probability associated with different events are given as follows:

Then,

is _____ (rounded off to two decimal places).

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 59

Open question
DANAT2 marksNeeds review
Consider a joint probability density function of two random variables X and Y

Then,

is _____.

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 60

Open question
DANAT2 marksNeeds review
Evaluate the following limit:

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