∑GateAndNet
PlannerSign Up

GATE Data Science & Artificial Intelligence (DA) (GATE DA) PYQ & Mock Arena

Practice solved GATE DA MCQ, MSQ & NAT questions or launch a timed CBT mock exam

Showing 39 questionsClick A / B / C / D for instant verification
Q1GATE DA 2027 Expected MSQNatural Language Processing (NLP) & LLMsMSQHARD
+2M • 0 Neg

Which of the following statements about Transformer Self-Attention and Modern LLMs are TRUE?

☑️ Multiple Select Question — pick one or more options, then click Check Answer.
Q2GATE DA 2027 Expected NATLinear Algebra, Calculus & OptimizationNATMEDIUM
+2M • 0 Neg

Let A∈R7×3A \in \mathbb{R}^{7 \times 3} be a matrix with linearly independent columns (rank⁡(A)=3\operatorname{rank}(A) = 3), and let P=A(ATA)−1AT∈R7×7P = A(A^T A)^{-1}A^T \in \mathbb{R}^{7 \times 7} be the orthogonal projection matrix onto Col⁡(A)\operatorname{Col}(A). What is the trace tr⁡(P)\operatorname{tr}(P)?

Q3GATE DA 2027 ExpectedEngineering Mathematics & Discrete MathMCQMEDIUM
+2M • -0.67

Four independent random variables U1,U2,U3,U4U_1, U_2, U_3, U_4 are drawn from Uniform⁡(0,1)\operatorname{Uniform}(0, 1). What is E[max⁡(U1,U2,U3,U4)−min⁡(U1,U2,U3,U4)]\mathbb{E}\big[\max(U_1, U_2, U_3, U_4) - \min(U_1, U_2, U_3, U_4)\big] (the expected sample range)?

⚡ Click an option above to verify instantly
Q4GATE DA PythonPython Programming, Data Structures & AlgorithmsMCQMEDIUM
+2M • -0.67

What is the output of def f(x, a=[]): a.append(x); return len(a) when evaluated as print(f(10), f(20), f(30, []), f(40))?

⚡ Click an option above to verify instantly
Q5GATE DA 2025 PythonPython Programming, Data Structures & AlgorithmsMCQMEDIUM
+2M • -0.67

What is printed by the Python code d = {True: "yes", 1: "one", 1.0: "float"}; print(len(d), d[True])?

⚡ Click an option above to verify instantly
Q6GATE DA 2024 PythonPython Programming, Data Structures & AlgorithmsMCQEASY
+1M • -0.33

What are the values of -7 // 3 and -7 % 3 in Python 3 (compared to -2 and -1 in C/Java)?

⚡ Click an option above to verify instantly
Q7GATE DA Optimization NATLinear Algebra, Calculus & OptimizationNATMEDIUM
+2M • 0 Neg

Consider minimizing the strictly convex quadratic f(x1,x2)=5x12+2x22f(x_1, x_2) = 5x_1^2 + 2x_2^2 using standard Gradient Descent xt+1=xt−η∇f(xt)x_{t+1} = x_t - \eta \nabla f(x_t). What is the strict upper bound ηmax⁡\eta_{\max} on step size η\eta (0<η<ηmax⁡0 < \eta < \eta_{\max}) so Gradient Descent converges from any non-zero start?

Q8GATE DA Linear AlgebraLinear Algebra, Calculus & OptimizationMCQMEDIUM
+2M • -0.67

A matrix A∈R10×8A \in \mathbb{R}^{10 \times 8} has singular values σ1=9,  σ2=5,  σ3=2\sigma_1 = 9,\; \sigma_2 = 5,\; \sigma_3 = 2, and σ4=⋯=σ8=0\sigma_4 = \dots = \sigma_8 = 0. By the Eckart-Young Theorem, what is the minimum Spectral (L2L_2) error min⁡rank⁡(B)≤2∥A−B∥2\min_{\operatorname{rank}(B) \le 2} \|A - B\|_2?

⚡ Click an option above to verify instantly
Q9GATE DA A/B TestingData Science, Statistics & Data WarehousingMCQMEDIUM
+2M • -0.67

In an online A/B test with fixed significance α=0.05\alpha = 0.05 and power 1−β=0.801 - \beta = 0.80, you decide to detect a Minimum Detectable Effect (MDE) half as small (δnew=δ/2\delta_{\text{new}} = \delta / 2). How does the required sample size nn per variant change?

