Exam Details
Data Science and Artificial Intelligence (DA) 2026
Review the key details, then start the test when you are ready. You can also open the full package to see related papers.
Questions
65
Duration
180 mins
Total Marks
100
Paper pattern & analysis
Available question types, difficulty and classifications for this paper.
Topic distribution
Subtopic distribution
Difficulty distribution
65questions
Easy
33
50.8%
Medium
32
49.2%
Question type distribution
65questions
MCQ
35
53.8%
Numerical Answer Type (NAT)
18
27.7%
MSQ
12
18.5%
Practise paper questions
Choose your answer to check it. Log in to view the explanation. For a timed attempt and result, start the exam.
PYP
Data Science and Artificial Intelligence (DA) 2026
Verbosity : Brevity :: Insolence : _________
Choose the word that best fills the blank.
Choose the word that best fills the blank.
PYP
Data Science and Artificial Intelligence (DA) 2026
The product of the digits of a three-digit number is 70. The sum of the digits of this three-digit number is _____
PYP
Data Science and Artificial Intelligence (DA) 2026
The four pieces of a puzzle are shown in the figure below.
Which one of the figures labelled as P, Q, R, and S can be constructed by using each of the four pieces only once without overlaps?
Which one of the figures labelled as P, Q, R, and S can be constructed by using each of the four pieces only once without overlaps?

