GATE 2024 Data Science and Artificial Intelligence (DA) Questions with Solutions

GATE 2024

64 questions

MCQ 36 · MSQ 12 · NAT 161-mark 29 · 2-mark 35

Questions 41–45 of 64

Q42Clustering2 marksMCQ−0.67 if wrong
Consider the table below, where the (i,j)th (i, j)^{\text {th }} element of the table is the distance between points xix_{i} and xjx_{j}. Single linkage clustering is performed on data points, x1,x2,x3,x4,x5x_{1}, x_{2}, x_{3}, x_{4}, x_{5}.

x1x2x3x4x5x101436x210353x343025x435201x563510\begin{array}{|c|c|c|c|c|c|} \hline & x_{1} & x_{2} & x_{3} & x_{4} & x_{5} \\ \hline x_{1} & 0 & 1 & 4 & 3 & 6 \\ \hline x_{2} & 1 & 0 & 3 & 5 & 3 \\ \hline x_{3} & 4 & 3 & 0 & 2 & 5 \\ \hline x_{4} & 3 & 5 & 2 & 0 & 1 \\ \hline x_{5} & 6 & 3 & 5 & 1 & 0 \\ \hline \end{array}

Which ONE of the following is the correct representation of the clusters produced?

(A) (C) (B) (D) x1 x2 x3 x4 x5 x1 x2 x3 x4 x5 x1 x2 x3 x4 x5 x1 x2 x3 x4 x5

Q43Neural Networks2 marksMCQ−0.67 if wrong
Consider the two neural networks (NNs) shown in Figures 1 and 2, with ReLU⁡\operatorname{ReLU} activation (ReLU⁡(z)=max⁡{0,z},∀z∈R(\operatorname{ReLU}(z)=\max \{0, z\}, \forall z \in \mathbb{R} ). R\mathbb{R} 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 p,q,rp, q, r in Figure 2 are the two NNs equivalent, when x1,x2,x3x_1,x_2,x_3 are positive?

Figure 1 Figure 2 x1 x2 x3 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 x1 x2 x3 p q r

Q44Uninformed and Informed Search2 marksMCQ−0.67 if wrong
Consider a state space where the start state is number 1. The successor function for the state numbered nn returns two states numbered n+1n+1 and n+2n+2. Assume that the states in the unexpanded state list are expanded in the ascending order of numbers and the previously expanded states are not added to the unexpanded state list.
Which ONE of the following statements about breadth-first search (BFS) and depth-first search (DFS) is true, when reaching the goal state number 6?

Q45Sorting and Divide and Conquer2 marksMCQ−0.67 if wrong
Consider the following sorting algorithms:

(i) Bubble sort
(ii) Insertion sort
(iii) Selection sort

Which ONE among the following choices of sorting algorithms sorts the numbers in the array [4,3,2,1,5][4,3,2,1,5] in increasing order after exactly two passes over the array?

Q46Functional Dependencies and Normal Forms2 marksMSQ
Given the relational schema R=(U,V,W,X,Y,Z)R=(U, V, W, X, Y, Z) and the set of functional dependencies:

{U→V,U→W,WX→Y,WX→Z,V→X}\{U \rightarrow V, U \rightarrow W, W X \rightarrow Y, W X \rightarrow Z, V \rightarrow X\}

Which of the following functional dependencies can be derived from the above set?

One or more options are correct.