GATE 2025 Data Science and Artificial Intelligence (DA) Questions with Solutions

GATE 2025

65 questions

MCQ 35 · MSQ 18 · NAT 121-mark 30 · 2-mark 35

Questions 46–50 of 65

Q46Data Warehouse Modelling2 marksMCQ−0.67 if wrong
Consider a fact table in an OLAP application: Facts(D1,D2D_1, D_2, val), where D1D_1 and D2D_2 are its dimension attributes and val is a dependent attribute. Suppose attribute D1D_1 takes 3 values and D2D_2 takes 2 values, and all combinations of these values are present in the table Facts. How many tuples are there in the result of the following query?

SELECT D1, D2, sum(val) FROM Facts
GROUP BY CUBE (D1, D2);

Q47Programming in Python2 marksMCQ−0.67 if wrong
Consider the following Python code snippet.

    A={"this","that"}
    B={"that","other"}
    C={"other","this"}
    while "other" in C:
        if "this" in A:
            A,B,C=A-B,B-C,C-A
        if "that" in B:
            A,B,C=C|A,A|B,B|C
When the above program is executed, at the end, which of the following sets contains "this"?

Q48Neural Networks2 marksMSQ
Which of the following statements is/are correct about the rectified linear unit (ReLU) activation function defined as ReLU(xx) = max(xx, 0), where x∈Rx \in \mathbb{R}?

One or more options are correct.

Q49Maxima, Minima and Optimization2 marksMSQ
Consider the function f(x)=x33+72x2+10x+1332,x∈[−8,0]f(x) = \frac{x^3}{3} + \frac{7}{2}x^2 + 10x + \frac{133}{2}, x \in [-8, 0]. Which of the following statements is/are correct?

One or more options are correct.

Q50Projections and Singular Value Decomposition2 marksMSQ
Let x1,x2,x3,x4,x5x_1, x_2, x_3, x_4, x_5 be a system of orthonormal vectors in R10\mathbb{R}^{10}. Consider the matrix A=x1x1T+...+x5x5TA = x_1 x_1^T + ... + x_5 x_5^T. Which of the following statements is/are correct?

One or more options are correct.