Skip to content
GATEiit

All subjects · 3 December 2026

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

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

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

Statistics and Probability

  1. Question 1Hard — MCQMCQ · 1 markProbability and Statistics

    Let 𝑋 and 𝑌 be jointly distributed random variables such that 𝐸[𝑋] = 0, 𝐸[𝑌] = 0, Var(𝑋) = 4 and 𝐸[𝑌 ∣ 𝑋] = 2𝑋, Var(𝑌 ∣ 𝑋) = 3 + 𝑋2. Which of the following is the value of the correlation coefficient between 𝑋 and 𝑌?

    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  2. Question 2Hard — NATNAT · 1 markProbability and Statistics

    Let 𝑋 ∼ Binomial(𝑛, 𝑝), where 𝑛 ≥ 3 and 0 < 𝑝 < 1. It is given that 12 𝑃(𝑋 = 1 ∣ 𝑋 ≥ 1) = 19 and 6 𝑃(𝑋 = 2 ∣ 𝑋 ≥ 1) = 19. Find the value of 𝐸[𝑋 ∣ 𝑋 ≥ 1]. Give your answer correct to three decimal places.

    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  3. Question 3Hard — MSQMSQ · 1 markProbability and Statistics

    A random sample of size 𝑛 is drawn independently from a normal population 𝑁(𝜇, 𝜎2), where both 𝜇 and 𝜎2 are unknown. Consider the following statements:

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

    Let 𝑋 and 𝑌 be independent exponential random variables with rates 𝜆 and 2𝜆, respectively, where 𝜆 > 0. Define 𝑈 = min(𝑋, 𝑌), 𝑉 = max(𝑋, 𝑌). Given that 𝑈 = 𝑢, where 𝑢 > 0, determine 𝑃(𝑋 < 𝑌 ∣ 𝑈 = 𝑢). Which option is correct?

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

Linear Algebra and Calculus & Optimization

  1. Question 5Hard — MSQMSQ · 1 markLinear Algebra

    Let 𝑃 ∈ ℝ4×4 satisfy 𝑃2 = 𝑃, rank(𝑃) = 2. Consider the following statements:

    Select one or more options
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  2. Question 6Hard — NATNAT · 1 markLinear Algebra

    Let 4 2 0 𝐴 = [2 4 0]. 0 0 3 Find the minimum value of 𝑓(𝑥) = 𝑥𝑇𝐴𝑥 subject to 𝑇 𝑥𝑥 = 5. Give your answer as an integer.

    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  3. Question 7Hard — MCQMCQ · 1 markLinear Algebra

    Consider the system 𝑥 + 𝑦 + 𝑧 = 1, 2𝑥 + 3𝑦 + 4𝑧 = 3, 3𝑥 + 4𝑦 + 5𝑧 = 4, 𝑥 + 2𝑦 + 3𝑧 = 2. Which statement correctly describes its solution set?

    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  4. Question 8AIR 1 Challenge — MCQMCQ · 1 markCalculus and Optimization

    For 𝑎 > 0, define 2 𝑥 𝑓𝑎(𝑥) = 1 + 𝑥2 + 𝑎ln(1 + 𝑥2), 𝑥 ∈ ℝ. Let 𝑀(𝑎) denote the number of distinct stationary points of 𝑓𝑎 on ℝ. Which statement is correct?

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