⚡ Click an option above to verify instantly
Q10GATE DA Data LeakageData Science, Statistics & Data WarehousingMCQEASY
+1M • -0.33

Which step in a Data Science pipeline introduces train-test data leakage and produces overly optimistic validation scores?

⚡ Click an option above to verify instantly
Q11GATE DA SQL & WarehousingData Science, Statistics & Data WarehousingMCQEASY
+2M • -0.67

For the ordered score column [100, 95, 95, 90], what sequence of integers is returned by SQL RANK() OVER (ORDER BY score DESC) vs DENSE_RANK() OVER (ORDER BY score DESC)?

⚡ Click an option above to verify instantly
Q12GATE DA Data ScienceData Science, Statistics & Data WarehousingMCQMEDIUM
+2M • -0.67

A dataset feature has quartiles Q1=20Q_1 = 20, Median=32\text{Median} = 32, and Q3=50Q_3 = 50. Under Tukey’s 1.5×IQR1.5 \times \text{IQR} rule, any observation strictly above which upper fence is flagged as an outlier?

⚡ Click an option above to verify instantly
Q13GATE DA StatsData Science, Statistics & Data WarehousingMCQEASY
+1M • -0.33

In classical Frequentist Hypothesis Testing, Rejecting a True Null Hypothesis (H0H_0) and Failing to Reject a False Null Hypothesis (H0H_0) are respectively called:

⚡ Click an option above to verify instantly
Q14GATE DA StatsData Science, Statistics & Data WarehousingMCQMEDIUM
+2M • -0.67

A biased coin with Heads probability θ\theta has prior θ∼Beta⁡(2,2)\theta \sim \operatorname{Beta}(2, 2). In n=6n = 6 independent tosses, you observe k=5k = 5 Heads and 11 Tail. What are θ^MLE\hat{\theta}_{\text{MLE}} and θ^MAP\hat{\theta}_{\text{MAP}}?

⚡ Click an option above to verify instantly
Q15GATE DA RLArtificial Intelligence, Reasoning & RLMCQEASY
+1M • -0.33

An agent receives a constant reward of r=+3r = +3 on every step (t=0,1,2,…t = 0, 1, 2, \dots) forever in an infinite-horizon MDP with discount factor γ=0.75\gamma = 0.75. What is the total discounted return G0=∑k=0∞γkrG_0 = \sum_{k=0}^\infty \gamma^k r?

⚡ Click an option above to verify instantly
Q16GATE DA RLArtificial Intelligence, Reasoning & RLMCQMEDIUM
+2M • -0.67

In tabular Q-Learning with learning rate α=0.5\alpha = 0.5 and discount factor γ=0.8\gamma = 0.8, suppose Q(s1,a1)=4.0Q(s_1, a_1) = 4.0. Taking action a1a_1 in s1s_1 yields immediate reward r=6.0r = 6.0 and transitions to s2s_2, where max⁡a′Q(s2,a′)=10.0\max_{a'} Q(s_2, a') = 10.0. What is the updated Q(s1,a1)Q(s_1, a_1)?

⚡ Click an option above to verify instantly
Q17UGC NET / GATE FOLArtificial Intelligence, Reasoning & RLMCQMEDIUM
+2M • -0.67

What is the Most General Unifier (MGU) of the two First-Order Logic atomic literals P(f(x),  y)P(f(x),\; y) and P(f(g(z)),  g(x))P(f(g(z)),\; g(x))?

⚡ Click an option above to verify instantly
Q18GATE DA Bayes NetArtificial Intelligence, Reasoning & RLMCQMEDIUM
+2M • -0.67

In the collider (V-structure) Bayesian Network X→Z←YX \to Z \leftarrow Y with child Z→WZ \to W, under which conditioning set are XX and YY guaranteed conditionally independent?

⚡ Click an option above to verify instantly
Q19GATE DA Bayes NetArtificial Intelligence, Reasoning & RLMCQMEDIUM
+2M • -0.67

Consider a Bayesian Network over 55 binary random variables with structure A→C←BA \to C \leftarrow B and C→D,  C→EC \to D,\; C \to E. How many independent probability parameters are required to specify all Conditional Probability Tables (CPTs)?

⚡ Click an option above to verify instantly
Q20GATE DA CSPArtificial Intelligence, Reasoning & RLMCQEASY
+1M • -0.33

When solving a Constraint Satisfaction Problem (CSP), why is MRV (Minimum Remaining Values) used for choosing the next variable while LCV (Least Constraining Value) is used for ordering its values?

⚡ Click an option above to verify instantly