GATE DA 2026 question paper with solutions
All 65 questions of the GATE 2026 Data Science and Artificial Intelligence paper, in order, with the official answer key from IIT Guwahati.
Download the solved paper (PDF, 2.3 MB)- questions · 100 marks
- 65questions · 100 marks
- official answer key
- IIT Guwahatiofficial answer key
- question types
- 33 MCQ · 14 MSQ · 18 NATquestion types
GATE DA 2026 answer key
| Question | Type | Marks | Answer |
|---|---|---|---|
| Q.1 | MCQ | 1 | B |
| Q.2 | MCQ | 1 | B |
| Q.3 | MCQ | 1 | A |
| Q.4 | MCQ | 1 | C |
| Q.5 | MCQ | 1 | D |
| Q.6 | MCQ | 2 | A |
| Q.7 | MCQ | 2 | B |
| Q.8 | MCQ | 2 | D |
| Q.9 | MCQ | 2 | C |
| Q.10 | MCQ | 2 | C |
| Q.11 | MCQ | 1 | B |
| Q.12 | MCQ | 1 | C |
| Q.13 | MCQ | 1 | C |
| Q.14 | MCQ | 1 | C |
| Q.15 | MCQ | 1 | D |
| Q.16 | MCQ | 1 | B |
| Q.17 | MCQ | 1 | A |
| Q.18 | MCQ | 1 | D |
| Q.19 | MCQ | 1 | C |
| Q.20 | MCQ | 1 | A |
| Q.21 | MCQ | 1 | B |
| Q.22 | MCQ | 1 | A |
| Q.23 | MSQ | 1 | B |
| Q.24 | MSQ | 1 | A, B, C |
| Q.25 | MSQ | 1 | A, B |
| Q.26 | MSQ | 1 | A, B |
| Q.27 | MSQ | 1 | B, D |
| Q.28 | MSQ | 1 | A, C |
| Q.29 | NAT | 1 | 8.90 to 9.10 |
| Q.30 | NAT | 1 | 2 |
| Q.31 | NAT | 1 | 10 |
| Q.32 | NAT | 1 | 195 |
| Q.33 | NAT | 1 | 10 |
| Q.34 | NAT | 1 | 0.34 to 0.36 |
| Q.35 | NAT | 1 | 1 |
| Q.36 | MCQ | 2 | D |
| Q.37 | MCQ | 2 | D |
| Q.38 | MCQ | 2 | B |
| Q.39 | MCQ | 2 | C |
| Q.40 | MCQ | 2 | D |
| Q.41 | MCQ | 2 | A |
| Q.42 | MCQ | 2 | D |
| Q.43 | MCQ | 2 | A |
| Q.44 | MCQ | 2 | A |
| Q.45 | MCQ | 2 | A |
| Q.46 | MCQ | 2 | C |
| Q.47 | MSQ | 2 | A, B |
| Q.48 | MSQ | 2 | B, C, D |
| Q.49 | MSQ | 2 | B, C, D |
| Q.50 | MSQ | 2 | B, D |
| Q.51 | MSQ | 2 | A |
| Q.52 | MSQ | 2 | A, D |
| Q.53 | MSQ | 2 | A, B, C |
| Q.54 | MSQ | 2 | B, C |
| Q.55 | NAT | 2 | 6.90 to 7.10 |
| Q.56 | NAT | 2 | 135 |
| Q.57 | NAT | 2 | 0.76 to 0.78 |
| Q.58 | NAT | 2 | 8 |
| Q.59 | NAT | 2 | 2 to 3 |
| Q.60 | NAT | 2 | 3 |
| Q.61 | NAT | 2 | 4 |
| Q.62 | NAT | 2 | 10 |
| Q.63 | NAT | 2 | 0 |
| Q.64 | NAT | 2 | 0.08 to 0.12 |
| Q.65 | NAT | 2 | 1 |
General Aptitude Q.1 to Q.10
- Q.1MCQ · 1 mark
Verbosity : Brevity :: Insolence : ______
Choose the word that best fills the blank.
- (A)
Innocence
- (B)
Respect
- (C)
Solace
- (D)
Wealth
Official answer: B
- (A)
- Q.2MCQ · 1 mark
The product of the digits of a three-digit number is 70. The sum of the digits of this three-digit number is ______
- (A)
12
- (B)
14
- (C)
16
- (D)
18
Official answer: B
- (A)
- Q.3MCQ · 1 mark
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?
Tap to open full size- (A)
P
- (B)
Q
- (C)
R
- (D)
S
Official answer: A
- (A)
- Q.4MCQ · 1 mark
Consider two distinct positive real numbers m, n, with m > n. Let x = n^{log10(m)} and y = m^{log10(n)}. The relation between x and y is ______.
- (A)
x > y
- (B)
x < y
- (C)
x = y
- (D)
x = log10(y)
Official answer: C
- (A)
- Q.5MCQ · 1 mark
‘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?
- (A)
The actor will certainly sponsor his next movie.
- (B)
His latest movie was a commercial success.
- (C)
The actor made enough money from his latest movie.
- (D)
His latest movie was not commercially successful.
Official answer: D
- (A)
- Q.6MCQ · 2 marks
‘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.
- (A)
at; of; for
- (B)
for; at; of
- (C)
of; for; in
- (D)
in; of; for
Official answer: A
- (A)
- Q.7MCQ · 2 marks
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 ______
- (A)
0
- (B)
1
- (C)
2
- (D)
3
Official answer: B
- (A)
- Q.8MCQ · 2 marks
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 ______.- (A)
Pavan
- (B)
Rishi
- (C)
Swathi
- (D)
Tanvi
Official answer: D
- (A)
- Q.9MCQ · 2 marks
, and are distinct single-digit whole numbers taking values from 0 to 9.
is a two-digit number with being in the units place and in the tens place. Similarly, is a two-digit number.
It is known that and are consecutive numbers and , with being a three-digit number.
The value of is ______
- (A)
4
- (B)
5
- (C)
6
- (D)
7
Official answer: C
- (A)
- Q.10MCQ · 2 marks
In the given figure, , , and are three points on a circle of radius 10 cm with as its center, , and . The figure is representative. The area of the shaded region is ______________ cm.
Tap to open full size- (A)
50
- (B)
- (C)
- (D)
100
Official answer: C
- (A)
Data Science and Artificial Intelligence Q.11 to Q.65
- Q.11MCQ · 1 mark
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 between the first and the tenth principal components?
- (A)
- (B)
- (C)
- (D)
Official answer: B
- (A)
- Q.12MCQ · 1 mark
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?
- (A)
10
- (B)
512
- (C)
900
- (D)
1000
Official answer: C
- (A)
- Q.13MCQ · 1 mark
Which of the following algorithms is NOT an example of uninformed search?
- (A)
Breadth First Search
- (B)
Depth First Search
- (C)
A* Search
- (D)
Depth-limited Search
Official answer: C
- (A)
- Q.14MCQ · 1 mark
Which of the following statements is NOT true?
(The names of the predicates are intuitive.)
- (A)
- (B)
- (C)
"Each king is a person" is equivalent to
- (D)
"All humans are mortal" is equivalent to
Official answer: C
- (A)
- Q.15MCQ · 1 mark
Consider that the quick sort algorithm is used to sort an array of distinct randomly ordered elements. In every call, the pivot is chosen as the first element of the current subarray.
Let 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 in this scenario?
- (A)
- (B)
- (C)
- (D)
Official answer: D
- (A)
- Q.16MCQ · 1 mark
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?
- (A)
[1]
[2]
[3] - (B)
[1]
[1, 2]
[3] - (C)
[1]
[2]
[1, 2, 3] - (D)
[1]
[1, 2]
[1, 3]
Official answer: B
- (A)
- Q.17MCQ · 1 mark
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?
- (A)
AD, ED and CD are the only candidate keys of R.
- (B)
AD and ED are the only candidate keys of R.
- (C)
A, E and CD are the only candidate keys of R.
- (D)
A and CD are the only candidate keys of R.
Official answer: A
- (A)
- Q.18MCQ · 1 mark
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?
- (A)
Slicing
- (B)
Dicing
- (C)
Roll-up
- (D)
Drill-down
Official answer: D
- (A)
- Q.19MCQ · 1 mark
Let be a randomly chosen non-empty subset of . Which of the following is the probability that the product of all the elements of is even?
- (A)
- (B)
- (C)
- (D)
Official answer: C
- (A)
- Q.20MCQ · 1 mark
Suppose that a computer program provides a non-negative and integer-valued random solution to the equation . Which of the following is the probability that all of in the provided solution are positive?
- (A)
- (B)
- (C)
- (D)
Official answer: A
- (A)
- Q.21MCQ · 1 mark
Let be a matrix, where , and . Which of the following options is equal to ?
- (A)
- (B)
- (C)
- (D)
Official answer: B
- (A)
- Q.22MCQ · 1 mark
Consider a set . Let be another set which is a subspace of with dimension two.
Which of the following gives the area of ?
- (A)
- (B)
- (C)
- (D)
Official answer: A
- (A)
- Q.23MSQ · 1 mark
In the following table, the
Taskcolumn lists a few tasks related to machine learning. TheAlgorithmcolumn lists a few algorithms.Each entry "t" from the
Taskcolumn is to be matched with an appropriate entry "a" from theAlgorithmcolumn such that the task "t" can be solved using the algorithm "a". Denote such a match ast: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)?
- (A)
T1:A4, T2:A3, T3:A1, T4:A2
- (B)
T1:A2, T2:A4, T3:A1, T4:A3
- (C)
T1:A3, T2:A4, T3:A1, T4:A2
- (D)
T1:A4, T2:A2, T3:A1, T4:A3
Official answer: B
- (A)
- Q.24MSQ · 1 mark
Sentence is said to entail Sentence if whenever is TRUE, also must hold TRUE.
Which of the following statements is/are correct if entails ?
- (A)
- (B)
is FALSE
- (C)
if then
- (D)
if then
Official answer: A, B, C
- (A)
- Q.25MSQ · 1 mark
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 GWhich of the following statements is/are true about the Binary Tree T?
- (A)
Node P is the root of T
- (B)
The Post-order traversal of T is: S E Q F G R P
- (C)
Node Q has only one child
- (D)
The left subtree of node R contains the node G
Official answer: A, B
- (A)
- Q.26MSQ · 1 mark
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?
- (A)
Inserting records into relation r
- (B)
Deleting records from relation s
- (C)
Deleting records from relation r
- (D)
Inserting records into relation s
Official answer: A, B
- (A)
- Q.27MSQ · 1 mark
Let be a function defined on .
Which of the following statements is/are correct?
- (A)
has exactly two roots in .
- (B)
has a minimum at 2 only.
- (C)
has maximum at 0 only.
- (D)
has a root at 1.
Official answer: B, D
- (A)
- Q.28MSQ · 1 mark
Suppose a random variable follows distribution with probability density function and cumulative distribution function . Another random variable follows distribution with probability density function and cumulative distribution function . Let be the positive real number for which .
Which of the following statements is/are correct?
- (A)
- (B)
- (C)
- (D)
Official answer: A, C
- (A)
- Q.29NAT · 1 mark
Consider that for a supervised learning task, the objective function being minimized is , where is the input and is the parameter. Stochastic Gradient Descent with learning rate of 0.10 is used for parameter updates.
Suppose that at the end of iteration , the value of becomes 10.00.
Let be the input for iteration .
The value of at the end of iteration is __________. (Rounded off to two decimal places)
Official answer: 8.90 to 9.10
- Q.30NAT · 1 mark
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)
Tap to open full sizeOfficial answer: 2
- Q.31NAT · 1 mark
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)
Official answer: 10
- Q.32NAT · 1 mark
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)
Official answer: 195
- Q.33NAT · 1 mark
The number of bijections from the set to itself such that , for all , is ______. (Answer in integer)
Official answer: 10
- Q.34NAT · 1 mark
Let be an exponentially distributed random variable with mean . If , then the conditional probability is ________. (Rounded off to two decimal places.)
Official answer: 0.34 to 0.36
- Q.35NAT · 1 mark
The value of is ______________. (Answer in integer)
Official answer: 1
- Q.36MCQ · 2 marks
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?
- (A)
P1, P2
- (B)
P2, P3
- (C)
P3, P4
- (D)
P2, P4
Official answer: D
- (A)
- Q.37MCQ · 2 marks
Which of the following statements is true for Ridge Regression?
- (A)
The regularizer in the objective function of Ridge Regression is used to guard against scenarios where the model works well for the test data, but poorly for the training data.
- (B)
The regularizer of Ridge Regression uses L_1 norm.
- (C)
Ridge Regression aims to reduce the number of parameters that have negative values.
- (D)
The regularizer of Ridge Regression may increase the bias of the model, but it helps in reducing the variance in predictions.
Official answer: D
- (A)
- Q.38MCQ · 2 marks
Assume that a Creative () person will Succeed () if the person is also Disciplined (), but will not succeed otherwise. Now, consider the following statements:
(i)
(ii)
(iii)Which of the following options is correct?
- (A)
Both (i) and (ii) are TRUE
- (B)
Only (ii) is TRUE
- (C)
Both (ii) and (iii) are TRUE
- (D)
Only (iii) is TRUE
Official answer: B
- (A)
- Q.39MCQ · 2 marks
A recursive function in Python is given.
def mystery(n): if n <= 0: 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)?- (A)
5
- (B)
9
- (C)
15
- (D)
17
Official answer: C
- (A)
- Q.40MCQ · 2 marks
Consider a directed graph , where is the finite set of vertices and is the set of directed edges between the vertices. may contain cycles but there is no self-loop. Further, may not be strongly connected.
Let be the graph obtained by reversing the directions of all the edges in without changing the set of vertices.
Assume that Breadth First Search (BFS) or Depth First Search (DFS) from any given vertex of a graph visits only the reachable vertices from in that graph.
Which of the following statements must always be true, regardless of the structure of ?
- (A)
If is a reachable vertex in the BFS of from , then is also a reachable vertex in the DFS of from .
- (B)
In , the BFS traversal from will visit exactly the same set of vertices as the DFS from in .
- (C)
The order of vertices visited in the BFS of from is the reverse of the order of vertices visited in the DFS of from .
- (D)
If is a reachable vertex in the DFS of from , then is also a reachable vertex in the BFS of from .
Official answer: D
- (A)
- Q.41MCQ · 2 marks
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?
Tap to open full size- (A)
5
- (B)
8
- (C)
3 and 5
- (D)
3, 5 and 8
Official answer: A
- (A)
- Q.42MCQ · 2 marks
Consider the given relations , and . The relation has three columns , and . The relation has three columns , and . The relation has two columns and .
Relation : (P1, Q1, R1), (P2, Q2, R2), (P3, Q3, R2).
Relation : (P1, Q1, 2), (P1, Q2, 5), (P2, Q1, 6), (P3, Q3, 1).
Relation : (P1, T1), (P3, T2), (P4, T3), (P4, NULL).
Consider the relational algebra expression
where denotes natural join operation.
Which of the following options is the correct output for the given expression?
Tap to open full size- (A)
Two rows (P1, R1, 2) and (P1, R1, 5)
- (B)
Three rows (P1, R1, 2), (P1, R1, 5) and (P2, R2, 6)
- (C)
One row (P1, R1, 2)
- (D)
Zero rows
Official answer: D
- (A)
- Q.43MCQ · 2 marks
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?
Tap to open full size- (A)
- (B)
- (C)
- (D)
Official answer: A
- (A)
- Q.44MCQ · 2 marks
Let and be two independent random variables. follows distribution and follows distribution.
Which of the following options is the variance of ?
- (A)
100
- (B)
90
- (C)
49
- (D)
21
Official answer: A
- (A)
- Q.45MCQ · 2 marks
Let Which of the following is the value of ?
- (A)
0.5
- (B)
1.0
- (C)
0
- (D)
Official answer: A
- (A)
- Q.46MCQ · 2 marks
Let be the eigenvalues of the matrix , where is in radians.
Which one of the following options lists all the possible values of satisfying ?
- (A)
- (B)
- (C)
- (D)
Official answer: C
- (A)
- Q.47MSQ · 2 marks
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?
- (A)
Accuracy of the classifier is 11/15.
- (B)
Precision of Class X is higher than the Precision of Class Y.
- (C)
Recall of Class X is higher than the Recall of Class Y.
- (D)
Accuracy of the classifier is 14/15.
Official answer: A, B
- (A)
- Q.48MSQ · 2 marks
Let be a predicate.
Which of the following statements is/are NOT valid in first-order logic?
- (A)
- (B)
- (C)
- (D)
Official answer: B, C, D
- (A)
- Q.49MSQ · 2 marks
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
N1be the total number of comparisons done by BS on the elements ofPandN2be the total number of comparisons done by IS on the elements ofP.Which of the following options is/are correct?
- (A)
N1 = 10, N2 = 4
- (B)
N1 > N2
- (C)
IS on P will perform only one swap
- (D)
Both BS and IS on P will make at least one unnecessary comparison (i.e., comparing elements that are already in correct order)
Official answer: B, C, D
- (A)
- Q.50MSQ · 2 marks
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 SWhich of the following options is/are correct?
- (A)
f1andf2share the same listx - (B)
Output of Line Q is
[10, 20] - (C)
Output of Line R is
[10, 20, 30] - (D)
Output of Line S is
[10, 20, 40]
Official answer: B, D
- (A)
- Q.51MSQ · 2 marks
Consider a table
Employee(EmpID, TeamID), where the columnEmpID(ID of an employee) is the primary key. The columnTeamIDdenotes the team ID of the team of which the employee is a member.TeamIDis 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 givenEmployeetable is also shown in tabular form.Which of the following is/are correct?
Employee table (EmpID, TeamID): (1, 8), (2, 8), (3, 8), (4, 7), (5, 7), (6, 9).
Output table (EmpID, TeamSize): (1, 3), (2, 3), (3, 3), (4, 2), (5, 2), (6, 1).
Tap to open full size- (A)
SELECT E.EmpID, B.TeamSize FROM Employee AS E, (SELECT TeamID, COUNT(TeamID) AS TeamSize FROM Employee GROUP BY TeamID) AS B WHERE E.TeamID = B.TeamID - (B)
SELECT A.EmpID, COUNT(B.TeamID) AS TeamSize FROM Employee AS A, Employee AS B WHERE A.TeamID = B.TeamID AND A.EmpID = B.EmpID GROUP BY A.EmpID - (C)
SELECT B.EmpID, B.TeamSize FROM (SELECT EmpID, COUNT(TeamID) AS TeamSize FROM Employee GROUP BY EmpID) AS B - (D)
SELECT A.EmpID, B.TeamSize FROM Employee AS A, (SELECT COUNT(TeamID) AS TeamSize FROM Employee GROUP BY TeamID) AS B WHERE A.TeamID = B.TeamID
Official answer: A
- (A)
- Q.52MSQ · 2 marks
Let be a matrix, where and is the identity matrix of order .
Which of the following options is/are correct?
- (A)
- (B)
- (C)
- (D)
is a projection matrix
Official answer: A, D
- (A)
- Q.53MSQ · 2 marks
Let be independent random variables. Each of the random variables follows distribution. Define .
Which of the following statements is/are correct?
- (A)
follows Chi-square distribution with degrees of freedom.
- (B)
follows Chi-square distribution with degrees of freedom.
- (C)
follows exponential distribution with mean 2.
- (D)
follows Chi-square distribution with 2 degrees of freedom.
Official answer: A, B, C
- (A)
- Q.54MSQ · 2 marks
Let be a discrete valued random variable with cumulative distribution function .
Which of the following statements is/are correct?
- (A)
is always a positive function.
- (B)
is a non-decreasing function.
- (C)
has jump discontinuity.
- (D)
is a left continuous function.
Official answer: B, C
- (A)
- Q.55NAT · 2 marks
Consider that Linear Ridge Regression is being used to learn a prediction function , where 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 . In the next step, for the input , the predicted value of is noted. Let the relation between and the true value of be .
The value of the overall regularized loss function for this instance is ______ . (Rounded off to two decimal places)
Official answer: 6.90 to 7.10
- Q.56NAT · 2 marks
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)
Official answer: 135
- Q.57NAT · 2 marks
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)
Official answer: 0.76 to 0.78
- Q.58NAT · 2 marks
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)
Official answer: 8
- Q.59NAT · 2 marks
Let there be two relations and as shown. has three columns , and . has two columns and .
Relation X (columns P, Q, R): (P1, Q1, R1), (P2, Q2, R2), (P3, Q3, R2).
Relation Y (columns P, S): (P1, 10), (P1, 15), (P2, 20), (P3, 1).
Consider that the following tuple relational calculus expression is evaluated.
The number of tuples that will be returned is ______. (Answer in integer)
Tap to open full sizeOfficial answer: 2 to 3
- Q.60NAT · 2 marks
Let
Accountbe a relation as shown.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)
Tap to open full sizeOfficial answer: 3
- Q.61NAT · 2 marks
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)
Official answer: 4
- Q.62NAT · 2 marks
For a given data set , where , it is known that
Let us denote . The value of is ______. (Answer in integer)
Official answer: 10
- Q.63NAT · 2 marks
Let be a random variable that follows distribution. The conditional distribution of the random variable given is the distribution.
The value of is ______. (Answer in integer)
Official answer: 0
- Q.64NAT · 2 marks
Let be a matrix such that each of its elements follows 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)
Official answer: 0.08 to 0.12
- Q.65NAT · 2 marks
Let be a matrix, where and is the identity matrix of order .
The value of , where , is ________. (Answer in integer)
Official answer: 1