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

GATE 2026

65 questions

MCQ 33 · MSQ 14 · NAT 181-mark 30 · 2-mark 35

Questions 51–55 of 65

Q51SQL2 marksMSQ
Consider a table Employee(EmpID, TeamID), where the column EmpID (ID of an employee) is the primary key. The column TeamID denotes the team ID of the team of which the employee is a member. TeamID is a NOT NULL column.

We want to display the size of the team (denoted as TeamSize) in which each employee is a member by using SQL. As an example, the desired output for the given Employee table is also shown in tabular form.

Which of the following is/are correct?

Employee\textbf{Employee}
EmpIDTeamID182838475769\begin{array}{|c|c|} \hline \text{EmpID} & \text{TeamID} \\ \hline 1 & 8 \\ \hline 2 & 8 \\ \hline 3 & 8 \\ \hline 4 & 7 \\ \hline 5 & 7 \\ \hline 6 & 9 \\ \hline \end{array}

Output\textbf{Output}
EmpIDTeamSize132333425261\begin{array}{|c|c|} \hline \text{EmpID} & \text{TeamSize} \\ \hline 1 & 3 \\ \hline 2 & 3 \\ \hline 3 & 3 \\ \hline 4 & 2 \\ \hline 5 & 2 \\ \hline 6 & 1 \\ \hline \end{array}

One or more options are correct.

Q52Matrices and Determinants2 marksMSQ
Let M=(In−1n11T)M=\left(I_{n}-\frac{1}{n} \mathbf{1 1}^{T}\right) be a matrix, where 1=(1,1,1,…,1)T∈Rn\mathbf{1}=(1,1,1, \ldots, 1)^{T} \in \mathbb{R}^{n} and InI_{n} is the identity matrix of order nn.

Which of the following options is/are correct?

One or more options are correct.

Q53Sampling Distributions and Hypothesis Testing2 marksMSQ
Let X1,X2,…,XnX_{1}, X_{2}, \ldots, X_{n} be nn independent random variables. Each of the random variables follows Normal⁡(μ=0,σ2=1)\operatorname{Normal}\left(\mu=0, \sigma^{2}=1\right) distribution. Define Xˉ=1n∑i=1nXi\bar{X}=\frac{1}{n} \sum_{i=1}^{n} X_{i}.

Which of the following statements is/are correct?

One or more options are correct.

Q54Random Variables and Distributions2 marksMSQ
Let XX be a discrete valued random variable with cumulative distribution function F(x)F(x).

Which of the following statements is/are correct?

One or more options are correct.

Q55Regression2 marksNAT
Consider that Linear Ridge Regression is being used to learn a prediction function ypred =wTxy_{\text {pred }}=w^{T} x, where w,x∈R2w, x \in \mathbb{R}^{2} and Mean Absolute Error (MAE) is used to measure the prediction error. A weight of 0.200.20 is associated with the regularizer.

At an intermediate step of the training process, assume that the parameter w=[−3.00,4.00]Tw= [-3.00,4.00]^{T}. In the next step, for the input x=[1.00,2.00]Tx=[1.00,2.00]^{T}, the predicted value of yy is noted. Let the relation between x=[x1,x2]Tx=\left[x_{1}, x_{2}\right]^{T} and the true value of yy be ytrue =x1+x2y_{\text {true }}=x_{1}+x_{2}.

The value of the overall regularized loss function for this instance is ________. (Rounded off to two decimal places)