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

GATE 2025

65 questions

MCQ 35 · MSQ 18 · NAT 121-mark 30 · 2-mark 35

Questions 26–30 of 65

Q26Reasoning Under Uncertainty1 markMSQ
Which of the following statements is/are correct in a Bayesian network?

One or more options are correct.

Q27Linear and Binary Search1 markMSQ
For which of the following inputs does binary search take time O(log⁡n)O(\log n) in the worst case?

One or more options are correct.

Q28Eigenvalues, Eigenvectors and Quadratic Forms1 markMSQ
Let A=In+xxTA = I_n + xx^T, where InI_n is the n×nn \times n identity matrix and x∈Rn,xTx=1x \in \mathbb{R}^n, x^T x = 1. Which of the following options is/are correct?

One or more options are correct.

Q29Sorting and Divide and Conquer1 markMSQ
Suppose that insertion sort is applied to the array [1,3,5,7,9,11,x,15,13][1, 3, 5, 7, 9, 11, x, 15, 13] and it takes exactly two swaps to sort the array. Select all possible values of xx.

One or more options are correct.

Q30Clustering1 markMSQ
Let C1C_1 and C2C_2 be two sets of objects. Let D(x,y)D(x, y) be a measure of dissimilarity between two objects xx and yy. Consider the following definitions of dissimilarity between C1C_1 and C2C_2.

DIS-1(C1,C2)=max⁡x∈C1,y∈C2D(x,y)\text{DIS-1}(C_1, C_2) = \max_{x \in C_1, y \in C_2} D(x, y)
DIS-2(C1,C2)=min⁡x∈C1,y∈C2D(x,y)\text{DIS-2}(C_1, C_2) = \min_{x \in C_1, y \in C_2} D(x, y)

Which of the following statements is/are correct?

One or more options are correct.