Skip to content
GATEiit

All subjects · 4 December 2026

GATE DA 2027 | 25-30 Questions Daily - 04-12-2026

GATE DA 2027 | 25-30 Questions Daily - 04-12-2026 - www.gateiit.in

25 questions · PDF 143 KB · practise free, log in to save answers and take the timed exam · GATE DA syllabus

Probability and Statistics

  1. Question 1HardMCQ · 1 mark

    Two discrete random variables X and Y have the following joint probability mass function: X \ Y 0 1 0 0.1 0.2 1 0.2 0.1 2 0.1 0.3 Let ρXY denote the Pearson correlation coefficient. Which of the following is the correct value of ρXY, rounded to three decimal places?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  2. Question 2NAT · 1 mark

    The joint probability density function of two continuous random variables X, Y is fX,Y(x, y) = e−x, if x > 0 and 0 < y < x; fX,Y(x, y) = 0, otherwise. Find Var(Y | X = 4). Give your answer correct to three decimal places. Answer: ______________

    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  3. Question 3MSQ · 1 mark

    Let X1, X2, …, Xn be an independent random sample from N(μ, σ2), where both μ and σ2 are unknown, and n ≥ 2. Let X̄ = (1/n) Σi=1n Xi and S2 = (1/(n − 1)) Σi=1n (Xi − X̄)2. Which statements are correct?

    Select one or more options
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  4. Question 4MCQ · 1 mark

    Let X and Y be independent exponential random variables with respective rate parameters λ and 2λ, where λ > 0. Define T = X + Y. Suppose it is known that T = t, where λt = ln 4. Determine P(X > t/2 | T = t).

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST

Linear Algebra

  1. Question 5MSQ · 1 mark

    Let P ∈ ℝ5×5 satisfy PT = P and P2 = P, and let Q = I − P. A matrix A ∈ ℝ5×5 is defined as A = 2P − 3Q. Which of the following statements are necessarily true?

    Select one or more options
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  2. Question 6HardNAT · 1 mark

    Consider the parameterized system x + y + z = 1 2x + 3y + 4z = 3 3x + 4y + (k + 2)z = 4 x + 2y + (k − 1)z = 2 Determine the number of real values of k for which the system has infinitely many solutions. Enter a non-negative integer. Answer: ______________

    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  3. Question 7HardMCQ · 1 mark

    Let 1 1 1 A =1 2 3. 1 3 6 Suppose A = LU, where L is unit lower triangular and U is upper triangular, obtained by Gaussian elimination without row exchanges. For the system Ax = b, where 1 b =2, 3 which option gives the correct pair (det(A), x3)?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  4. Question 8MCQ · 1 mark

    Let A ∈ ℝ4×3 have singular values σ1 = 3, σ2 = 2, σ3 = 0. Define B = ATA + 2I3. Let C = B−1ATA. Which of the following statements is correct?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST

