The PYQ practice room

GATE DA 2025 Set 1

All 65 solved GATE DA 2025 Set 1 questions in exam order. Open a question, commit to an answer, and learn from the step-by-step solution. One question at a time.

Attempt before revealInstant answer feedbackExplore questions
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.

Questions

65

Paper marks

100

Question formats

3

MCQ · MSQ · NAT

Revision mode

Self-paced

No timer. Focus on understanding.

Difficulty mixEasy 25Medium 39Hard 1

Explore the questions

65 of 65 questions

General Aptitude (GA)

10
  1. Think it through. Then check your answer.

    Question

    Courage : Bravery :: Yearning : __________
    Select the most appropriate option to complete the analogy.
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  2. Think it through. Then check your answer.

    Question

    We __________ tennis in the lawn when it suddenly started to rain.
    Select the most appropriate option to complete the above sentence.
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  3. Think it through. Then check your answer.

    Question

    A 4×44 \times 4 digital image has pixel intensities (UU) as shown in the figure. The number of pixels with U4U \le 4 is:
    0102
    4733
    5544
    6732
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  4. Think it through. Then check your answer.

    Question

    In the given figure, the numbers associated with the rectangle, triangle, and ellipse are 1, 2, and 3, respectively. Which one among the given options is the most appropriate combination of P, Q, and R ?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  5. Think it through. Then check your answer.

    Question

    A rectangle has a length L and a width W, where L > W. If the width, W, is increased by 10%, which one of the following statements is correct for all values of L and W?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  6. Think it through. Then check your answer.

    Question

    Column-I has statements made by Shanthala; and, Column-II has responses given by Kanishk.
    Column-IColumn-II
    P. This house is in a mess.1. Alright, I won't bring it up during our conversations.
    Q. I am not happy with the marks given to me.2. Well, you can easily look it up.
    R. Politics is a subject I avoid talking about.3. No problem, let me clear it up for you.
    S. I don't know what this word means.4. Don't worry, I will take it up with your teacher.
    Identify the option that has the correct match between Column-I and Column-II.
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  7. Think it through. Then check your answer.

    Question

    Weight of a person can be expressed as a function of their age. The function usually varies from person to person. Suppose this function is identical for two brothers, and it monotonically increases till the age of 50 years and then it monotonically decreases. Let a1a_1 and a2a_2 (in years) denote the ages of the brothers and a1<a2a_1 < a_2.
    Which one of the following statements is correct about their age on the day when they attain the same weight?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  8. Think it through. Then check your answer.

    Question

    A regular dodecagon (12-sided regular polygon) is inscribed in a circle of radius rr cm as shown in the figure. The side of the dodecagon is dd cm. All the triangles (numbered 1 to 12) in the figure are used to form squares of side rr cm and each numbered triangle is used only once to form a square.
    The number of squares that can be formed and the number of triangles required to form each square, respectively, are:
    Note: The figure shown is representative.
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  9. Think it through. Then check your answer.

    Question

    If a real variable xx satisfies 3x2=27×9x3^{x^2} = 27 \times 9^x, then the value of 2x2(2x)2\frac{2^{x^2}}{(2^x)^2} is:
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  10. Think it through. Then check your answer.

    Question

    The number of patients per shift (XX) consulting Dr. Gita in her past 100 shifts is shown in the figure. If the amount she earns is ₹ 1000(X0.2)1000(X - 0.2), what is the average amount (in ₹) she has earned per shift in the past 100 shifts?
    Bar chart showing the distribution of patients per shift
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page

Data Science & Artificial Intelligence - DA

