Data Science and Artificial Intelligence
GATE DA area:computing-and-data PYQs
Build your understanding with focused practice from past exam papers.
Questions 21–28 of 28. Imported answers require independent review unless marked reviewed.
Question 19
Open questionDAMCQ1 markNeeds review
Euclidean distance based
-means clustering algorithm was run on a dataset of 100 points with
. If the points
and
are both part of cluster 3, then which ONE of the following points is necessarily also part of cluster 3?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 20
Open questionDAMCQ1 markNeeds review
Given a dataset with
binary-valued attributes (where
) for a two-class classification task, the number of parameters to be estimated for learning a naïve Bayes classifier isYour 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
For any binary classification dataset, let
and
be the between-class and within-class scatter (covariance) matrices, respectively. The Fisher linear discriminant is defined by
, that maximizes
If
,
is non-singular and
, then
must satisfy which ONE of the following equations?Note:
denotes the set of real numbers.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 table below, where the
element of the table is the distance between points
and
. Single linkage clustering is performed on data points,
. | | | | | |
|---|---|---|---|---|---|
| 0 | 1 | 4 | 3 | 6 |
| 1 | 0 | 3 | 5 | 3 |
| 4 | 3 | 0 | 2 | 5 |
| 3 | 5 | 2 | 0 | 1 |
| 6 | 3 | 5 | 1 | 0 |
Which ONE of the following is the correct representation of the clusters produced?
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 two neural networks (NNs) shown in Figures 1 and 2, with ReLU activation (
).
denotes the set of real numbers. The connections and their corresponding weights are shown in the Figures. The biases at every neuron are set to 0. For what values of
in Figure 2 are the two NNs equivalent, when
are positive?Figure 1

Figure 2

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 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 62
Open questionDANAT2 marksNeeds review
Details of ten international cricket games between two teams “Green” and “Blue” are given in Table C. This table consists of matches played on different pitches, across formats along with their winners. The attribute Pitch can take one of two values: spin-friendly (represented as S) or pace-friendly (represented as F). The attribute Format can take one of two values: one-day match (represented as O) or test match (represented as T).
A cricket organization would like to use the information given in Table C to develop a decision-tree model to predict outcomes of future games between these two teams.
To develop such a model, the computed InformationGain(C, Pitch) with respect to the Target is _____ (rounded off to two decimal places).
Table C
Match Number | Pitch | Format | Winner (Target) |
|---|---|---|---|
1 | S | T | Green |
2 | S | T | Blue |
3 | F | O | Blue |
4 | S | O | Blue |
5 | F | T | Green |
6 | F | O | Blue |
7 | S | O | Green |
8 | F | T | Blue |
9 | F | O | Blue |
10 | S | O | Green |
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 63
Open questionDANAT2 marksNeeds review
Given the two-dimensional dataset consisting of 5 data points from two classes (circles and squares) and assume that the Euclidean distance is used to measure the distance between two points. The minimum odd value of
in k-nearest neighbor algorithm for which the diamond (◇) shaped data point is assigned the label square 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