PDSA (Programming, Data Structures and Algorithms)

  1. Question 9Hard — MCQMCQ · 1 markProgramming, Data Structures and Algorithms

    Consider the following Python code: What is the output?

    class Node:
        def __init__(self, val):
            self.val = val
            self.next = None
    def transform(head):
        st = []
        cur = head
        while cur:
            if st and st[-1].val > cur.val:
                temp = st.pop()
                temp.next = cur.next
                cur.next = temp
            else:
                st.append(cur)
                cur = cur.next
        return head
    def display(head):
        ans = []
        while head:
            ans.append(head.val)
            head = head.next
        return ans
    values = [7, 3, 6, 2, 5]
    nodes = [Node(x) for x in values]
    for i in range(len(nodes)-1):
        nodes[i].next = nodes[i+1]
    head = transform(nodes[0])
    print(display(head))
    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  2. Question 10Hard — NATNAT · 1 markProgramming, Data Structures and Algorithms

    A hash table has 11 slots indexed from 0 to 10. It uses linear probing with ℎ(𝑘) = 𝑘 mod 11. The following operations are executed in order: Assume deletion uses a tombstone marker, and searches continue through tombstones but stop at a genuinely empty slot. During insertion, tombstone slots are treated as occupied and are not reused. Probing continues until a genuinely empty slot is found. How many key comparisons are performed by: Count a comparison only when the slot contains an actual key, not when it is empty or a tombstone.

    insert(22)
    insert(33)
    insert(44)
    insert(15)
    insert(26)
    delete(33)
    insert(55)
    insert(66)
    search(66)
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  3. Question 11Hard — MSQMSQ · 1 markProgramming, Data Structures and Algorithms

    Consider the following undirected weighted graph: The following implementation of Dijkstra’s algorithm is used: Which statements are correct when shortest(G, 'A') is executed?

    G = {
        'A': [('B', 4), ('C', 1)],
        'B': [('A', 4), ('C', 2), ('D', 1)],
        'C': [('A', 1), ('B', 2), ('D', 5), ('E', 8)],
        'D': [('B', 1), ('C', 5), ('E', 2)],
        'E': [('C', 8), ('D', 2)]
    }
    import heapq
    def shortest(G, src):
        dist = {v: float('inf') for v in G}
        dist[src] = 0
        pq = [(0, src)]
        visited = set()
        while pq:
            d, u = heapq.heappop(pq)
            if u in visited:
                continue
            visited.add(u)
            for v, w in G[u]:
                if dist[v] > d + w:
                    dist[v] = d + w
                    heapq.heappush(pq, (dist[v], v))
        return dist
    Select one or more options
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  4. Question 12MCQ · 1 markProgramming, Data Structures and Algorithms

    Consider this Python function: Now execute: Which option correctly gives the pair (B, count)?

    def solve(A):
        n = len(A)
        if n <= 1:
            return A, 0
        mid = n // 2
        L, c1 = solve(A[:mid])
        R, c2 = solve(A[mid:])
        i = j = 0
        merged = []
        cross = 0
        while i < len(L) and j < len(R):
            if L[i] <= R[j]:
                merged.append(L[i])
                i += 1
            else:
                merged.append(R[j])
                cross += len(L) - i
                j += 1
        merged.extend(L[i:])
        merged.extend(R[j:])
        return merged, c1 + c2 + cross
    A = [8, 3, 6, 2, 7, 1, 5, 4]
    B, count = solve(A)
    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST

DBMS (Database Management and Data Warehousing)

  1. Question 13Hard — MCQMCQ · 1 markDatabase Management and Warehousing

    Consider the following relations: Assume emp_id, dept_id and project_id are primary keys in their respective tables. Works has no duplicate (emp_id, project_id) pairs. Consider this query: Which statement is correct?

    Employee(emp_id, dept_id, salary)
    Department(dept_id, dept_name)
    Project(project_id, dept_id)
    Works(emp_id, project_id, hours)
    SELECT E.emp_id
    FROM Employee E
    WHERE E.salary > (
            SELECT AVG(E2.salary)
            FROM Employee E2
            WHERE E2.dept_id = E.dept_id
    )
    AND NOT EXISTS (
            SELECT 1
            FROM Works W
            JOIN Project P ON P.project_id = W.project_id
            WHERE W.emp_id = E.emp_id
                AND P.dept_id <> E.dept_id
    );
    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  2. Question 14Hard — NATNAT · 1 markDatabase Management and Warehousing

    A B+ tree index has maximum fan-out 4. Each internal node can contain at most 4 child pointers and hence at most 3 separator keys. Each leaf can store at most 3 data entries. The tree initially contains 9 distinct keys, inserted in ascending order using standard B+ tree insertion with leaf splitting and separator propagation. Assume: • A leaf splits into two leaves with 2 and 2 entries when it overflows. • An internal node splits when it gets 5 child pointers. • The root is split if necessary. • All nodes are kept at the same leaf depth. What is the total number of nodes (internal nodes + leaf nodes) after all 9 insertions?

    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  3. Question 15Hard — MSQMSQ · 1 markDatabase Management and Warehousing

    Consider relation 𝑅(𝐴, 𝐵, 𝐶, 𝐷, 𝐸) with functional dependencies 𝐹 = {𝐴 → 𝐵𝐶, 𝐶𝐷 → 𝐸, 𝐵 → 𝐷, 𝐸 → 𝐴}. Which of the following statements are correct?

    Select one or more options
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  4. Question 16MCQ · 1 markDatabase Management and Warehousing

    A data warehouse contains the following fact table: Assume that each row represents one product-region-month combination and there are no duplicate combinations. A query is executed: Suppose the aggregated monthly values are: Region Month Revenue Total quantity North 1 1200 100 North 2 1500 100 North 3 1500 150 South 1 900 60 South 2 1200 100 South 3 800 40 West 1 1000 50 West 2 700 20 What is the query output?

    Sales(
        product_id,
        region,
        month,
        quantity,
        unit_price
    )
    WITH Monthly AS (
        SELECT
            region,
            month,
            SUM(quantity * unit_price) AS revenue,
            SUM(quantity) AS total_qty
        FROM Sales
        GROUP BY region, month
    ),
    Ranked AS (
        SELECT
            region,
            month,
            revenue,
            total_qty,
            ROW_NUMBER() OVER (
                PARTITION BY region
                ORDER BY revenue DESC, month ASC
            ) AS rn
        FROM Monthly
    )
    SELECT
        SUM(revenue) / SUM(total_qty)
    FROM Ranked
    WHERE rn = 1;
    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST

Machine Learning

  1. Question 17Hard — MCQMCQ · 1 mark

    Consider binary logistic regression with two training examples: 𝑥1 = (1,1)𝑇, 𝑦1 = 1 𝑥2 = (1, −1)𝑇, 𝑦2 = 0 The model is 1 𝑝𝑖 = 𝜎(𝑤𝑇𝑥𝑖), 𝜎(𝑧) = 1 + 𝑒−𝑧. The average cross-entropy loss is 2 1 𝐿(𝑤) = − 2 ∑[𝑦𝑖ln𝑝𝑖 + (1 − 𝑦𝑖)ln(1 − 𝑝𝑖)]. 𝑖=1 Initially 𝑤 = (0,0)𝑇. One full-batch gradient descent update is performed with learning rate 𝜂 = 2. What is the updated value of 𝑤?

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

    Consider the no-intercept ridge regression problem: 𝛽̂ = argmin𝛽 [∥ 𝑋𝛽 − 𝑦 ∥ 2/2 + 2 ∥ 𝛽 ∥ 2/2 ] where 1 12 𝑋 = [1 −1] , 𝑦 = [0]. 2 03 Find the first component of the ridge estimate 𝛽̂. Give your answer correct to three decimal places.

    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  3. Question 19Hard — MSQMSQ · 1 mark

    Consider a linearly separable binary classification dataset. A hard-margin linear SVM is trained using 1 min𝑤,𝑏2 ∥ 𝑤 ∥2 subject to 𝑦𝑖(𝑤𝑇𝑥𝑖 + 𝑏) ≥ 1. Which statements are correct?

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

    Consider the following Python implementation: Assume the two groups for each attribute are intended as class-label lists. Which statement is correct?

    from math import log2
    def entropy(labels):
        n = len(labels)
        if n == 0:
            return 0
        counts = {}
        for x in labels:
            counts[x] = counts.get(x, 0) + 1
        return -sum(
            (c/n) * log2(c/n)
            for c in counts.values()
        )
    def information_gain(labels, groups):
        parent = entropy(labels)
        n = len(labels)
        child = 0
        for group in groups:
            child += len(group)/n * entropy(group)
        return parent - child
    Y = [1,1,1,1,0,0,0,0]
    A = [
        [1,1,1,0],
        [0,0,0,1]
    ]
    B = [
        [1,1,0,0],
        [1,0,0,0]
    ]
    print(information_gain(Y, A))
    print(information_gain(Y, B))
    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  5. Question 21MCQ · 1 mark

    Consider a neural network with one input, two hidden ReLU neurons and one linear output: ℎ1 = ReLU(𝑤1𝑥 + 𝑏1) ℎ2 = ReLU(𝑤2𝑥 + 𝑏2) 𝑦̂ = 𝑣1ℎ1 + 𝑣2ℎ2 + 𝑐 with loss 1 2 𝐿 = (𝑦̂ − 𝑦). 2 Initially, 𝑥 = 1, 𝑦 = 2 𝑤1 = 2, 𝑏1 = −1, 𝑤2 = −1, 𝑏2 = 2 𝑣1 = 1, 𝑣2 = 2, 𝑐 = 0. One simultaneous gradient descent update is performed on all parameters with learning rate 𝜂 = 0.5. The updated network is evaluated again at the same input 𝑥 = 1. What is the new prediction?

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