55
  1. Think it through. Then check your answer.

    Question

    Suppose XX and YY are random variables. The conditional expectation of XX given YY is denoted by E[XY]E[X|Y]. Then E[E[XY]]E[E[X|Y]] equals
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  2. Think it through. Then check your answer.

    Question

    The number of additions and multiplications involved in performing Gaussian elimination on any n×nn \times n upper triangular matrix is of the order
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  3. Think it through. Then check your answer.

    Question

    The sum of the elements in each row of ARn×nA \in \mathbb{R}^{n \times n} is 1. If B=A32A2+AB = A^3 - 2A^2 + A, which one of the following statements is correct (for xRnx \in \mathbb{R}^n)?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  4. Think it through. Then check your answer.

    Question

    Let f(x)=exex2,xRf(x) = \frac{e^x - e^{-x}}{2}, x \in \mathbb{R}. Let f(k)(a)f^{(k)}(a) denote the kthk^{th} derivative of ff evaluated at aa.
    What is the value of f(10)(0)f^{(10)}(0)? (Note: ! denotes factorial)
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  5. Think it through. Then check your answer.

    Question

    Let pp and qq be any two propositions. Consider the following propositional statements.
    S1:pq,S2:¬pq,S3:¬pq,S4:¬p¬q,S_1 : p \rightarrow q, S_2 : \neg p \wedge q, S_3 : \neg p \vee q, S_4 : \neg p \vee \neg q,
    where \wedge denotes conjunction (AND operation), \vee denotes disjunction (OR operation), and ¬\neg denotes negation (NOT operation). Which one of the following options is correct?
    (Note: \equiv denotes logical equivalence)
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  6. Think it through. Then check your answer.

    Question

    If a relational decomposition is not dependency-preserving, which one of the following relational operators will be executed more frequently in order to maintain the dependencies?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  7. Think it through. Then check your answer.

    Question

    Consider the following three relations:
    Car (model, year, serial, color)
    Make (maker, model)
    Own (owner, serial)
    A tuple in Car represents a specific car of a given model, made in a given year, with a serial number and a color. A tuple in Make specifies that a maker company makes cars of a certain model. A tuple in Own specifies that an owner owns the car with a given serial number. Keys are underlined; (owner, serial) together form key for Own. (\bowtie denotes natural join)πowner(Own(σcolor=“red”(Car(σmaker=“ABC”Make))))\pi_{\text{owner}}(\text{Own} \bowtie (\sigma_{\text{color}=\text{“red”}}(\text{Car} \bowtie (\sigma_{\text{maker}=\text{“ABC”}}\text{Make}))))Which one of the following options describes what the above expression computes?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  8. Think it through. Then check your answer.

    Question

    Consider a hash table of size 10 with indices {0,1,,9}\{0, 1, \dots, 9\}, with the hash functionh(x)=3x(mod10),h(x) = 3x \pmod{10},where linear probing is used to handle collisions. The hash table is initially empty and then the following sequence of keys is inserted into the hash table: 1,4,5,6,14,151, 4, 5, 6, 14, 15. The indices where the keys 1414 and 1515 are stored are, respectively
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  9. Think it through. Then check your answer.

    Question

    Let XX be a continuous random variable whose cumulative distribution function (CDF) FX(x)F_X(x), for some tt, is given as follows:FX(x)={0xtxt4ttx41x4F_X(x) = \begin{cases} 0 & x \le t \\ \frac{x-t}{4-t} & t \le x \le 4 \\ 1 & x \ge 4 \end{cases}If the median of XX is 3, then what is the value of tt?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  10. Think it through. Then check your answer.

    Question

    Let X=aZ+bX = aZ + b, where ZZ is a standard normal random variable, and a,ba, b are two unknown constants. It is given thatE[X]=1,E[(XE[X])Z]=2,E[(XE[X])2]=4,E[X] = 1, \quad E[(X - E[X])Z] = -2, \quad E[(X - E[X])^2] = 4,where E[X]E[X] denotes the expectation of random variable XX. The values of a,ba, b are:
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  11. Think it through. Then check your answer.

    Question

    It is given that P(X2)=0.25P(X \geq 2) = 0.25 for an exponentially distributed random variable XX with E[X]=1λE[X] = \frac{1}{\lambda}, where E[X]E[X] denotes the expectation of XX. What is the value of λ\lambda?
    (ln denotes natural logarithm)
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  12. Think it through. Then check your answer.

    Question

    Consider designing a linear classifiery=sign(f(x;w,b)),f(x;w,b)=wx+by = \text{sign}(f(x;w, b)), \quad f(x;w, b) = w^\top x + bon a dataset D={(x1,y1),(x2,y2),,(xN,yN)}D = \{(x_1, y_1),(x_2, y_2), \dots ,(x_N, y_N)\}, xiRdx_i \in \mathbb{R}^d, yi{+1,1}y_i \in \{+1, -1\}, i=1,2,,Ni = 1, 2, \dots, N. Recall that the sign function outputs +1+1 if the argument is positive, and 1-1 if the argument is non-positive. The parameters ww and bb are updated as per the following training algorithm:wnew=wold+ynxn,bnew=bold+ynw_{new} = w_{old} + y_n x_n, \quad b_{new} = b_{old} + y_nwhenever sign(f(xn;wold,bold))yn\text{sign}(f(x_n;w_{old}, b_{old})) \neq y_n. In other words, whenever the classifier wrongly predicts a sample (xn,yn)(x_n, y_n) from the dataset, woldw_{old} gets updated to wneww_{new}, and likewise boldb_{old} gets updated to bnewb_{new}. Consider the case (xn,+1)(x_n, +1), f(xn;wold,bold)<0f(x_n;w_{old}, b_{old}) < 0. Then
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  13. Think it through. Then check your answer.

    Question

    Consider the following Python declarations of two lists.
    A=[1,2,3]
    B=[4,5,6]
    

    Which one of the following statements results in A= [1, 2, 3, 4, 5, 6]?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  14. Think it through. Then check your answer.

    Question

    Consider two functions f:RRf : \mathbb{R} \to \mathbb{R} and g:R(1,)g : \mathbb{R} \to (1, \infty). Both functions are differentiable at a point cc. Which of the following functions is/are ALWAYS differentiable at cc? The symbol \cdot denotes product and the symbol \circ denotes composition of functions.
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  15. Think it through. Then check your answer.

    Question

    Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  16. Think it through. Then check your answer.

    Question

    Which of the following statements is/are correct in a Bayesian network?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  17. Think it through. Then check your answer.

    Question

    For which of the following inputs does binary search take time O(logn)O(\log n) in the worst case?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  18. Think it through. Then check your answer.

    Question

    Let A=In+xxA = I_n + xx^\top, where InI_n is the n×nn \times n identity matrix and xRnx \in \mathbb{R}^n, xx=1x^\top x = 1. Which of the following options is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  19. Think it through. Then check your answer.

    Question

    Suppose that insertion sort is applied to the array [1,3,5,7,9,11,x,15,13][1, 3, 5, 7, 9, 11, x, 15, 13] and it takes exactly two swaps to sort the array. Select all possible values of xx.
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  20. Think it through. Then check your answer.

    Question

    Let C1C_1 and C2C_2 be two sets of objects. Let D(x,y)D(x, y) be a measure of dissimilarity between two objects xx and yy. Consider the following definitions of dissimilarity between C1C_1 and C2C_2.DIS-1(C1,C2)=maxxC1,yC2D(x,y)\textbf{DIS-1}(C_1, C_2) = \max_{x \in C_1, y \in C_2} D(x, y)DIS-2(C1,C2)=minxC1,yC2D(x,y)\textbf{DIS-2}(C_1, C_2) = \min_{x \in C_1, y \in C_2} D(x, y)Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  21. Think it through. Then check your answer.

    Question

    There are three boxes containing white balls and black balls.
    Box-1 contains 2 black and 1 white balls.
    Box-2 contains 1 black and 2 white balls.
    Box-3 contains 3 black and 3 white balls.
    In a random experiment, one of these boxes is selected, where the probability of choosing Box-1 is 12\frac{1}{2}, Box-2 is 16\frac{1}{6}, and Box-3 is 13\frac{1}{3}. A ball is drawn at random from the selected box. Given that the ball drawn is white, the probability that it is drawn from Box-2 is ______________ (Round off to two decimal places)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  22. Think it through. Then check your answer.

    Question

    limt+t2+tt=__________\lim_{t\to+\infty} \sqrt{t^2 + t} - t = \_\_\_\_\_\_\_\_\_\_(Round off to one decimal place)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  23. Think it through. Then check your answer.

    Question

    On a relation named Loan of a bank:
    Loan
    loan_numberbranch_nameamount
    L11Banjara Hills90000
    L14Kondapur50000
    L15SR Nagar40000
    L22SR Nagar25000
    L23Balanagar80000
    L25Kondapur70000
    L19SR Nagar65000
    the following SQL query is executed.
    SELECT L1.loan_number
    FROM Loan L1
    WHERE L1.amount > (SELECT MAX (L2.amount)
                       FROM Loan L2
                       WHERE L2.branch_name = 'SR Nagar');
    
    The number of rows returned by the query is ______________ (Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  24. Think it through. Then check your answer.

    Question

    Given data {(1,1),(2,5),(3,5)}\{(-1, 1), (2, -5), (3, 5)\} of the form (x,y)(x, y), we fit a model y=wxy = wx using linear least-squares regression. The optimal value of ww is __________ (Round off to three decimal places)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  25. Think it through. Then check your answer.

    Question

    The naive Bayes classifier is used to solve a two-class classification problem with class labels y1,y2y_1, y_2. Suppose the prior probabilities are P(y1)=13P(y_1) = \frac{1}{3} and P(y2)=23P(y_2) = \frac{2}{3}. Assuming a discrete feature space with P(xy1)=34P(x|y_1) = \frac{3}{4} and P(xy2)=14P(x|y_2) = \frac{1}{4} for a specific feature vector xx. The probability of misclassifying xx is __________ (Round off to two decimal places)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  26. Think it through. Then check your answer.

    Question

    Let Y=Z2,Z=XμσY = Z^2, Z = \frac{X - \mu}{\sigma}, where XX is a normal random variable with mean μ\mu and variance σ2\sigma^2. The variance of YY is
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  27. Think it through. Then check your answer.

    Question

    Let ARn×nA \in \mathbb{R}^{n \times n} be such that A3=AA^3 = A. Which one of the following statements is ALWAYS correct?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  28. Think it through. Then check your answer.

    Question

    Let {x1,x2,,xn}\{x_1, x_2, \dots, x_n\} be a set of linearly independent vectors in Rn\mathbb{R}^n. Let the (i,j)(i, j)-th element of matrix ARn×nA \in \mathbb{R}^{n \times n} be given by Aij=xixjA_{ij} = x_i^\top x_j, 1i,jn1 \le i, j \le n. Which one of the following statements is correct?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  29. Think it through. Then check your answer.

    Question

    Consider the cumulative distribution function (CDF) of a random variable XX:FX(x)={0x114(x+1)21x11x1F_X(x) = \begin{cases} 0 & x \le -1 \\ \frac{1}{4}(x+1)^2 & -1 \le x \le 1 \\ 1 & x \ge 1 \end{cases}The value of P(X20.25)P(X^2 \le 0.25) is
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  30. Think it through. Then check your answer.

    Question

    A random variable XX is said to be distributed as Bernoulli(θ)Bernoulli(\theta), denoted by XBernoulli(θ)X \sim Bernoulli(\theta), ifP(X=1)=θ,P(X=0)=1θP(X = 1) = \theta, \quad P(X = 0) = 1 - \thetafor 0<θ<10 < \theta < 1. Let Y=i=1300XiY = \sum_{i=1}^{300} X_i, where XiBernoulli(θ),i=1,2,,300X_i \sim Bernoulli(\theta), i = 1, 2, \dots, 300 be independent and identically distributed random variables with θ=0.25\theta = 0.25. The value of P(60Y90)P(60 \le Y \le 90), after approximation through Central Limit Theorem, is given by
    (Recall that ϕ(x)=12πxet22dt\phi(x) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^x e^{-\frac{t^2}{2}} dt)
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  31. Think it through. Then check your answer.

    Question

    For xRx \in \mathbb{R}, the floor function is denoted by f(x)=xf(x) = \lfloor x \rfloor and defined as followsx=k,kx<k+1,\lfloor x \rfloor = k, \quad k \le x < k + 1,where kk is an integer. Let Y=XY = \lfloor X \rfloor, where XX is an exponentially distributed random variable with mean 1ln10\frac{1}{\ln 10}, where ln\ln denotes natural logarithm. For any positive integer \ell, one can write the probability of the event Y=Y = \ell as followsP(Y=)=q(1q)P(Y = \ell) = q^\ell (1 - q)The value of qq is
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  32. Think it through. Then check your answer.

    Question

    Consider the neural network shown in the figure with
    inputs: u,vu, v
    weights: a,b,c,d,e,fa, b, c, d, e, f
    output: yy
    RR denotes the ReLU function, R(x)=max(0,x)R(x) = \max(0, x).
    Neural network with inputs u, v connected to two hidden neurons with ReLU activation, which connect to output y

    Given u=2,v=3u = 2, v = 3,
    a=1,b=1,c=1,d=1,e=4,f=1a = 1, b = 1, c = 1, d = -1, e = 4, f = -1,
    which one of the following is correct?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  33. Think it through. Then check your answer.

    Question

    Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output of the utility function.
    Two game trees, Tree-1 and Tree-2, illustrating alpha-beta pruning. Tree-1 has a MAX root A with a leaf child 2 and a MIN child B. B has children x and 1. Tree-2 has a MAX root C with MIN children D and E. D has children 5 and y. E has children 2 and a triangle node representing a subtree.
    For what ranges of xx and yy, the right child of node BB and the right child of node EE will be pruned by alpha-beta pruning algorithm?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  34. Think it through. Then check your answer.

    Question

    The state graph shows the action cost along the edges and the heuristic function hh associated with each state.
    A state graph with nodes S, A, B, C, D, E, G. Edge costs: S→A=4, S→E=1, A→B=2, E→B=2, B→C=2, C→D=3, D→G=3. Heuristic values: h(A)=2, h(B)=2, h(C)=6, h(E)=6, h(D)=2, h(G)=0.
    Suppose AA^* algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  35. Think it through. Then check your answer.

    Question

    A random experiment consists of throwing 100 fair dice, each die having six faces numbered 1 to 6. An event AA represents the set of all outcomes where at least one of the dice shows a 1. Then, P(A)=P(A) =
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  36. Think it through. Then check your answer.

    Question

    Consider a fact table in an OLAP application: Facts(D1, D2, val), where D1 and D2 are its dimension attributes and val is a dependent attribute. Suppose attribute D1 takes 3 values and D2 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);
    
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  37. Think it through. Then check your answer.

    Question

    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"?
    Your answer

    Choose one option, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  38. Think it through. Then check your answer.

    Question

    Which of the following statements is/are correct about the rectified linear unit (ReLU) activation function defined as ReLU(x)=max(x,0)\text{ReLU}(x) = \max(x, 0), where xRx \in \mathbb{R}?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  39. Think it through. Then check your answer.

    Question

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

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  40. Think it through. Then check your answer.

    Question

    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=x1x1++x5x5A = x_1 x_1^\top + \dots + x_5 x_5^\top. Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  41. Think it through. Then check your answer.

    Question

    Let f:RRf : \mathbb{R} \to \mathbb{R} be a twice-differentiable function and suppose its second derivative satisfies f(x)>0f''(x) > 0 for all xRx \in \mathbb{R}. Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  42. Think it through. Then check your answer.

    Question

    An n×nn \times n matrix AA with real entries satisfies the property: Ax2=x2\|Ax\|^2 = \|x\|^2, for all xRnx \in \mathbb{R}^n, where \|\cdot\| denotes the Euclidean norm. Which of the following statements is/are ALWAYS correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  43. Think it through. Then check your answer.

    Question

    Consider designing a linear binary classifier f(x)=sign(wx+b),xR2f(x) = \text{sign}(w^\top x + b), x \in \mathbb{R}^2 on the following training data:
    Class-1: {(20),(02),(22)}\left\{ \begin{pmatrix} 2 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 2 \end{pmatrix}, \begin{pmatrix} 2 \\ 2 \end{pmatrix} \right\}, Class-2: {(00)}\left\{ \begin{pmatrix} 0 \\ 0 \end{pmatrix} \right\}Hard-margin support vector machine (SVM) formulation is solved to obtain ww and bb.
    Which of the following options is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  44. Think it through. Then check your answer.

    Question

    Consider a coin-toss experiment where the probability of head showing up is pp. In the ithi^{th} coin toss, let Xi=1X_i = 1 if head appears, and Xi=0X_i = 0 if tail appears. Considerp^=1ni=1nXi\hat{p} = \frac{1}{n} \sum_{i=1}^n X_iwhere nn is the total number of independent coin tosses.
    Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  45. Think it through. Then check your answer.

    Question

    Consider a two-class problem in Rd\mathbb{R}^d with class labels red and green. Let μred\mu_{red} and μgreen\mu_{green} be the means of the two classes. Given test sample xRdx \in \mathbb{R}^d, a classifier calculates the squared Euclidean distance (denoted by 2\| \cdot \|^2) between xx and the means of the two classes and assigns the class label that the sample xx is closest to. That is, the classifier computesf(x)=μredx2μgreenx2f(x) = \|\mu_{red} - x\|^2 - \|\mu_{green} - x\|^2and assigns the label red to xx if f(x)<0f(x) < 0, and green otherwise. Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  46. Think it through. Then check your answer.

    Question

    Consider the following two relations, named Customer and Person, in a database:
    Person (
    aadhaar CHAR(12) PRIMARY KEY,
    name VARCHAR(32));
    
    Customer (
    name VARCHAR(32),
    email VARCHAR(32) PRIMARY KEY,
    phone CHAR(10),
    aadhaar CHAR(12),
    FOREIGN KEY (aadhaar) REFERENCES Person(aadhaar));
    
    Which of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  47. Think it through. Then check your answer.

    Question

    Consider a database relation R with attributes ABCDEFG, and having the following functional dependencies:ABCEFEDGBCAA \to BCEF \qquad E \to DG \qquad BC \to AWhich of the following statements is/are correct?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  48. Think it through. Then check your answer.

    Question

    Let GG be a simple, unweighted, and undirected graph. A subset of the vertices and edges of GG are shown below.
    A subset of vertices and edges of graph G showing vertices a, b, c, d in one row and e, f, g, h in another, with some edges between them.
    It is given that abcda - b - c - d is a shortest path between aa and dd; efghe - f - g - h is a shortest path between ee and hh; afcha - f - c - h is a shortest path between aa and hh. Which of the following is/are NOT the edges of GG?
    Your answer

    Select all that apply, then check your answer.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  49. Think it through. Then check your answer.

    Question

    Let f:RRf : \mathbb{R} \to \mathbb{R} be such that f(x)f(y)(xy)2|f(x) - f(y)| \leq (x - y)^2 for all x,yRx, y \in \mathbb{R}. Then f(1)f(0)=______f(1) - f(0) = \_\_\_\_\_\_ (Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  50. Think it through. Then check your answer.

    Question

    Let D={x(1),,x(n)}D = \{x^{(1)}, \dots, x^{(n)}\} be a dataset of nn observations where each x(i)R100x^{(i)} \in \mathbb{R}^{100}. It is given that i=1nx(i)=0\sum_{i=1}^{n} x^{(i)} = 0. The covariance matrix computed from DD has eigenvalues λi=1002i,1i100\lambda_i = 100^{2-i}, 1 \leq i \leq 100. Let uR100u \in \mathbb{R}^{100} be the direction of maximum variance with uu=1u^\top u = 1. The value of1ni=1n(ux(i))2=______\frac{1}{n} \sum_{i=1}^{n} (u^\top x^{(i)})^2 = \_\_\_\_\_\_(Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  51. Think it through. Then check your answer.

    Question

    A bag contains 5 white balls and 10 black balls. In a random experiment, nn balls are drawn from the bag one at a time with replacement. Let SnS_n denote the total number of black balls drawn in the experiment.
    The expectation of S100S_{100} denoted by E[S100]=E[S_{100}] = __________
    (Round off to one decimal place)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  52. Think it through. Then check your answer.

    Question

    Consider the following tables, Loan and Borrower, of a bank.
    Loan
    loan_numbranch_nameamount
    L11Banjara Hills90000
    L14Kondapur50000
    L15SR Nagar40000
    L22SR Nagar25000
    L23Balanagar80000
    L25Kondapur70000
    L19SR Nagar65000
    Borrower
    customer_nameloan_num
    AnandL11
    KarteekL11
    KarteekL14
    AnkitaL15
    GopalL19
    KarteekL22
    KarteekL23
    SunilL23
    SunilL25
    Query: πbranch_name, customer_name(LoanBorrower)÷πbranch_name(Loan)\pi_{\text{branch\_name, customer\_name}}(\text{Loan} \bowtie \text{Borrower}) \div \pi_{\text{branch\_name}}(\text{Loan})
    where \bowtie denotes natural join.
    The number of tuples returned by the above relational algebra query is __________
    (Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  53. Think it through. Then check your answer.

    Question

    Consider the following Python code snippet.
    def f(a,b):
        if (a==0):
            return b
        if (a%2==1):
            return 2*f((a-1)/2,b)
        return b+f(a-1,b)
    
    print(f(15,10))
    
    The value printed by the code snippet is __________ (Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  54. Think it through. Then check your answer.

    Question

    Consider the following pseudocode.
    Create empty stack S
    Set x=0, flag=0, sum=0
    Push x onto S
    while (S is not empty){
        if (flag equals 0){
            Set x = x+1
            Push x onto S}
        if (x equals 8):
            Set flag=1
        if (flag equals 1){
            x = Pop(S)
            if (x is odd):
                Pop(S)
            Set sum = sum + x}
    }
    Output sum
    
    The value of sum output by a program executing the above pseudocode is ________ (Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page
  55. Think it through. Then check your answer.

    Question

    Consider a directed graph G=(V,E)G = (V, E), where V={0,1,2,,100}V = \{0, 1, 2, \dots, 100\} and
    E={(i,j):0<ji2,for all i,jV}E = \{(i, j) : 0 < j - i \le 2, \text{for all } i, j \in V \}. Suppose the adjacency list of each vertex is in decreasing order of vertex number, and depth-first search (DFS) is performed at vertex 0. The number of vertices that will be discovered after vertex 50 is ________ (Answer in integer)
    Your answer

    Enter a number. Decimals, negative values and scientific notation are accepted.

    Restoring your progress…

    The solution stays hidden until you check.
    Open question page