PYP
Data Science and Artificial Intelligence (DA) 2026
Consider two distinct positive real numbers \(m, n\), with \(m > n\). Let \(x = n^{\log_{10}(m)}\) and \(y = m^{\log_{10}(n)}\). The relation between \(x\) and \(y\) is _____.
PYP
Data Science and Artificial Intelligence (DA) 2026
'If his latest movie had been a commercial success, the actor would have made enough money to sponsor his next movie.' Based only on the above sentence, which one of the following statements is true?
PYP
Data Science and Artificial Intelligence (DA) 2026
'My friend and I parted __ the door __ the cabin that I had rented __ the night.' Choose the option with the correct sequence of words to fill the blanks.
PYP
Data Science and Artificial Intelligence (DA) 2026
Five integers are picked from 0 to 20, with possible repetitions, such that their mean is 12, median is 18, and they have a single mode of 20. Ignoring permutations, the number of ways to pick these five integers is ____
PYP
Data Science and Artificial Intelligence (DA) 2026
Rishi and Swathi are students of Class 5. Pavan and Tanvi are students of Class 4. Rishi and Pavan are boys. Swathi and Tanvi are girls. The four students played a total of three games of chess. The games were played one after another. A player who lost a game did not participate in any more games. It was observed that:
(i) the first game was the only game where two students of the same class played against each other,
(ii) the students of Class 5 won more games than the students of Class 4, and
(iii) the boys won two games and the girls won one game.
The student who did not lose any game is ________.
(i) the first game was the only game where two students of the same class played against each other,
(ii) the students of Class 5 won more games than the students of Class 4, and
(iii) the boys won two games and the girls won one game.
The student who did not lose any game is ________.
PYP
Data Science and Artificial Intelligence (DA) 2026
\( P, Q, R, S, X, \) and \( Y \) are distinct single-digit whole numbers taking values from 0 to 9.
\( PQ \) is a two-digit number with \( Q \) being in the units place and \( P \) in the tens place. Similarly, \( RS \) is a two-digit number.
It is known that \( PQ \) and \( RS \) are consecutive numbers and \( (PQ)^2 + (RS)^2 = XYP \), with \( XYP \) being a three-digit number.
The value of \( Y \) is ________.
\( PQ \) is a two-digit number with \( Q \) being in the units place and \( P \) in the tens place. Similarly, \( RS \) is a two-digit number.
It is known that \( PQ \) and \( RS \) are consecutive numbers and \( (PQ)^2 + (RS)^2 = XYP \), with \( XYP \) being a three-digit number.
The value of \( Y \) is ________.
PYP
Data Science and Artificial Intelligence (DA) 2026
In the given figure, \( P \), \( Q \), and \( R \) are three points on a circle of radius 10 cm with \( O \) as its center, \( PQ = RQ \), and \( \angle PQR = 45^\circ \). The figure is representative. The area of the shaded region \( PQRO \) is __________ cm².
PYP
Data Science and Artificial Intelligence (DA) 2026
For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from 100 to 10.
Which of the following options is true about the angle \( \theta \) between the first and the tenth principal components?
Which of the following options is true about the angle \( \theta \) between the first and the tenth principal components?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider that you are training a classifier for a 10-class classification problem. Each input is represented as a 512-dimensional vector. There are 1000 samples, out of which first 100 will be used for testing. Let Leave-One-Out-Cross-Validation (LOOCV) be used for selection of the classifier model before testing. Which of the following options is the correct number of validation splits that will be generated?
PYP
Data Science and Artificial Intelligence (DA) 2026
Which of the following algorithms is NOT an example of uninformed search?
PYP
Data Science and Artificial Intelligence (DA) 2026
Which of the following statements is NOT true?
(The names of the predicates are intuitive.)
(The names of the predicates are intuitive.)
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider that the quick sort algorithm is used to sort an array of \(n\) distinct randomly ordered elements. In every call, the pivot is chosen as the first element of the current subarray.
Let \(T(n)\) denote the expected time to sort the array. Assume that the time to partition is linear in the size of the current subarray.
Which of the following recurrence relations correctly represents \(T(n)\) in this scenario?
Let \(T(n)\) denote the expected time to sort the array. Assume that the time to partition is linear in the size of the current subarray.
Which of the following recurrence relations correctly represents \(T(n)\) in this scenario?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the given Python program.
def append_to_lst(val, lst=[]):
lst.append(val)
return lst
print(append_to_lst(1))
print(append_to_lst(2))
print(append_to_lst(3, []))
Which of the following is the correct output of this program?
def append_to_lst(val, lst=[]):
lst.append(val)
return lst
print(append_to_lst(1))
print(append_to_lst(2))
print(append_to_lst(3, []))
Which of the following is the correct output of this program?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let R(A, B, C, D, E) be a relational schema with functional dependency set F={A→BC, CD→E, E→A}.
Which of the following statements is correct?
Which of the following statements is correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider that the visualization of a 3-dimensional data cube is showing Sales Quantity for each combination of the attributes Product Type, Month and Country.
From this, if we want to further visualize the Sales Quantity for each combination of Product Type, Month and State, which of the following OLAP operations should be performed?
From this, if we want to further visualize the Sales Quantity for each combination of Product Type, Month and State, which of the following OLAP operations should be performed?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( M \) be a randomly chosen non-empty subset of \( S = \{1,2,3, \dots, 2026\} \).
Which of the following is the probability that the product of all the elements of \( M \) is even?
Which of the following is the probability that the product of all the elements of \( M \) is even?
PYP
Data Science and Artificial Intelligence (DA) 2026
Suppose that a computer program provides a non-negative and integer-valued random solution to the equation \( n_1 + n_2 + n_3 + n_4 = 20 \).
Which of the following is the probability that all of \( n_1, n_2, n_3, n_4 \) in the provided solution are positive?
Which of the following is the probability that all of \( n_1, n_2, n_3, n_4 \) in the provided solution are positive?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( M = \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix} \) be a \( 2 \times 2 \) matrix, where \( \theta = \frac{2\pi}{5} \), and \( I_2 = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} \).
Which of the following options is equal to \( M^{2026} \)?
Which of the following options is equal to \( M^{2026} \)?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider a set \( S_1 = \{ x = (x_1, x_2, x_3)^T \in \mathbb{R}^3 \mid x^T x \le 16 \} \). Let \( S_2 \) be another set which is a subspace of \( \mathbb{R}^3 \) with dimension two.
Which of the following gives the area of \( S_1 \cap S_2 \)?
Which of the following gives the area of \( S_1 \cap S_2 \)?
PYP
Data Science and Artificial Intelligence (DA) 2026
In the following table, the Task column lists a few tasks related to machine learning. The Algorithm column lists a few algorithms.
Each entry “t” from the Task column is to be matched with an appropriate entry “a” from the Algorithm column such that the task “t” can be solved using the algorithm “a”. Denote such a match as t : a
Which of the following options is/are the correct matching(s)?
Each entry “t” from the Task column is to be matched with an appropriate entry “a” from the Algorithm column such that the task “t” can be solved using the algorithm “a”. Denote such a match as t : a
| Task | Algorithm |
|---|---|
| T1 – Clustering | A1 – Markov Chain Monte Carlo |
| T2 – Classification | A2 – K-Medoid |
| T3 – Sampling | A3 – Linear Discriminant Analysis |
| T4 – Feature Extraction | A4 – Naive Bayes |
Which of the following options is/are the correct matching(s)?
PYP
Data Science and Artificial Intelligence (DA) 2026
Sentence X is said to entail Sentence Y if whenever X is TRUE, Y also must hold TRUE.
Which of the following statements is/are correct if X entails Y?
Which of the following statements is/are correct if X entails Y?
PYP
Data Science and Artificial Intelligence (DA) 2026
You are given the following Pre-order and In-order traversals of a Binary Tree T with nodes E, F, G, P, Q, R, S.
Pre-order: P Q S E R F G
In-order: S Q E P F R G
Which of the following statements is/are true about the Binary Tree T?
Pre-order: P Q S E R F G
In-order: S Q E P F R G
Which of the following statements is/are true about the Binary Tree T?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider two relations r and s defined on the relational schemas R(A, B) and S(E, C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
Which of the following operations will NEVER violate the foreign key constraint?
Which of the following operations will NEVER violate the foreign key constraint?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( f(x) = x^3 - 3x^2 + 2 \) be a function defined on \( (-1, 3] \).
Which of the following statements is/are correct?
Which of the following statements is/are correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Suppose a random variable $Z$ follows $Normal(\mu = 0, \sigma^2 = 1)$ distribution with probability density function $g(z)$ and cumulative distribution function $G(z)$.
Another random variable $Y$ follows $t_1$ distribution with probability density function $h(y)$ and cumulative distribution function $H(y)$. Let $c$ be the positive real number for which $g(c) = h(c)$.
Which of the following statements is/are correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider that for a supervised learning task, the objective function being minimized is $f_w(x) = wx$, where $x \in \mathbb{R}$ is the input and $w \in \mathbb{R}$ is the parameter.
Stochastic Gradient Descent with learning rate of 0.10 is used for parameter updates.
Suppose that at the end of iteration $t$, the value of $w$ becomes 10.00.
Let $x = 10.00$ be the input for iteration $(t+1)$.
The value of $w$ at the end of iteration $(t+1)$ is ________. (Rounded off to two decimal places)
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the game tree for a two-player turn-taking minimax game as shown in the figure. The value of a terminal node represents the utility of the game state if the game ends there. The numbers written next to the edges denote the strategies.
There are two players MAX and MIN. At any particular state of the game, MAX prefers to move to a state of maximum value. On the other hand, MIN prefers to move to a state of minimum value.
Suppose MAX starts the game at the root and has three strategies: 1, 2 and 3.
Next, MIN plays and also has three strategies: 1, 2 and 3. The game ends there.
Both players always take optimal strategies throughout the game.
At the root, the best strategy for MAX is ________. (Answer in integer)

PYP
Data Science and Artificial Intelligence (DA) 2026
Let A be a sorted array containing 1000 distinct integers. You perform a recursive binary search on A to find an element y. Suppose each comparison checks whether the middle element computed during the current recursive step is equal to, less than, or greater than y.
The maximum number of comparisons that may have to be performed if y is not an element of A is ________. (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
In a relational database, a B+ Tree Index is to be constructed for a relation on a key field. In a B+ Tree, a Node Pointer points to a sub-tree and a Data Record Pointer points to a block of database records.
Let, Node size = 4096 bytes, Node Pointer size = 10 bytes, Search Key Field size = 11 bytes and Data Record Pointer size = 12 bytes.
The maximum number of Node Pointers that can be present in a non-leaf node of the B+ Tree is __________. (Answer in integer)
Let, Node size = 4096 bytes, Node Pointer size = 10 bytes, Search Key Field size = 11 bytes and Data Record Pointer size = 12 bytes.
The maximum number of Node Pointers that can be present in a non-leaf node of the B+ Tree is __________. (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
The number of bijections \( f(\cdot) \) from the set \( S = \{1, 2, 3, 4\} \) to itself such that \( f(f(n)) = n \), for all \( n \in S \), is __________. (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( X \) be an exponentially distributed random variable with mean \( \lambda (> 0) \). If \( P(X > 5) = 0.35 \), then the conditional probability \( P(X > 10 | X > 5) \) is __________. (Rounded off to two decimal places)
PYP
Data Science and Artificial Intelligence (DA) 2026
The value of \( \sum_{i=0}^{\infty} \sum_{j=1}^{\infty} 2^{-i} 3^{-j} \) is __________. (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let four points in three-dimensional space be:
P1: \( [2, 3, -1] \), P2: \( [3, 1, 1] \), P3: \( [5, -2, 3] \) and P4: \( [3, 3, 3] \).
Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
P1: \( [2, 3, -1] \), P2: \( [3, 1, 1] \), P3: \( [5, -2, 3] \) and P4: \( [3, 3, 3] \).
Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
PYP
Data Science and Artificial Intelligence (DA) 2026
Which of the following statements is true for Ridge Regression?
PYP
Data Science and Artificial Intelligence (DA) 2026
Assume that a Creative (\(C\)) person will Succeed (\(S\)) if the person is also Disciplined (\(D\)), but will not succeed otherwise. Now, consider the following statements:
(i) \(C \land S \Leftrightarrow D\)
(ii) \(C \Rightarrow (S \Leftrightarrow D)\)
(iii) \(C \Leftrightarrow ((D \Rightarrow S) \lor \neg S)\)
Which of the following options is correct?
(i) \(C \land S \Leftrightarrow D\)
(ii) \(C \Rightarrow (S \Leftrightarrow D)\)
(iii) \(C \Leftrightarrow ((D \Rightarrow S) \lor \neg S)\)
Which of the following options is correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
A recursive function in Python is given.
def mystery(n):
if n return 1
else:
return mystery(n-1) + mystery(n-2)Now, consider the following function call:
mystery(4)
Assume that a typical runtime stack is used to manage function calls. Each function call is pushed onto the stack and removed only after it finishes execution.
Which of the following options denotes the total number of function calls (i.e., the total number of stack activations), including the initial call, to compute mystery(4)?
def mystery(n):
if n return 1
else:
return mystery(n-1) + mystery(n-2)Now, consider the following function call:
mystery(4)
Assume that a typical runtime stack is used to manage function calls. Each function call is pushed onto the stack and removed only after it finishes execution.
Which of the following options denotes the total number of function calls (i.e., the total number of stack activations), including the initial call, to compute mystery(4)?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider a directed graph G = (V, E), where V is the finite set of vertices and E is the set of directed edges between the vertices. G may contain cycles but there is no self-loop. Further, G may not be strongly connected.
Let GR be the graph obtained by reversing the directions of all the edges in G without changing the set of vertices.
Assume that Breadth First Search (BFS) or Depth First Search (DFS) from any given vertex v of a graph visits only the reachable vertices from v in that graph.
Which of the following statements must always be true, regardless of the structure of G?
Let GR be the graph obtained by reversing the directions of all the edges in G without changing the set of vertices.
Assume that Breadth First Search (BFS) or Depth First Search (DFS) from any given vertex v of a graph visits only the reachable vertices from v in that graph.
Which of the following statements must always be true, regardless of the structure of G?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider a B+ Tree where the maximum number of key values in each leaf node is 2 and the maximum number of pointers in each non-leaf node is 3. Let the content of the B+ Tree be as shown in the figure.
Which of the following options denotes the key value(s) stored in the root node after inserting a key value 3 in the given B+ Tree?
Which of the following options denotes the key value(s) stored in the root node after inserting a key value 3 in the given B+ Tree?

PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the given relations \(X\), \(Y\) and \(Z\). The relation \(X\) has three columns \(P\), \(Q\) and \(R\). The relation \(Y\) has three columns \(P\), \(Q\) and \(S\). The relation \(Z\) has two columns \(P\) and \(T\).
Consider the relational algebra expression
\[\Pi_{PRS}\left[\left(\sigma_{Q = Q3 \vee R = R2}[X] \bowtie Y\right) \bowtie \left(\sigma_{(S > 1)}[Y \bowtie Z]\right)\right]\]
where \(\bowtie\) denotes natural join operation.
Which of the following options is the correct output for the given expression?
| X | ||
|---|---|---|
| P | Q | R |
| P1 | Q1 | R1 |
| P2 | Q2 | R2 |
| P3 | Q3 | R2 |
| Y | ||
|---|---|---|
| P | Q | S |
| P1 | Q1 | 2 |
| P1 | Q2 | 5 |
| P2 | Q1 | 6 |
| P3 | Q3 | 1 |
| Z | |
|---|---|
| P | T |
| P1 | T1 |
| P3 | T2 |
| P4 | T3 |
| P4 | NULL |
Consider the relational algebra expression
\[\Pi_{PRS}\left[\left(\sigma_{Q = Q3 \vee R = R2}[X] \bowtie Y\right) \bowtie \left(\sigma_{(S > 1)}[Y \bowtie Z]\right)\right]\]
where \(\bowtie\) denotes natural join operation.
Which of the following options is the correct output for the given expression?

PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the concept hierarchies as shown in the figure.
Which of the following options denotes the total number of possible data cuboids from these concept hierarchies?
Which of the following options denotes the total number of possible data cuboids from these concept hierarchies?

PYP
Data Science and Artificial Intelligence (DA) 2026
Let \(X\) and \(Y\) be two independent random variables. \(X\) follows \(Bernoulli(p = 0.3)\) distribution and \(Y\) follows \(Normal(\mu = 0, \sigma^2 = 100)\) distribution.
Which of the following options is the variance of \((2X - 1)Y\)?
Which of the following options is the variance of \((2X - 1)Y\)?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( L = \lim_{n \to \infty} \sum_{k=0}^{n} \frac{e^{-n} n^k}{k!} \)
Which of the following is the value of \(L\)?
Which of the following is the value of \(L\)?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \(\gamma_1, \gamma_2, \gamma_3\) be the eigenvalues of the matrix \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & \cos t & \sin t \\ 0 & -\sin t & \cos t \end{bmatrix}\), where \(t \in [-\pi, \pi]\) is in radians.
Which one of the following options lists all the possible values of \(t\) satisfying \(\gamma_1 + \gamma_2 + \gamma_3 = 1 + \sqrt{2}\)?
Which one of the following options lists all the possible values of \(t\) satisfying \(\gamma_1 + \gamma_2 + \gamma_3 = 1 + \sqrt{2}\)?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X’s stories, 6 were classified as that of Y. On the other hand, out of Y’s stories, 2 were classified as that of X.
Considering X and Y as two classes, which of the following statements is/are true?
Considering X and Y as two classes, which of the following statements is/are true?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( P(x) \) be a predicate.
Which of the following statements is/are NOT valid in first-order logic?
Which of the following statements is/are NOT valid in first-order logic?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the problem of sorting the given array in ascending order:
\( P = [1, 2, 3, 5, 4] \)
Consider two sorting algorithms Bubble Sort (BS) and Insertion Sort (IS).
Let N1 be the total number of comparisons done by BS on the elements of P and N2 be the total number of comparisons done by IS on the elements of P.
Which of the following options is/are correct?
\( P = [1, 2, 3, 5, 4] \)
Consider two sorting algorithms Bubble Sort (BS) and Insertion Sort (IS).
Let N1 be the total number of comparisons done by BS on the elements of P and N2 be the total number of comparisons done by IS on the elements of P.
Which of the following options is/are correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the given Python program.
def outer():
x = []
def inner(val):
x.append(val)
return x
return inner
f1 = outer()
f2 = outer()
print(f1(10)) # Line P
print(f1(20)) # Line Q
print(f2(30)) # Line R
print(f1(40)) # Line S
Which of the following options is/are correct?
def outer():
x = []
def inner(val):
x.append(val)
return x
return inner
f1 = outer()
f2 = outer()
print(f1(10)) # Line P
print(f1(20)) # Line Q
print(f2(30)) # Line R
print(f1(40)) # Line S
Which of the following options is/are correct?

PYP
Data Science and Artificial Intelligence (DA) 2026
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?
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?

PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( M = (I_n - \frac{1}{n} \mathbf{1} \mathbf{1}^T) \) be a matrix, where \( \mathbf{1} = (1,1,1,...,1)^T \in \mathbb{R}^n \) and \( I_n \) is the identity matrix of order \( n \).
Which of the following options is/are correct?
Which of the following options is/are correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( X_1, X_2, ..., X_n \) be \( n \) independent random variables. Each of the random variables follows \( Normal(\mu = 0, \sigma^2 = 1) \) distribution. Define \( \bar{X} = \frac{1}{n} \sum_{i=1}^n X_i \).
Which of the following statements is/are correct?
Which of the following statements is/are correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Let \( X \) be a discrete valued random variable with cumulative distribution function \( F(x) \).
Which of the following statements is/are correct?
Which of the following statements is/are correct?
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider that Linear Ridge Regression is being used to learn a prediction function \( y_{pred} = w^T x \), where \( w, x \in \mathbb{R}^2 \) and Mean Absolute Error (MAE) is used to measure the prediction error. A weight of 0.20 is associated with the regularizer.
At an intermediate step of the training process, assume that the parameter \( w = [-3.00, 4.00]^T \). In the next step, for the input \( x = [1.00, 2.00]^T \), the predicted value of \( y \) is noted. Let the relation between \( x = [x_1, x_2]^T \) and the true value of \( y \) be \( y_{true} = x_1 + x_2 \).
The value of the overall regularized loss function for this instance is ______.
(Rounded off to two decimal places)
At an intermediate step of the training process, assume that the parameter \( w = [-3.00, 4.00]^T \). In the next step, for the input \( x = [1.00, 2.00]^T \), the predicted value of \( y \) is noted. Let the relation between \( x = [x_1, x_2]^T \) and the true value of \( y \) be \( y_{true} = x_1 + x_2 \).
The value of the overall regularized loss function for this instance is ______.
(Rounded off to two decimal places)
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider a fully-connected feed-forward multi-layer perceptron. It has 30 neurons in the input layer, followed by two hidden layers and an output layer. The first hidden layer has 4 neurons and the second hidden layer has 3 neurons. The output layer has only one neuron. Assume that no bias parameters are used.
The number of learnable parameters in the multi-layer perceptron is __________ . (Answer in integer)
The number of learnable parameters in the multi-layer perceptron is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
A clinic specializes in testing for a disease D. The result of the test can be either positive or negative.
A study revealed that if a person suffers from the disease D, the test result in that clinic comes out positive 80% of the time, and negative 20% of the time. If a person is not suffering from the disease D, the test comes out positive 10% of the time and negative 90% of the time. It is also known that among the general population, the disease D occurs in 30% of the individuals.
If a person tests positive for D in that clinic, the probability that he/she actually suffers from the disease D is __________ . (Rounded off to two decimal places)
A study revealed that if a person suffers from the disease D, the test result in that clinic comes out positive 80% of the time, and negative 20% of the time. If a person is not suffering from the disease D, the test comes out positive 10% of the time and negative 90% of the time. It is also known that among the general population, the disease D occurs in 30% of the individuals.
If a person tests positive for D in that clinic, the probability that he/she actually suffers from the disease D is __________ . (Rounded off to two decimal places)
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider the given Python program.
def fun(L, i=0):
if i >= len(L)-1:
return 0
if L[i] > L[i+1]:
L[i+1], L[i] = L[i], L[i+1]
return 1+fun(L, i+1)
else:
return fun(L, i+1)
data = [5, 3, 4, 1, 2]
count = 0
for _ in range(len(data)):
count += fun(data)
print(count)
The output of the program is __________ . (Answer in integer)
def fun(L, i=0):
if i >= len(L)-1:
return 0
if L[i] > L[i+1]:
L[i+1], L[i] = L[i], L[i+1]
return 1+fun(L, i+1)
else:
return fun(L, i+1)
data = [5, 3, 4, 1, 2]
count = 0
for _ in range(len(data)):
count += fun(data)
print(count)
The output of the program is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let there be two relations X and Y as shown. X has three columns P, Q and R. Y has two columns P and S.
Consider that the following tuple relational calculus expression is evaluated.
\[ \{t \mid t \in X \land \exists z \in X (t[P] = z[P]) \land \exists m \in Y (m[P] = t[P] \land m[S] > 1)\} \]
The number of tuples that will be returned is __________ . (Answer in integer)
| X | Y | ||||
|---|---|---|---|---|---|
| P | Q | R | P | S | |
| P1 | Q1 | R1 | P1 | 10 | |
| P2 | Q2 | R2 | P1 | 15 | |
| P3 | Q3 | R2 | P2 | 20 | |
| P3 | 1 | ||||
Consider that the following tuple relational calculus expression is evaluated.
\[ \{t \mid t \in X \land \exists z \in X (t[P] = z[P]) \land \exists m \in Y (m[P] = t[P] \land m[S] > 1)\} \]
The number of tuples that will be returned is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let Account be a relation as shown.
Consider the given SQL query.
SELECT AccNo FROM Account AS A
WHERE (SELECT COUNT(*) FROM Account AS B
WHERE A.Balance < B.Balance) >= (SELECT COUNT(*) FROM Account AS C WHERE A.Balance > C.Balance)
The number of rows returned by the SQL query is __________ . (Answer in integer)
| AccNo | Balance |
|---|---|
| A1 | 5000 |
| A2 | 5000 |
| A3 | 10000 |
| A4 | 15000 |
| A5 | 18000 |
Consider the given SQL query.
SELECT AccNo FROM Account AS A
WHERE (SELECT COUNT(*) FROM Account AS B
WHERE A.Balance < B.Balance) >= (SELECT COUNT(*) FROM Account AS C WHERE A.Balance > C.Balance)
The number of rows returned by the SQL query is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Consider an ER model with the entities E1(A11, A12, A13) and E2(A21, A22, A23), where, A11, A12, A13 are the attributes of E1, and A21, A22, A23 are the attributes of E2. Let A22 be a multi-valued attribute. A11 and A21 are the primary keys of E1 and E2, respectively.
Let R12 be a many-to-many relationship between E1 and E2. Participation of both E1 and E2 in R12 is total.
The minimum number of relations required to convert the ER model into relational model (assuming there is no other functional dependency) where each relation is in third normal form (3NF) is __________ . (Answer in integer)
Let R12 be a many-to-many relationship between E1 and E2. Participation of both E1 and E2 in R12 is total.
The minimum number of relations required to convert the ER model into relational model (assuming there is no other functional dependency) where each relation is in third normal form (3NF) is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
For a given data set {x1, x2, ..., xn}, where n = 100, it is known that
\[\frac{1}{2000}\sum_{i=1}^{n}\sum_{j=1}^{n}(x_i - x_j)^2 = 99\]
Let us denote \(\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i\)
The value of \(\frac{1}{99}\sum_{i=1}^{n}(x_i - \bar{x})^2\) is __________ . (Answer in integer)
\[\frac{1}{2000}\sum_{i=1}^{n}\sum_{j=1}^{n}(x_i - x_j)^2 = 99\]
Let us denote \(\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i\)
The value of \(\frac{1}{99}\sum_{i=1}^{n}(x_i - \bar{x})^2\) is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let X be a random variable that follows Uniform(−1,1) distribution. The conditional distribution of the random variable Y given X = x is the Uniform(x² − 0.1, x² + 0.1) distribution.
The value of correlation(X,Y) is __________ . (Answer in integer)
The value of correlation(X,Y) is __________ . (Answer in integer)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let A6×6 be a matrix such that each of its elements follows Bernoulli(p = 0.50) distribution independently.
The probability that the row-sum of the second row and the column-sum of the third column are both equal to 3 is __________ . (Rounded off to two decimal places)
The probability that the row-sum of the second row and the column-sum of the third column are both equal to 3 is __________ . (Rounded off to two decimal places)
PYP
Data Science and Artificial Intelligence (DA) 2026
Let A = \(\left(I_n - \frac{1}{n} \mathbf{1}\mathbf{1}^T\right)\) be a matrix, where \(\mathbf{1} = (1,1,1,...,1)^T \in \mathbb{R}^n\) and In is the identity matrix of order n.
The value of \(\max_{x} x^T A x\), where S = {x ∈ ℝⁿ | x^T x = 1}, is __________ . (Answer in integer)
The value of \(\max_{x} x^T A x\), where S = {x ∈ ℝⁿ | x^T x = 1}, is __________ . (Answer in integer)
Showing 5 of 65 questions