Data Science and Artificial Intelligence
GATE DA topic:data-science PYQs
Build your understanding with focused practice from past exam papers.
Questions 181–190 of 195. Imported answers require independent review unless marked reviewed.
Question 51
Open questionDAMSQ2 marksNeeds review
Consider the directed acyclic graph (DAG) below:

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 answerQuestion 52
Open questionDAMSQ2 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 answerQuestion 53
Open questionDAMSQ2 marksNeeds review
Consider the following figures representing datasets consisting of two-dimensional features with two classes denoted by circles and squares.

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 answerQuestion 54
Open questionDAMSQ2 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 answerQuestion 55
Open questionDAMSQ2 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 answerQuestion 56
Open questionDANAT2 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 answerQuestion 57
Open questionDANAT2 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 answerQuestion 58
Open questionDANAT2 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 answerQuestion 59
Open questionDANAT2 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 answerQuestion 60
Open questionDANAT2 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