Programming, Data Structures and Algorithms

  1. Question 9HardMCQ · 1 mark

    Consider the following Python implementation: Which statement correctly describes the output and the nodes reachable from head?

    class Node:
        def __init__(self, val):
            self.val = val
            self.next = None
    values = [1, 2, 3, 4, 5]
    nodes = [Node(x) for x in values]
    for i in range(4):
        nodes[i].next = nodes[i + 1]
    head = nodes[0]
    p = head.next
    q = p.next.next
    p.next = q.next
    q.next = head.next
    head.next = q
    cur = head
    encoded = 0
    count = 0
    while cur is not None:
        encoded = encoded * 10 + cur.val
        count += 1
        cur = cur.next
    print(encoded, count)
    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  2. Question 10NAT · 1 mark

    Consider a hash table of size 11, initially empty. The collision-resolution method is double hashing: h(k, i) = (k mod 11 + i(1 + k mod 7)) mod 11. The implementation is: insert(10) insert(21) delete(10) search(32) [Note: The question text is incomplete in the source — the remainder of search() and the sequence of insert/delete/search operations are missing. The question cannot be answered as given.] Determine the exact number of probes performed by the final unsuccessful search. Answer: ______________

    EMPTY = None
    DELETED = object()
    table = [EMPTY] * 11
    def insert(k):
                                for i in range(11):
                                                            j = (k % 11 + i * (1 + k % 7)) % 11
                                                            if table[j] is EMPTY or table[j] is DELETED:
                                                                                    table[j] = k
                                                                                    return j
                                return -1
    def delete(k):
                                for i in range(11):
                                                            j = (k % 11 + i * (1 + k % 7)) % 11
                                                            if table[j] is EMPTY:
                                                                                    return False
                                                            if table[j] is not DELETED and table[j] == k:
                                                                                    table[j] = DELETED
                                                                                    return True
                                return False
    def search(k):
                                probes = 0
                                for i in range(11):
                                                            j = (k % 11 + i * (1 + k % 7)) % 11
                                                            probes += 1
                                                            if table[j] is EMPTY:
                                                                                return probes
                                                            if table[j] is not DELETED and table[j] == k:
                                                                                    return probes
                                return probes
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  3. Question 11HardMCQ · 1 mark

    Consider this implementation of insertion sort: Here, comparisons counts only evaluations of a[j] > key, not the loop-boundary checks. Which option gives the correct pair (number of shifts, number of key comparisons)?

    def insertion_sort(a):
        n = len(a)
        shifts = 0
        comparisons = 0
        for i in range(1, n):
            key = a[i]
            j = i - 1
            while j >= 0:
                comparisons += 1
                if a[j] > key:
                    a[j + 1] = a[j]
                    shifts += 1
                    j -= 1
                else:
                    break
            a[j + 1] = key
        return a, shifts, comparisons
    a = [4, 2, 4, 1, 3, 2]
    print(insertion_sort(a))
    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  4. Question 12AIR 1 ChallengeMCQ · 1 mark

    Consider the following directed, unweighted graph. Every edge has weight 1. Adjacency list: A programmer wants to compute both: 1. The shortest distance from source S to every vertex. 2. The number of distinct shortest paths from S to every vertex. The following BFS implementation is used: Which option is correct?

    adj = {
        'S': ['A', 'B'],
        'A': ['C', 'D'],
        'B': ['C', 'E'],
        'C': ['F', 'G'],
        'D': ['F', 'G'],
        'E': ['F', 'G'],
        'F': ['T'],
        'G': ['T'],
        'T': []
    }
    from collections import deque
    def bfs_count(adj, source):
        dist = {source: 0}
        ways = {source: 1}
        q = deque([source])
        while q:
            u = q.popleft()
            for v in adj[u]:
                if v not in dist:
                    dist[v] = dist[u] + 1
                    ways[v] = ways[u]
                    q.append(v)
                elif dist[v] == dist[u] + 1:
                    ways[v] += ways[u]
        return dist, ways
    dist, ways = bfs_count(adj, 'S')
    print(dist['T'], ways['T'])
    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST

Database Management and Warehousing

  1. Question 13HardMCQ · 1 mark

    Consider the following relations: Employee(Eid, Dept, Salary) Eid Dept Salary 1 A 50000 2 A NULL 3 B 60000 4 B 60000 5 C 40000 Bonus(Eid, Amount) Eid Amount 1 5000 2 3000 3 NULL 6 7000 Execute the following SQL query: Which result is correct?

    SELECT E.Dept, COUNT(*) AS C1,
            COUNT(E.Salary) AS C2,
            SUM(B.Amount) AS S
    FROM Employee E
    LEFT JOIN Bonus B
    ON E.Eid = B.Eid
    WHERE E.Eid NOT IN (
        SELECT Eid
        FROM Bonus
        WHERE Amount IS NULL
    )
    GROUP BY E.Dept
    HAVING COUNT(*) >= 1;
    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  2. Question 14MCQ · 1 mark

    Consider the relation R(A, B, C, D, E) with functional dependencies F = { AB → C, C → D, D → E, E → B, B → A } Which of the following statements are correct?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  3. Question 15NAT · 1 mark

    A B+ tree stores integer keys in sorted order. Each internal node can contain at most 5 child pointers, and each leaf can contain at most 4 data entries. Assume: • Every non-root internal node is at least half full, rounded up in terms of child pointers. • Every non-root leaf is at least half full, rounded up in terms of data entries. • The root is exempt from minimum occupancy. • All data entries are stored only in leaves. • The tree has exactly 3 levels: root, internal nodes and leaves. What is the minimum number of data entries that such a tree can contain? Enter a non-negative integer. Answer: ______________

    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  4. Question 16AIR 1 ChallengeMCQ · 1 mark

    A retail warehouse contains the fact relation Sales(Date, Store, Product, Units, Revenue) with dimensions: • Date: Day → Month → Quarter → Year • Store: Store → City → State → Country • Product: SKU → Brand → Category The warehouse stores one fact row per (Date, Store, Product) combination. A report requires: For each country and product category, compute the average daily revenue per active store-day over the selected quarter. A store-day is active if at least one sale occurred for that store on that day, irrespective of product. The following two approaches are proposed: Approach I: Roll up the fact table directly to (Country, Category, Quarter) and compute AVG(Revenue). Approach II: First aggregate revenue across products for each (Day, Store), retain only active store-days, then aggregate these daily totals by (Country, Category, Quarter). Which statement is correct?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST

