GATE 2026 DA Mock Test
General Instructions
- The test lasts 180 minutes. The timer above the question shows the time left, and the test is submitted automatically when it reaches zero.
- The question palette shows the status of each question:
1 You have not visited the question yet. 2 You have not answered the question. 3 You have answered the question. It will be evaluated. 4 You have not answered the question but marked it for review. 5 You have answered the question and marked it for review. It will also be evaluated. - Save & Next saves your answer and moves to the next question. Mark for Review & Next saves it, marks it for review and moves on. Clicking a number in the palette moves to that question without saving the current answer.
- MCQ: one correct option; a wrong answer costs 1/3 of the marks for a 1-mark question and 2/3 for a 2-mark one. MSQ: one or more correct options, all of them needed; no negative marks. NAT: type a number with the on-screen keypad; no negative marks.
- A scientific calculator, like the one in GATE, opens from the calculator icon next to the timer.
- Your answers are kept in this browser only. If you close the page, you can resume until the time runs out.
ⓘ Tick the box above to start.
Question No. 1
Verbosity : Brevity :: Insolence : ________
Choose the word that best fills the blank. Innocence Respect Solace Wealth
Choose the word that best fills the blank. Innocence Respect Solace Wealth
The product of the digits of a three-digit number is . The sum of the digits of this three-digit number is ________
The four pieces of a puzzle are shown in the figure below.
Which one of the figures labelled as , and S can be constructed by using each of the four pieces only once without overlaps?
Which one of the figures labelled as , and S can be constructed by using each of the four pieces only once without overlaps?
Consider two distinct positive real numbers , with .
Let and . The relation between and is ________.
Let and . The relation between and is ________.
'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?
Based only on the above sentence, which one of the following statements is true?
'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.
Choose the option with the correct sequence of words to fill the blanks.
Five integers are picked from to , with possible repetitions, such that their mean is , median is , and they have a single mode of .
Ignoring permutations, the number of ways to pick these five integers is ________
Ignoring permutations, the number of ways to pick these five integers is ________
Rishi and Swathi are students of Class . Pavan and Tanvi are students of Class . 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 won more games than the students of Class , 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 won more games than the students of Class , and
(iii) the boys won two games and the girls won one game.
The student who did not lose any game is ________.
, and are distinct single-digit whole numbers taking values from to .
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 ________
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 ________
In the given figure, , and are three points on a circle of radius cm with as its center, , and . The figure is representative. The area of the shaded region is ________ .
For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from to .
Which of the following options is true about the angle between the first and the tenth principal components?
Which of the following options is true about the angle between the first and the tenth principal components?
Consider that you are training a classifier for a -class classification problem. Each input is represented as a -dimensional vector. There are samples, out of which first will be used for testing. Let (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?
Which of the following options is the correct number of validation splits that will be generated?
Which of the following algorithms is NOT an example of uninformed search?
Which of the following statements is NOT true?
(The names of the predicates are intuitive.)
(The names of the predicates are intuitive.)
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?
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?
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?Let be a relational schema with functional dependency set .
Which of the following statements is correct?
Which of the following statements is correct?
Consider that the visualization of a -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?
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?
Which of the following is the probability that the product of all the elements of is even?
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?
Which of the following is the probability that all of in the provided solution are positive?
Let be a matrix, where , and .
Which of the following options is equal to ?
Which of the following options is equal to ?
Consider a set . Let be another set which is a subspace of with dimension two.
Which of the following gives the area of ?
Which of the following gives the area of ?
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
Which of the following options is/are the correct matching(s)?
Sentence is said to entail Sentence if whenever is TRUE, also must hold TRUE.
Which of the following statements is/are correct if entails ?
Which of the following statements is/are correct if entails ?
You are given the following Pre-order and In-order traversals of a Binary Tree with nodes .
Which of the following statements is/are true about the Binary Tree
Which of the following statements is/are true about the Binary Tree
Consider two relations and defined on the relational schemas and , respectively. is the primary key of and is a foreign key of referencing in .
Which of the following operations will violate the foreign key constraint?
Which of the following operations will violate the foreign key constraint?
Let be a function defined on .
Which of the following statements is/are correct?
Which of the following statements is/are correct?
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?
Which of the following statements is/are correct?
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 is used for parameter updates.
Suppose that at the end of iteration , the value of becomes .
Let be the input for iteration .
The value of at the end of iteration ( ) is ________. (Rounded off to two decimal places)
Suppose that at the end of iteration , the value of becomes .
Let be the input for iteration .
The value of at the end of iteration ( ) is ________. (Rounded off to two decimal places)
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: and . Next, MIN plays and also has three strategies: and . 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)
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: and . Next, MIN plays and also has three strategies: and . 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)
Let A be a sorted array containing distinct integers. You perform a recursive binary search on to find an element . Suppose each comparison checks whether the middle element computed during the current recursive step is equal to, less than, or greater than .
The maximum number of comparisons that may have to be performed if is not an element of is ________. (Answer in integer)
The maximum number of comparisons that may have to be performed if is not an element of is ________. (Answer in integer)
In a relational database, a Tree Index is to be constructed for a relation on a key field. In a Tree, a Node Pointer points to a sub-tree and a Data Record Pointer points to a block of database records.
Let, Node size bytes, Node Pointer size bytes, Search Key Field size bytes and Data Record Pointer size bytes.
The maximum number of Node Pointers that can be present in a non-leaf node of the Tree is ________. (Answer in integer)
Let, Node size bytes, Node Pointer size bytes, Search Key Field size bytes and Data Record Pointer size bytes.
The maximum number of Node Pointers that can be present in a non-leaf node of the Tree is ________. (Answer in integer)
The number of bijections from the set to itself such that , for all , is ________. (Answer in integer)
Let be an exponentially distributed random variable with mean . If , then the conditional probability is ________. (Rounded off to two decimal places)
The value of is ________. (Answer in integer)
Let four points in three-dimensional space be:
, , and .
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?
, , and .
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?
Which of the following statements is true for Ridge Regression?
Assume that a Creative person will Succeed if the person is also Disciplined (), but will not succeed otherwise. Now, consider the following statements:
Which of the following options is correct?
Which of the following options is correct?
A recursive function in Python is given.
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
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
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
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
Consider a B+ Tree where the maximum number of key values in each leaf node is and the maximum number of pointers in each non-leaf node is . 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 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 in the given B+ Tree?
Consider the given relations and . The relation has three columns and . The relation has three columns and . The relation has two columns and .
X
Y
Z
Consider the relational algebra expression
where denotes natural join operation.
Which of the following options is the correct output for the given expression?
X
Y
Z
Consider the relational algebra expression
where denotes natural join operation.
Which of the following options is the correct output for the given expression?
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?
Let and be two independent random variables. follows distribution and follows distribution.
Which of the following options is the variance of ?
Which of the following options is the variance of ?
Let
Which of the following is the value of
Which of the following is the value of
Let be the eigenvalues of the matrix ,
where is in radians.
Which one of the following options lists all the possible values of satisfying ?
where is in radians.
Which one of the following options lists all the possible values of satisfying ?
Consider that stories of Author and stories of Author were kept together without mentioning the names of the authors. classifier was then asked to predict the author of each of these stories. Let, out of 's stories, were classified as that of . On the other hand, out of 's stories, were classified as that of .
Considering and as two classes, which of the following statements is/are true?
Considering and as two classes, which of the following statements is/are true?
Let 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?
Consider the problem of sorting the given array in ascending order:
Consider two sorting algorithms Bubble Sort and Insertion Sort .
Let be the total number of comparisons done by on the elements of and be the total number of comparisons done by on the elements of .
Which of the following options is/are correct?
Consider two sorting algorithms Bubble Sort and Insertion Sort .
Let be the total number of comparisons done by on the elements of and be the total number of comparisons done by on the elements of .
Which of the following options is/are correct?
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?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?
Let be a matrix, where and is the identity matrix of order .
Which of the following options is/are correct?
Which of the following options is/are correct?
Let be independent random variables. Each of the random variables follows distribution. Define .
Which of the following statements is/are correct?
Which of the following statements is/are correct?
Let be a discrete valued random variable with cumulative distribution function .
Which of the following statements is/are correct?
Which of the following statements is/are correct?
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 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)
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)
Consider a fully-connected feed-forward multi-layer perceptron. It has neurons in the input layer, followed by two hidden layers and an output layer. The first hidden layer has neurons and the second hidden layer has 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)
A clinic specializes in testing for a disease . The result of the test can be either positive or negative.
A study revealed that if a person suffers from the disease , the test result in that clinic comes out positive of the time, and negative of the time. If a person is not suffering from the disease , the test comes out positive of the time and negative of the time. It is also known that among the general population, the disease occurs in of the individuals.
If a person tests positive for in that clinic, the probability that he/she actually suffers from the disease is ________. (Rounded off to two decimal places)
A study revealed that if a person suffers from the disease , the test result in that clinic comes out positive of the time, and negative of the time. If a person is not suffering from the disease , the test comes out positive of the time and negative of the time. It is also known that among the general population, the disease occurs in of the individuals.
If a person tests positive for in that clinic, the probability that he/she actually suffers from the disease is ________. (Rounded off to two decimal places)
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 )Let there be two relations and as shown. has three columns and has two columns and .
Consider that the following tuple relational calculus expression is evaluated.
The number of tuples that will be returned is ________. (Answer in integer )
Consider that the following tuple relational calculus expression is evaluated.
The number of tuples that will be returned is ________. (Answer in integer )
Let Account be a relation as shown.
Consider the given SQL query.
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)Consider an model with the entities ( ) and ( ), where, are the attributes of , and are the attributes of . Let be a multi-valued attribute. and are the primary keys of and , respectively.
Let be a many-to-many relationship between and . Participation of both and in is total.
The minimum number of relations required to convert the model into relational model (assuming there is no other functional dependency) where each relation is in third normal form () is ________. (Answer in integer )
Let be a many-to-many relationship between and . Participation of both and in is total.
The minimum number of relations required to convert the model into relational model (assuming there is no other functional dependency) where each relation is in third normal form () is ________. (Answer in integer )
For a given data set , where , it is known that
Let us denote
The value of is ________. (Answer in integer )
Let us denote
The value of is ________. (Answer in integer )
Let be a random variable that follows distribution. The conditional distribution of the random variable given is the Uniform( ) distribution.
The value of is ________. (Answer in integer)
The value of is ________. (Answer in integer)
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)
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)
Let be a matrix, where and is the identity matrix of order .
The value of , where , is ________ . (Answer in integer)
The value of , where , is ________ . (Answer in integer)
GATE 2026 DA Mock Test: your result
Question-wise review
The timer is still running. Close this window to return to the questions.
The timer is still running while you read the paper.
Submit the test?
You cannot change your answers after submitting.