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 21–25 of 65

Q21Random Variables and Distributions1 markMCQ−0.33 if wrong
It is given that P(X≥2)=0.25P(X \geq 2) = 0.25 for an exponentially distributed random variable XX with E[X]=1λE[X] = \frac{1}{\lambda}, where E[X]E[X] denotes the expectation of XX. What is the value of λ\lambda?
(ln⁡\ln denotes natural logarithm)

Q22Classification1 markMCQ−0.33 if wrong
Consider designing a linear classifier

y=sign(f(x;w,b)),f(x;w,b)=wTx+by = \text{sign}(f(x; w, b)), \quad f(x; w, b) = w^T x + b

on a dataset D={(x1,y1),(x2,y2),…,(xN,yN)}D = \{(x_1, y_1), (x_2, y_2), \dots, (x_N, y_N)\}, xi∈Rd,yi∈{+1,−1},i=1,2,…,Nx_i \in \mathbb{R}^d, y_i \in \{+1, -1\}, i = 1, 2, \dots, N. Recall that the sign function outputs +1 if the argument is positive, and −1 if the argument is non-positive. The parameters ww and bb are updated as per the following training algorithm:

wnew=wold+ynxn,bnew=bold+ynw_{\text{new}} = w_{\text{old}} + y_n x_n, \quad b_{\text{new}} = b_{\text{old}} + y_n

whenever sign(f(xn;wold,bold))≠yn\text{sign}(f(x_n; w_{\text{old}}, b_{\text{old}})) \neq y_n. In other words, whenever the classifier wrongly predicts a sample (xn,yn)(x_n, y_n) from the dataset, woldw_{\text{old}} gets updated to wneww_{\text{new}}, and likewise boldb_{\text{old}} gets updated to bnewb_{\text{new}}. Consider the case (xn,+1)(x_n, +1), f(xn;wold,bold)<0f(x_n; w_{\text{old}}, b_{\text{old}}) < 0. Then

Q23Programming in Python1 markMCQ−0.33 if wrong
Consider the following Python declarations of two lists:

A=[1,2,3],B=[4,5,6]A = [1, 2, 3], \quad B = [4, 5, 6]

Which one of the following statements results in A=[1,2,3,4,5,6]A = [1, 2, 3, 4, 5, 6]?

Q24Limits, Continuity and Differentiability1 markMSQ
Consider two functions f:R→Rf : \mathbb{R} \to \mathbb{R} and g:R→(1,∞)g : \mathbb{R} \to (1, \infty). Both functions are differentiable at a point cc. Which of the following functions is/are ALWAYS differentiable at cc? The symbol ⋅\cdot denotes product and the symbol ∘\circ denotes composition of functions.

One or more options are correct.

Q25Vector Spaces, Rank and Nullity1 markMSQ
Which of the following statements is/are correct?

One or more options are correct.