Machine Learning

  1. Question 17HardMCQ · 1 mark

    Consider the linear regression model y = Xβ + ε, where X ∈ ℝn×2 has orthogonal columns satisfying 4 0 T XX = . 0 16 The ridge estimator is defined by β̂λ = (XTX + λI)−1 XTy. Suppose the ordinary least-squares estimate is 3 β̂OLS = −2 and λ = 4. Which option gives the ridge estimate and its squared Euclidean distance from the OLS estimate?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  2. Question 18HardMSQ · 1 markLinear Algebra

    A centered dataset has covariance matrix 5 0 0 Σ =0 3 0. 0 0 2 PCA retains the first two principal components. Which statements are correct?

    Select one or more options
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  3. Question 19NAT · 1 mark

    Consider six one-dimensional data points: X = {0, 2, 3, 10, 11, 100}. Two clusters are formed using the following fixed initial representatives: • Cluster 1 representative: 2 • Cluster 2 representative: 11 First, assign each point to its nearest representative. In case of equal distance, assign it to Cluster 1. Then update representatives using the following rules: • K-means: replace each representative by the arithmetic mean of its assigned cluster. • K-medoids: replace each representative by the data point in its assigned cluster that minimizes the sum of absolute distances to all other points in that cluster. After one complete assignment-and-update iteration, calculate: K-means objective = Σj=12 Σx ∈ Cⱼ (x − μj)2. Enter the resulting K-means objective as a number. Answer: ______________

    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  4. Question 20HardNAT · 1 mark

    A binary logistic regression model is defined as P(y = 1 | x) = σ(wTx), where σ(z) = 1 / (1 + e−z). For a single training example, 1 0 x = , y = 1, w = . 2 ln 3 The negative log-likelihood loss is L(w) = −[ y ln p + (1 − y) ln(1 − p) ]. Which option gives the gradient ∇wL? −3/5 3/5 −1/4 −1/10

    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  5. Question 21MCQ · 1 mark

    Consider five points on the real line: P = {0, 2, 5, 9, 10}. Agglomerative hierarchical clustering is performed using Euclidean distance. Two algorithms are considered: • Algorithm S: Single-linkage • Algorithm C: Complete-linkage At each iteration, the pair of clusters with minimum inter-cluster distance is merged. Assume ties, if any, are resolved lexicographically by the smallest point in each cluster. After exactly two merges, determine the pair of clusters produced by each algorithm. Which option is correct?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST

Artificial Intelligence

  1. Question 22MSQ · 1 mark

    Consider a directed graph with start node S and goal node G. Edge costs are: S → A: 2, S → B: 1 A → B: 0.5, A → G: 5 B → G: 6 The heuristic values are: h(S) = 6, h(A) = 4, h(B) = 5, h(G) = 0. A* uses graph search with a CLOSED set and does not reopen expanded nodes. Which statements are correct?

    Select one or more options
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  2. Question 23HardMSQ · 1 mark

    Consider the following statements over a non-empty domain: ∀x [ P(x) → ∃y ( R(x, y) ∧ Q(y) ) ] ∀y [ Q(y) → ¬S(y) ] ∃x P(x) Which of the following is logically entailed?

    Select one or more options
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  3. Question 24NAT · 1 mark

    Consider the Bayesian network: A → C ← B, C → D, C → E All variables are binary. The joint distribution factorizes as P(A, B, C, D, E) = P(A) P(B) P(C | A, B) P(D | C) P(E | C). Suppose the query is P(A | D = d, E = e). Variable elimination is performed using the order: B, C, E. The query variable A and evidence variables D, E are not eliminated. What is the maximum number of variables in any intermediate factor, including the initial factors, but excluding constant factors after evidence reduction? Count the variables in the largest factor, not the number of entries in its table. Answer: ______________

    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST
  4. Question 25MCQ · 1 mark

    Consider the Bayesian network: A → B, A → C, B → D, C → D All variables are binary. We want to estimate P(A = 1 | D = 1). Two sampling methods are used: • Method I: Likelihood weighting, where evidence D = 1 is fixed and each sample receives weight P(D = 1 | B, C). • Method II: Gibbs sampling over non-evidence variables A, B, C, updating one variable at a time from its Markov blanket conditional distribution. Which statement is necessarily correct?

    Select one option
    Log in to save your answerCheck answer opens 5 Dec, 12:00 am IST

More daily sets