IAE Academy

PAPERS · GATE DA

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

Official answers to every question of GATE DA 2026
QuestionTypeMarksAnswer
Q.1MCQ1B
Q.2MCQ1B
Q.3MCQ1A
Q.4MCQ1C
Q.5MCQ1D
Q.6MCQ2A
Q.7MCQ2B
Q.8MCQ2D
Q.9MCQ2C
Q.10MCQ2C
Q.11MCQ1B
Q.12MCQ1C
Q.13MCQ1C
Q.14MCQ1C
Q.15MCQ1D
Q.16MCQ1B
Q.17MCQ1A
Q.18MCQ1D
Q.19MCQ1C
Q.20MCQ1A
Q.21MCQ1B
Q.22MCQ1A
Q.23MSQ1B
Q.24MSQ1A, B, C
Q.25MSQ1A, B
Q.26MSQ1A, B
Q.27MSQ1B, D
Q.28MSQ1A, C
Q.29NAT18.90 to 9.10
Q.30NAT12
Q.31NAT110
Q.32NAT1195
Q.33NAT110
Q.34NAT10.34 to 0.36
Q.35NAT11
Q.36MCQ2D
Q.37MCQ2D
Q.38MCQ2B
Q.39MCQ2C
Q.40MCQ2D
Q.41MCQ2A
Q.42MCQ2D
Q.43MCQ2A
Q.44MCQ2A
Q.45MCQ2A
Q.46MCQ2C
Q.47MSQ2A, B
Q.48MSQ2B, C, D
Q.49MSQ2B, C, D
Q.50MSQ2B, D
Q.51MSQ2A
Q.52MSQ2A, D
Q.53MSQ2A, B, C
Q.54MSQ2B, C
Q.55NAT26.90 to 7.10
Q.56NAT2135
Q.57NAT20.76 to 0.78
Q.58NAT28
Q.59NAT22 to 3
Q.60NAT23
Q.61NAT24
Q.62NAT210
Q.63NAT20
Q.64NAT20.08 to 0.12
Q.65NAT21

General Aptitude Q.1 to Q.10

  1. Q.1MCQ · 1 mark

    Verbosity : Brevity :: Insolence : ______

    Choose the word that best fills the blank.

    1. (A)

      Innocence

    2. (B)

      Respect

    3. (C)

      Solace

    4. (D)

      Wealth

    Official answer: B

  2. 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 ______

    1. (A)

      12

    2. (B)

      14

    3. (C)

      16

    4. (D)

      18

    Official answer: B

  3. 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?

    GATE DA 2026 Q.3 as printed in the question paper, with its figureTap to open full size
    1. (A)

      P

    2. (B)

      Q

    3. (C)

      R

    4. (D)

      S

    Official answer: A

  4. 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 ______.

    1. (A)

      x > y

    2. (B)

      x < y

    3. (C)

      x = y

    4. (D)

      x = log10(y)

    Official answer: C

  5. 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?

    1. (A)

      The actor will certainly sponsor his next movie.

    2. (B)

      His latest movie was a commercial success.

    3. (C)

      The actor made enough money from his latest movie.

    4. (D)

      His latest movie was not commercially successful.

    Official answer: D

  6. 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.

    1. (A)

      at; of; for

    2. (B)

      for; at; of

    3. (C)

      of; for; in

    4. (D)

      in; of; for

    Official answer: A

  7. 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 ______

    1. (A)

      0

    2. (B)

      1

    3. (C)

      2

    4. (D)

      3

    Official answer: B

  8. 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 ______.

    1. (A)

      Pavan

    2. (B)

      Rishi

    3. (C)

      Swathi

    4. (D)

      Tanvi

    Official answer: D

  9. 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 ______

    1. (A)

      4

    2. (B)

      5

    3. (C)

      6

    4. (D)

      7

    Official answer: C

  10. 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.

    GATE DA 2026 Q.10 as printed in the question paper, with its figureTap to open full size
    1. (A)

      50

    2. (B)

    3. (C)

    4. (D)

      100

    Official answer: C