Artificial Intelligence

  1. Question 22Hard — MCQMCQ · 1 mark

    Consider the following directed graph. Each edge has the indicated cost. The following implementation is used: Which statement is correct?

    G = {
        'S': [('A', 2), ('B', 1)],
        'A': [('C', 2), ('G', 7)],
        'B': [('A', 1), ('D', 5)],
        'C': [('G', 2)],
        'D': [('G', 1)],
        'G': []
    }
    h = {
        'S': 4,
        'A': 3,
        'B': 4,
        'C': 2,
        'D': 1,
        'G': 0
    }
    import heapq
    def astar(G, h, start, goal):
        pq = [(h[start], 0, start)]
        visited = set()
        parent = {}
        while pq:
            f, g, u = heapq.heappop(pq)
            if u in visited:
                continue
            visited.add(u)
            if u == goal:
                path = [u]
                while u in parent:
                    u = parent[u]
                    path.append(u)
                return path[::-1], g
            for v, w in G[u]:
                if v not in visited:
                    ng = g + w
                    parent[v] = u
                    heapq.heappush(pq, (ng + h[v], ng, v))
        return None
    Select one option
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  2. Question 23Hard — NATNAT · 1 mark

    Consider a game tree in which MAX is the root and levels alternate between MIN and MAX. The leaves are evaluated from left to right using alpha-beta pruning. Assume: • The initial values are 𝛼 = −∞, 𝛽 = +∞. • Standard alpha-beta pruning is used. • A leaf is counted as evaluated only if its value is actually examined. How many leaf nodes are evaluated?

                                    MAX
                / | \
        MIN MIN MIN
        / \ / \ / \
    8 6 4 9 3 7
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  3. Question 24Hard — MSQMSQ · 1 mark

    Consider the Bayesian network: 𝐴 → 𝐶 ← 𝐵, 𝐶 → 𝐷, 𝐶 → 𝐸 All variables are binary. Which statements are correct?

    Select one or more options
    Log in to save your answerCheck answer opens 4 Dec, 12:00 am IST
  4. Question 25AIR 1 Challenge — MCQMCQ · 1 mark

    Consider the Bayesian network: 𝐴 → 𝐶, 𝐵 → 𝐶, 𝐶 → 𝐷, 𝐶 → 𝐸, 𝐷 → 𝐹, 𝐸 → 𝐹. All variables are binary. We want to compute 𝑃(𝐹 = 𝑓) using variable elimination, with elimination order 𝐴, 𝐵, 𝐷, 𝐸, 𝐶. Assume: • All initial CPT factors are retained. • Evidence is not observed. • The size of a factor is the number of entries in its full table. • The intermediate factor generated by eliminating a variable is counted, but the final scalar factor is not counted. What is the maximum number of entries in any intermediate factor generated during elimination?

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

More daily sets