GATE DA
    Test Series
    Verified Solutions Included

    Numerical Computation & Estimation, Programming Fundamentals, Matrices… Test for GATE DA: 23 Questions with Solutions & Analysis

    Attempt the Numerical Computation & Estimation, Programming Fundamentals, Matrices… test for GATE DA: 23 exam-level questions, detailed solutions and performa

    23 Qs

    Total Questions

    35 Marks

    Total Marks

    1.05 Mins

    Duration

    Section-wise Paper Structure

    Programming, Data Structures and Algorithms

    5 Qs

    22% of total marks

    Probability and Statistics

    4 Qs

    17% of total marks

    Database Management and Warehousing

    4 Qs

    17% of total marks

    Machine Learning

    3 Qs

    13% of total marks

    Quantitative Aptitude

    2 Qs

    9% of total marks

    Linear Algebra

    2 Qs

    9% of total marks

    Artificial Intelligence

    2 Qs

    9% of total marks

    Calculus and Optimization

    1 Qs

    4% of total marks

    Free Solved Questions with Step-by-Step Solutions

    Authentic examination problems with detailed derivations and answer keys.

    Question 1
    2025 PYQ
    Level 3: Exam Standard
    Consider the following Python declarations of two lists.

    A=[1,2,3]
    B=[4,5,6]

    Which one of the following statements results in ?
    Question 2
    2024 PYQ
    Level 3: Exam Standard
    Consider the following Python code:
    def count(child_dict, i):
    if i not in child_dict.keys():
    return 1
    ans = 1
    for j in child_dict[i]:
    ans += count(child_dict, j)
    return ans
    child_dict = dict()
    child_dict[0] = [1,2]
    child_dict[1] = [3,4,5]
    child_dict[2] = [6,7,8]
    print(count(child_dict,0))
    Which ONE of the following is the output of this code?
    Question 3
    2026 PYQ
    Level 3: Exam Standard
    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)?
    Question 4
    2024 PYQ
    Level 3: Exam Standard
    The probability of a boy or a girl being born is 1/2. For a family having only
    three children, what is the probability of having two girls and one boy?
    Question 5
    2024 PYQ
    Level 3: Exam Standard
    Three fair coins are tossed independently. is the event that two or more tosses
    result in heads. is the event that two or more tosses result in tails.
    What is the probability of the event ?
    Question 6
    2026 PYQ
    Level 3: Exam Standard
    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?
    Question 7
    2025 PYQ
    Level 3: Exam Standard
    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. ( denotes natural join)


    Which one of the following options describes what the above expression computes?
    Question 8
    2024 PYQ
    Level 3: Exam Standard
    Consider a database that includes the following relations:
    Defender(name, rating, side, goals)
    Forward(name, rating, assists, goals)
    Team(name, club, price)
    Which ONE of the following relational algebra expressions checks that every name
    occurring in Team appears in either Defender or Forward, where denotes the
    empty set?
    Question 9
    2026 PYQ
    Level 3: Exam Standard
    Consider the given relations and . The relation has three columns and . The relation has three columns and . The relation has two columns and .


         
    P1   Q1   R1
    P2   Q2   R2
    P3   Q3   R2


         
    P1   Q1   2
    P1   Q2   5
    P2   Q1   6
    P3   Q3   1


      
    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?
    Question 10
    2026 PYQ
    Level 3: Exam Standard
    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)
    Question 11
    2026 PYQ
    Level 3: Exam Standard

    Which of the following statements is true for Ridge Regression?

    Question 12
    2026 PYQ
    Level 3: Exam Standard
    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)
    Question 13
    2026 PYQ
    Level 3: Exam Standard

    The product of the digits of a three-digit number is 70. The sum of the digits of this three-digit number is _____

    Question 14
    2026 PYQ
    Level 3: Exam Standard
    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 __________
    Question 15
    2025 PYQ
    Level 3: Exam Standard

    The number of additions and multiplications involved in performing Gaussian elimination on any upper triangular matrix is of the order

    Question 16
    2025 PYQ
    Level 3: Exam Standard
    Let be a dataset of observations where each . It is given that . The covariance matrix computed from has eigenvalues , . Let be the direction of maximum variance with .

    The value of


    (Answer in integer)
    Question 17
    2026 PYQ
    Level 3: Exam Standard

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

    Question 18
    2024 PYQ
    Level 3: Exam Standard
    Consider a state space where the start state is number 1. The successor function for
    the state numbered n returns two states numbered n+1 and n+2. Assume that the
    states in the unexpanded state list are expanded in the ascending order of numbers
    and the previously expanded states are not added to the unexpanded state list.
    Which ONE of the following statements about breadth-first search (BFS) and
    depth-first search (DFS) is true, when reaching the goal state number 6?
    Question 19
    2026 PYQ
    Level 3: Exam Standard

    The value of is ______________ . (Answer in integer)

    Unlock All 23 Questions in Real Examination Mode

    Practice with the authentic timer, on-screen calculator, instant percentile ranking, and section-wise analytics.

    More GATE DA Test Series

    Free preview ends here

    Login to view the complete test and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Numerical Computation & Estimation, Programming Fundamentals, Matrices… Test for GATE DA: 23 Questions with Solutions & Analysis

    Attempt the Numerical Computation & Estimation, Programming Fundamentals, Matrices… test for GATE DA: 23 exam-level questions, detailed solutions and performance analysis. First questions free.

    Paper breakdown

    23 questions · 35 marks · 1.05 minutes. Programming, Data Structures and Algorithms: 5 · Probability and Statistics: 4 · Database Management and Warehousing: 4 · Machine Learning: 3 · Quantitative Aptitude: 2 · Linear Algebra: 2 · Artificial Intelligence: 2 · Calculus and Optimization: 1

    Free sample questions from Numerical Computation & Estimation, Programming Fundamentals, Matrices…

    Question 1 · Programming, Data Structures and Algorithms · 2025 MCQ
    Consider the following Python declarations of two lists.

    A=[1,2,3]
    B=[4,5,6]

    Which one of the following statements results in ?
    1. A.

      A.extend(B)

    2. B.

      A.append(B)

    3. C.

      A.update(B)

    4. D.

      A.insert(B)

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: The question tests the difference between adding an iterable as a single nested object versus flattening its elements into the existing list.

    Exam route: Eliminate options that use non-existent list methods or wrong argument counts. Between the remaining two, recall that extend flattens while append nests.

    Learning route:

    1. A.extend(B): The extend method iterates over the argument B and adds each element (4, 5, 6) one by one to A. The final list is [1, 2, 3, 4, 5, 6]. This matches the requirement.
    2. A.append(B): The append method adds the entire object B as a single element at the end of A. The final list becomes [1, 2, 3, [4, 5, 6]]. This does not match.
    3. A.update(B): The update method is not defined for Python lists (it is used for sets and dictionaries). Calling this raises an AttributeError.
    4. A.insert(B): The insert method requires exactly two arguments: an index and an element. Providing only one argument raises a TypeError.

    Therefore, A.extend(B) is the only statement that produces the desired flat list.

    Question 2 · Programming, Data Structures and Algorithms · 2024 MCQ
    Consider the following Python code:
    def count(child_dict, i):
    if i not in child_dict.keys():
    return 1
    ans = 1
    for j in child_dict[i]:
    ans += count(child_dict, j)
    return ans
    child_dict = dict()
    child_dict[0] = [1,2]
    child_dict[1] = [3,4,5]
    child_dict[2] = [6,7,8]
    print(count(child_dict,0))
    Which ONE of the following is the output of this code?
    1. A.

      6

    2. B.

      1

    3. C.

      8

    4. D.

      9

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: The function computes the total number of nodes in a tree represented by an adjacency list, where each node counts itself (ans = 1) and adds the counts of its children via return values.

    Exam route: Draw the tree. Root 0 has children 1, 2. Node 1 has 3, 4, 5. Node 2 has 6, 7, 8. Total nodes = 1 (root) + 1 (node 1) + 3 (leaves of 1) + 1 (node 2) + 3 (leaves of 2) = 9.

    Learning route: Trace using stack frames. Frame 0 calls Frame 1 and Frame 2. Frame 1 calls 3, 4, 5 which return 1 each. Frame 1 returns . Frame 2 similarly returns 4. Frame 0 returns . The key is that ans = 1 resets in every frame, so it is return-value aggregation, not a shared global counter.

    Question 3 · Programming, Data Structures and Algorithms · 2026 MCQ
    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

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The total number of function calls follows a recurrence relation , where the accounts for the current function call itself.

    Exam route: Compute iteratively from base cases. . Then , , , .

    Learning route: Draw the recursion tree for mystery(4). The root is 1 call. It branches to mystery(3) and mystery(2). Count all nodes in this call tree. Total nodes = 15. Note that mystery(0) and mystery(-1) are base cases that make 1 call each and return immediately without further branching.

    Question 4 · Probability and Statistics · 2024 MCQ
    The probability of a boy or a girl being born is 1/2. For a family having only
    three children, what is the probability of having two girls and one boy?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: This is a classic binomial probability problem where the probability of success (girl) is 0.5, and we want exactly 2 successes in 3 trials.

    Exam route: 3 children, exactly 2 girls. Number of arrangements = 3C2 = 3. Total outcomes = 2^3 = 8. Probability = 3/8.

    Learning route: The sample space for a family of 3 children has equally likely outcomes (since prob of boy/girl is 1/2). We want exactly 2 girls and 1 boy. The favorable outcomes are GGB, GBG, and BGG. There are 3 such outcomes. The probability is the ratio of favorable to total outcomes: . Alternatively, using the binomial formula: .

    Question 5 · Probability and Statistics · 2024 MCQ
    Three fair coins are tossed independently. is the event that two or more tosses
    result in heads. is the event that two or more tosses result in tails.
    What is the probability of the event ?
    1. A.

      0

    2. B.

      0.5

    3. C.

      0.25

    4. D.

      1

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: In 3 tosses, you cannot have 2 or more heads AND 2 or more tails simultaneously because that requires at least 4 tosses.

    Exam route: T requires >= 2 heads, S requires >= 2 tails. Total coins = 3. Max heads + Max tails = 3. The intersection is empty. Probability = 0.

    Learning route: The sample space for 3 fair coins has 8 equally likely outcomes. Event T (>= 2 heads) consists of {HHH, HHT, HTH, THH}. Event S (>= 2 tails) consists of {TTT, TTH, THT, HTT}. The intersection T ∩ S requires an outcome to have at least 2 heads and at least 2 tails, which means at least 4 coins. Since we only have 3 coins, T ∩ S = ∅. Therefore, P(T ∩ S) = 0.

    Question 6 · Probability and Statistics · 2026 MCQ
    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.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The product of a subset is even if at least one element is even. It is much easier to calculate the complement: the product is odd if and only if ALL elements in the subset are odd.

    Exam route: Total non-empty subsets of is . There are 1013 odd numbers in . Non-empty subsets containing only odd numbers is . Probability of odd product is . Probability of even product is .

    Learning route: The set contains 1013 odd numbers and 1013 even numbers. A subset product is odd if and only if every element in the subset is odd. The number of non-empty subsets formed entirely from the 1013 odd numbers is . The total number of non-empty subsets of is . The probability that a randomly chosen non-empty subset has an odd product is . Using the complement rule, the probability that the product is even is . Factoring out gives .

    Question 7 · Database Management and Warehousing · 2025 MCQ
    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. ( denotes natural join)


    Which one of the following options describes what the above expression computes?
    1. A.

      All owners of a red car, a car made by ABC, or a red car made by ABC

    2. B.

      All owners of more than one car, where at least one car is red and made by ABC

    3. C.

      All owners of a red car made by ABC

    4. D.

      All red cars made by ABC

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The expression nests joins and selections from inside out. Each operation restricts the data further, culminating in owners of cars that are both red and made by ABC.

    Exam route: Trace from the innermost selection outward, identifying what each step filters or joins.

    Learning route:

    Step 1: → models made by ABC.

    Step 2: → cars of those models (joined on model).

    Step 3: → red cars among those (further filtered).

    Step 4: → ownership records for those cars (joined on serial).

    Step 5: → owner names.

    Interpretation: The expression finds all owners who own a car that is both red and made by ABC.

    Why others fail:

    • Option A suggests a union (red OR ABC OR both), but the joins act as intersection (AND).
    • Option B adds a condition about "more than one car", which is not present.
    • Option D omits the Own join and owner projection, so it would return cars, not owners.

    Verification: If a car is red and made by ABC, and an owner owns it, that owner appears in the result. This matches option C.

    Question 8 · Database Management and Warehousing · 2024 MCQ
    Consider a database that includes the following relations:
    Defender(name, rating, side, goals)
    Forward(name, rating, assists, goals)
    Team(name, club, price)
    Which ONE of the following relational algebra expressions checks that every name
    occurring in Team appears in either Defender or Forward, where denotes the
    empty set?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: "Every name in Team appears in Defender or Forward" is a subset statement: .

    Exam route: Rewrite subset as set difference equals empty set: .

    Learning route:

    Step 1: Let , , .

    Step 2: The English condition is: every element of is in or in . That is .

    Step 3: The standard relational algebra test for is .

    Step 4: Substitute: .

    Step 5: This matches option C exactly.

    Why others fail:

    • Option A uses instead of , which would mean every team name is in both D and F.
    • Option B tests , the reverse direction with intersection.
    • Option D tests , the reverse direction.

    Verification: If T = {a, b}, D = {a, b, c}, F = {b, d}, then D ∪ F = {a, b, c, d}, T \ (D ∪ F) = ∅. Correct.

    Question 9 · Database Management and Warehousing · 2026 MCQ
    Consider the given relations and . The relation has three columns and . The relation has three columns and . The relation has two columns and .


         
    P1   Q1   R1
    P2   Q2   R2
    P3   Q3   R2


         
    P1   Q1   2
    P1   Q2   5
    P2   Q1   6
    P3   Q3   1


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

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: Evaluate each sub-expression independently, then join the two results on their common attributes (P, Q, S). The join yields zero rows because the surviving tuples have no matching keys.

    Exam route: Compute left side and right side of the outer join separately, then check for matching (P, Q, S) values.

    Learning route:

    Step 1: Compute (natural join on P, Q).

    X: (P1,Q1,R1), (P2,Q2,R2), (P3,Q3,R2)

    Y: (P1,Q1,2), (P1,Q2,5), (P2,Q1,6), (P3,Q3,1)

    Matches: (P1,Q1) → (P1,Q1,R1,2); (P3,Q3) → (P3,Q3,R2,1).

    Result: {(P1,Q1,R1,2), (P3,Q3,R2,1)}.

    Step 2: Apply .

    (P1,Q1,R1,2): Q=Q1 (F), R=R1 (F) → F.

    (P3,Q3,R2,1): Q=Q3 (T) → T.

    Left result: {(P3,Q3,R2,1)}.

    Step 3: Compute (natural join on P).

    Y: (P1,Q1,2), (P1,Q2,5), (P2,Q1,6), (P3,Q3,1)

    Z: (P1,T1), (P3,T2), (P4,T3), (P4,NULL)

    Matches: P1 → (P1,Q1,2,T1), (P1,Q2,5,T1); P3 → (P3,Q3,1,T2).

    Result: {(P1,Q1,2,T1), (P1,Q2,5,T1), (P3,Q3,1,T2)}.

    Step 4: Apply .

    S=2 > 1 → T; S=5 > 1 → T; S=1 > 1 → F.

    Right result: {(P1,Q1,2,T1), (P1,Q2,5,T1)}.

    Step 5: Join left and right on common attributes (P, Q, S).

    Left: (P3, Q3, R2, S=1).

    Right: (P1, Q1, S=2, T1), (P1, Q2, S=5, T1).

    No match on P (P3 vs P1), Q (Q3 vs Q1/Q2), or S (1 vs 2/5).

    Final result: Zero rows.

    Verification: The left side has P3, Q3, S=1. The right side has P1, Q1/Q2, S=2/5. No overlap on any common attribute.

    Question 10 · Machine Learning · 2026 NAT
    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)
    Correct Answer:

    9.00

    Step-by-Step Solution

    Insight: In SGD, the parameter update is . The gradient of with respect to is simply .

    Exam route: Gradient = . Update = .

    Learning route:

    1. Identify the objective function to minimize: .
    2. Compute the gradient with respect to the parameter : .
    3. Substitute the current input for iteration : . So, the gradient is $10.00$.
    4. Apply the SGD update rule: .
    5. Calculate: .
    Question 11 · Machine Learning · 2026 MCQ

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

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: Ridge regression uses L2 regularization, which shrinks weights to reduce model variance at the cost of a slight increase in bias, thereby preventing overfitting.

    Exam route: Evaluate each option. A is backwards (overfitting is good on train, bad on test). B is Lasso. C is nonsensical. D correctly describes the bias-variance tradeoff.

    Learning route:

    1. Option A is false. Regularization guards against overfitting, which is when a model works well on training data but poorly on test data, not the other way around.
    2. Option B is false. Ridge Regression uses the norm (). The norm is used by Lasso Regression.
    3. Option C is false. The L2 penalty shrinks all weights symmetrically towards zero, regardless of whether they are positive or negative.
    4. Option D is true. By adding a penalty term, we restrict the model's flexibility. This intentionally introduces a small amount of bias to achieve a larger reduction in variance, improving generalization to unseen data.
    Question 12 · Machine Learning · 2026 NAT
    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)
    Correct Answer:

    7.00

    Step-by-Step Solution

    Insight: The regularized loss for a single instance is the sum of the instance's prediction error (MAE) and the L2 regularization penalty on the weights.

    Exam route: Calculate MAE = |y_true - y_pred|. Calculate L2 penalty = \lambda ||w||_2^2. Add them together.

    Learning route:

    1. Compute y_true: The relation is y_true = x_1 + x_2. For x = [1.00, 2.00]^T, y_true = 1.00 + 2.00 = 3.00.
    2. Compute y_pred: y_pred = w^T x = (-3.00)(1.00) + (4.00)(2.00) = -3.00 + 8.00 = 5.00.
    3. Compute MAE: |y_true - y_pred| = |3.00 - 5.00| = |-2.00| = 2.00.
    4. Compute L2 penalty: \lambda ||w||_2^2 = 0.20 \times ((-3.00)^2 + (4.00)^2) = 0.20 \times (9.00 + 16.00) = 0.20 \times 25.00 = 5.00.
    5. Total regularized loss: MAE + L2 penalty = 2.00 + 5.00 = 7.00.
    Question 13 · Quantitative Aptitude · 2026 MCQ

    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

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: The product of three single digits is 70, so factorise 70 into three single-digit factors first; the sum follows immediately.

    Exam route: . These are the only three single-digit factors (any other factorisation like uses a non-digit). Sum .

    Learning route:

    Step 1: Prime factorise .

    Step 2: We need three single digits such that .

    Step 3: Since , and all three are single digits, the only valid triple is . Any attempt to introduce a 1 (e.g. ) forces a factor , which is not a digit.

    Step 4: Sum .

    Trap: Using gives sum 18, but 10 is not a single digit.

    Verification: ✓, and ✓.

    Question 14 · Quantitative Aptitude · 2026 MCQ
    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

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Let and (consecutive). Then . The units digit of this expression must equal , and is the tens digit of . This double role of is the key constraint.

    Exam route:

    Step 1: , where .

    Step 2: Try (since for to be 3-digit). or .

    Step 3: . Check each:

    • : (not distinct).
    • : . But (not distinct).
    • : . (not distinct).
    • : . . Digits all distinct. ✓

    Step 4: .

    Learning route:

    The constraint that is both the tens digit of and the units digit of is the pivot. We express and . The equation forces . Since , we test small (as for 3-digit result). Only yields all distinct digits.

    Trap: Ignoring that must be the tens digit of leads to , but .

    Verification: . . . All digits distinct. ✓

    Question 15 · Linear Algebra · 2025 MCQ

    The number of additions and multiplications involved in performing Gaussian elimination on any upper triangular matrix is of the order

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: An upper triangular matrix already has all the zeros that forward elimination would create, so the cubic phase collapses to zero work. The only cost left is the quadratic back-substitution phase.

    Exam route:

    1. Recognise the matrix structure: for all .
    2. Forward elimination has nothing to eliminate below any pivot cost .
    3. The task "perform Gaussian elimination" means the complete solve (elimination + back substitution).
    4. Back substitution on an upper triangular system uses multiplications and the same number of additions.
    5. Total additions + multiplications .

    Learning route:

    Gaussian elimination has two phases. Phase 1 (forward elimination) converts by zeroing entries below each pivot. For a general dense matrix this costs additions and multiplications, i.e. . Phase 2 (back substitution) solves from the bottom row upward, costing additions and multiplications, i.e. .

    When the input is already upper triangular, every entry below the diagonal is already zero. At pivot step , there are no entries in column below row to remove, so no row updates are performed. Forward elimination contributes exactly $0$ operations.

    The system still must be solved, so back substitution runs in full. Variable requires multiplications and additions. Summing over gives of each, for a combined total of , which is .

    The common wrong path is to memorise "Gaussian elimination is " and answer without inspecting the matrix structure. That ignores the fact that the cubic cost comes entirely from the row updates that this matrix does not need.

    Verification: For , back substitution does multiplications and $3$ additions, total , matching . Growth is clearly quadratic, not cubic.

    Question 16 · Linear Algebra · 2025 NAT
    Let be a dataset of observations where each . It is given that . The covariance matrix computed from has eigenvalues , . Let be the direction of maximum variance with .

    The value of


    (Answer in integer)
    Correct Answer:

    50

    Step-by-Step Solution

    Key idea: This is a PCA maximum variance direction problem. The expression given is the definition of variance along a direction, which is maximized by the largest eigenvalue of the covariance matrix.

    Step 1: Recognize that the dataset has mean zero (). Thus, the covariance matrix is given by .

    Step 2: The expression to evaluate is . Notice that .

    Step 3: Substitute this into the sum: .

    Step 4: The problem states that is the direction of maximum variance with . By the properties of PCA, the maximum variance along any unit vector is the largest eigenvalue of the covariance matrix .

    Step 5: The eigenvalues are given as for . The largest eigenvalue occurs at , which is .

    Step 6: Therefore, .

    Answer: 50

    Question 17 · Artificial Intelligence · 2026 MCQ

    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

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Uninformed search algorithms rely solely on the problem definition (states, actions, costs) without any domain-specific knowledge to guide the search toward the goal.

    Exam route: Identify which algorithm uses a heuristic function . BFS, DFS, and Depth-limited Search explore blindly. A* Search explicitly uses , making it an informed (heuristic) search.

    Learning route:

    Step 1: Define Uninformed Search: Algorithms that have no additional information about states beyond the problem definition. They do not know if a move brings them closer to the goal. Examples: BFS, DFS, Uniform Cost Search, Depth-limited Search, Iterative Deepening DFS.

    Step 2: Define Informed Search: Algorithms that use problem-specific knowledge (a heuristic function ) to estimate the cost to the goal and prioritize promising paths. Examples: A* Search, Greedy Best-First Search.

    Step 3: Evaluate the options: Breadth First Search, Depth First Search, and Depth-limited Search are all classic uninformed strategies. A* Search is the quintessential informed search algorithm.

    Answer: A* Search.

    Question 18 · Artificial Intelligence · 2024 MCQ
    Consider a state space where the start state is number 1. The successor function for
    the state numbered n returns two states numbered n+1 and n+2. Assume that the
    states in the unexpanded state list are expanded in the ascending order of numbers
    and the previously expanded states are not added to the unexpanded state list.
    Which ONE of the following statements about breadth-first search (BFS) and
    depth-first search (DFS) is true, when reaching the goal state number 6?
    1. A.

      BFS expands more states than DFS.

    2. B.

      DFS expands more states than BFS.

    3. C.

      Both BFS and DFS expand equal number of states.

    4. D.

      Both BFS and DFS do not reach the goal state number 6.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The problem explicitly overrides standard BFS/DFS selection rules by stating "states in the unexpanded state list are expanded in the ascending order of numbers".

    Exam route: Since both algorithms are forced to pick the smallest numbered state from the unexpanded list at every step, their expansion sequence will be identical. Thus, they expand the same number of states.

    Learning route:

    Step 1: Initialize unexpanded list with start state: {1}.

    Step 2: Pop 1 (min). Successors: 2, 3. Unexpanded: {2, 3}.

    Step 3: Pop 2 (min). Successors: 3, 4. Unexpanded: {3, 4}.

    Step 4: Pop 3 (min). Successors: 4, 5. Unexpanded: {4, 5}.

    Step 5: Pop 4 (min). Successors: 5, 6. Unexpanded: {5, 6}.

    Step 6: Pop 5 (min). Successors: 6, 7. Unexpanded: {6, 7}.

    Step 7: Pop 6 (min). Goal state 6 reached.

    Expanded states for both BFS and DFS: 1, 2, 3, 4, 5, 6. Total = 6 states.

    Answer: Both BFS and DFS expand equal number of states.

    Question 19 · Calculus and Optimization · 2026 NAT

    The value of is ______________ . (Answer in integer)

    Correct Answer:

    1.00

    Step-by-Step Solution

    Insight: The summand is a product of a function of alone and a function of alone, so the double sum separates into the product of two independent geometric series.

    Exam route: Split . Evaluate each geometric series using , then multiply.

    Learning route:

    This is a separable double summation question, recognisable because the general term factors cleanly into .

    Step 1 — Apply the separation rule (Fubini for positive terms):

    Step 2 — First geometric series ( starts at $0$, ratio ):

    Step 3 — Second geometric series ( starts at $1$, ratio , first term ):

    Step 4 — Multiply:

    Trap check: A common mistake is to start the -sum at $0$ instead of $1$, which would give and a wrong total of $3$. Always read the lower limit carefully.

    Verification: Evaluate the inner sum first: . Then . Confirmed.

    The answer is $1$.

    More GATE DA tests