Data Science and Artificial Intelligence Q.11 to Q.65

  1. 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?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: B

  2. 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?

    1. (A)

      10

    2. (B)

      512

    3. (C)

      900

    4. (D)

      1000

    Official answer: C

  3. Q.13MCQ · 1 mark

    Which of the following algorithms is NOT an example of uninformed search?

    1. (A)

      Breadth First Search

    2. (B)

      Depth First Search

    3. (C)

      A* Search

    4. (D)

      Depth-limited Search

    Official answer: C

  4. Q.14MCQ · 1 mark

    Which of the following statements is NOT true?

    (The names of the predicates are intuitive.)

    1. (A)

    2. (B)

    3. (C)

      "Each king is a person" is equivalent to

    4. (D)

      "All humans are mortal" is equivalent to

    Official answer: C

  5. 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?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: D

  6. 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?

    1. (A)

      [1]
      [2]
      [3]

    2. (B)

      [1]
      [1, 2]
      [3]

    3. (C)

      [1]
      [2]
      [1, 2, 3]

    4. (D)

      [1]
      [1, 2]
      [1, 3]

    Official answer: B

  7. 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?

    1. (A)

      AD, ED and CD are the only candidate keys of R.

    2. (B)

      AD and ED are the only candidate keys of R.

    3. (C)

      A, E and CD are the only candidate keys of R.

    4. (D)

      A and CD are the only candidate keys of R.

    Official answer: A

  8. 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?

    1. (A)

      Slicing

    2. (B)

      Dicing

    3. (C)

      Roll-up

    4. (D)

      Drill-down

    Official answer: D

  9. 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?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: C

  10. 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?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: A

  11. Q.21MCQ · 1 mark

    Let be a matrix, where , and . Which of the following options is equal to ?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: B

  12. 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 ?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: A

  13. Q.23MSQ · 1 mark

    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.

    TaskAlgorithm
    T1 – ClusteringA1 – Markov Chain Monte Carlo
    T2 – ClassificationA2 – K-Medoid
    T3 – SamplingA3 – Linear Discriminant Analysis
    T4 – Feature ExtractionA4 – Naive Bayes

    Which of the following options is/are the correct matching(s)?

    1. (A)

      T1:A4, T2:A3, T3:A1, T4:A2

    2. (B)

      T1:A2, T2:A4, T3:A1, T4:A3

    3. (C)

      T1:A3, T2:A4, T3:A1, T4:A2

    4. (D)

      T1:A4, T2:A2, T3:A1, T4:A3

    Official answer: B

  14. 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 ?

    1. (A)

    2. (B)

      is FALSE

    3. (C)

      if then

    4. (D)

      if then

    Official answer: A, B, C

  15. 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 G

    Which of the following statements is/are true about the Binary Tree T?

    1. (A)

      Node P is the root of T

    2. (B)

      The Post-order traversal of T is: S E Q F G R P

    3. (C)

      Node Q has only one child

    4. (D)

      The left subtree of node R contains the node G

    Official answer: A, B

  16. 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?

    1. (A)

      Inserting records into relation r

    2. (B)

      Deleting records from relation s

    3. (C)

      Deleting records from relation r

    4. (D)

      Inserting records into relation s

    Official answer: A, B

  17. Q.27MSQ · 1 mark

    Let be a function defined on .

    Which of the following statements is/are correct?

    1. (A)

      has exactly two roots in .

    2. (B)

      has a minimum at 2 only.

    3. (C)

      has maximum at 0 only.

    4. (D)

      has a root at 1.

    Official answer: B, D

  18. 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?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: A, C

  19. 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

  20. 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)

    GATE DA 2026 Q.30 as printed in the question paper, with its figureTap to open full size

    Official answer: 2

  21. 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

  22. 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

  23. Q.33NAT · 1 mark

    The number of bijections from the set to itself such that , for all , is ______. (Answer in integer)

    Official answer: 10

  24. 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

  25. Q.35NAT · 1 mark

    The value of is ______________. (Answer in integer)

    Official answer: 1

  26. 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?

    1. (A)

      P1, P2

    2. (B)

      P2, P3

    3. (C)

      P3, P4

    4. (D)

      P2, P4

    Official answer: D

  27. Q.37MCQ · 2 marks

    Which of the following statements is true for Ridge Regression?

    1. (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.

    2. (B)

      The regularizer of Ridge Regression uses L_1 norm.

    3. (C)

      Ridge Regression aims to reduce the number of parameters that have negative values.

    4. (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

  28. 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?

    1. (A)

      Both (i) and (ii) are TRUE

    2. (B)

      Only (ii) is TRUE

    3. (C)

      Both (ii) and (iii) are TRUE

    4. (D)

      Only (iii) is TRUE

    Official answer: B

  29. 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)?

    1. (A)

      5

    2. (B)

      9

    3. (C)

      15

    4. (D)

      17

    Official answer: C

  30. 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 ?

    1. (A)

      If is a reachable vertex in the BFS of from , then is also a reachable vertex in the DFS of from .

    2. (B)

      In , the BFS traversal from will visit exactly the same set of vertices as the DFS from in .

    3. (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 .

    4. (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

  31. 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?

    GATE DA 2026 Q.41 as printed in the question paper, with its figureTap to open full size
    1. (A)

      5

    2. (B)

      8

    3. (C)

      3 and 5

    4. (D)

      3, 5 and 8

    Official answer: A

  32. 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?

    GATE DA 2026 Q.42 as printed in the question paper, with its figureTap to open full size
    1. (A)

      Two rows (P1, R1, 2) and (P1, R1, 5)

    2. (B)

      Three rows (P1, R1, 2), (P1, R1, 5) and (P2, R2, 6)

    3. (C)

      One row (P1, R1, 2)

    4. (D)

      Zero rows

    Official answer: D

  33. 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?

    GATE DA 2026 Q.43 as printed in the question paper, with its figureTap to open full size
    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: A

  34. 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 ?

    1. (A)

      100

    2. (B)

      90

    3. (C)

      49

    4. (D)

      21

    Official answer: A

  35. Q.45MCQ · 2 marks

    Let Which of the following is the value of ?

    1. (A)

      0.5

    2. (B)

      1.0

    3. (C)

      0

    4. (D)

    Official answer: A

  36. 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 ?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: C

  37. 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?

    1. (A)

      Accuracy of the classifier is 11/15.

    2. (B)

      Precision of Class X is higher than the Precision of Class Y.

    3. (C)

      Recall of Class X is higher than the Recall of Class Y.

    4. (D)

      Accuracy of the classifier is 14/15.

    Official answer: A, B

  38. Q.48MSQ · 2 marks

    Let be a predicate.

    Which of the following statements is/are NOT valid in first-order logic?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

    Official answer: B, C, D

  39. 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 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?

    1. (A)

      N1 = 10, N2 = 4

    2. (B)

      N1 > N2

    3. (C)

      IS on P will perform only one swap

    4. (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

  40. 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 S

    Which of the following options is/are correct?

    1. (A)

      f1 and f2 share the same list x

    2. (B)

      Output of Line Q is [10, 20]

    3. (C)

      Output of Line R is [10, 20, 30]

    4. (D)

      Output of Line S is [10, 20, 40]

    Official answer: B, D

  41. Q.51MSQ · 2 marks

    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 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).

    GATE DA 2026 Q.51 as printed in the question paper, with its figureTap to open full size
    1. (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
    2. (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
    3. (C)
      SELECT B.EmpID, B.TeamSize
      FROM (SELECT EmpID, COUNT(TeamID) AS TeamSize
      FROM Employee GROUP BY EmpID) AS B
    4. (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

  42. Q.52MSQ · 2 marks

    Let be a matrix, where and is the identity matrix of order .

    Which of the following options is/are correct?

    1. (A)

    2. (B)

    3. (C)

    4. (D)

      is a projection matrix

    Official answer: A, D

  43. 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?

    1. (A)

      follows Chi-square distribution with degrees of freedom.

    2. (B)

      follows Chi-square distribution with degrees of freedom.

    3. (C)

      follows exponential distribution with mean 2.

    4. (D)

      follows Chi-square distribution with 2 degrees of freedom.

    Official answer: A, B, C

  44. Q.54MSQ · 2 marks

    Let be a discrete valued random variable with cumulative distribution function .

    Which of the following statements is/are correct?

    1. (A)

      is always a positive function.

    2. (B)

      is a non-decreasing function.

    3. (C)

      has jump discontinuity.

    4. (D)

      is a left continuous function.

    Official answer: B, C

  45. 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

  46. 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

  47. 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

  48. 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

  49. 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)

    GATE DA 2026 Q.59 as printed in the question paper, with its figureTap to open full size

    Official answer: 2 to 3

  50. Q.60NAT · 2 marks

    Let Account be a relation as shown.

    AccNoBalance
    A15000
    A25000
    A310000
    A415000
    A518000

    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)

    GATE DA 2026 Q.60 as printed in the question paper, with its figureTap to open full size

    Official answer: 3

  51. 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

  52. 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

  53. 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

  54. 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

  55. 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