GATE DA
    Test Series
    Verified Solutions Included

    Numerical Computation & Estimation, Data Structures, Vector Spaces… Test for GATE DA: 25 Questions with Solutions & Analysis

    Attempt the Numerical Computation & Estimation, Data Structures, Vector Spaces… test for GATE DA: 25 exam-level questions, detailed solutions and performance

    25 Qs

    Total Questions

    39 Marks

    Total Marks

    1.17 Mins

    Duration

    Section-wise Paper Structure

    Probability and Statistics

    6 Qs

    24% of total marks

    Programming, Data Structures and Algorithms

    4 Qs

    16% of total marks

    Database Management and Warehousing

    4 Qs

    16% of total marks

    Linear Algebra

    3 Qs

    12% of total marks

    Quantitative Aptitude

    2 Qs

    8% of total marks

    Machine Learning

    2 Qs

    8% of total marks

    Calculus and Optimization

    2 Qs

    8% of total marks

    Verbal Aptitude

    1 Qs

    4% of total marks

    Spatial Aptitude

    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
    Let be a continuous random variable whose cumulative distribution function (CDF) , for some , is given as follows:


    If the median of is , then what is the value of ?
    Question 2
    2025 PYQ
    Level 3: Exam Standard
    Let , where is a standard normal random variable, and are two unknown constants. It is given that


    where denotes the expectation of random variable . The values of are:
    Question 3
    2025 PYQ
    Level 3: Exam Standard
    Consider the cumulative distribution function (CDF) of a random variable :


    The value of is
    Question 4
    2025 PYQ
    Level 3: Exam Standard
    Consider a hash table of size with indices , with the hash function


    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: . The indices where the keys and are stored are, respectively
    Question 5
    2024 PYQ
    Level 3: Exam Standard
    Consider performing uniform hashing on an open address hash table with load
    factor , where elements are stored in the table with slots. The
    expected number of probes in an unsuccessful search is at most
    .
    Inserting an element in this hash table requires at most ______ probes, on average.
    Question 6
    2026 PYQ
    Level 3: Exam Standard
    You are given the following Pre-order and In-order traversals of a Binary Tree T with nodes E, F, G, P, Q, R, S.
    Pre-order: P Q S E R F G
    In-order: S Q E P F R G
    Which of the following statements is/are true about the Binary Tree T?
    Question 7
    2026 PYQ
    Level 3: Exam Standard
    Let R(A,B,C,D,E) be a relational schema with functional dependency set .
    Which of the following statements is correct?
    Question 8
    2026 PYQ
    Level 3: Exam Standard
    Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
    Which of the following operations will NEVER violate the foreign key constraint?
    Question 9
    2025 PYQ
    Level 3: Exam Standard
    Question 10
    2025 PYQ
    Level 3: Exam Standard

    The sum of the elements in each row of is . If , which one of the following statements is correct (for )?

    Question 11
    2025 PYQ
    Level 3: Exam Standard

    Let be such that . Which one of the following statements is ALWAYS correct?

    Question 12
    2024 PYQ
    Level 3: Exam Standard
    Let be the set of real numbers, be a subspace of and be the
    matrix corresponding to the projection on to the subspace .
    Which of the following statements is/are TRUE?
    Question 13
    2026 PYQ
    Level 3: Exam Standard
    Five integers are picked from 0 to 20, with possible repetitions, such that their mean is 12, median is 18, and they have a single mode of 20.
    Ignoring permutations, the number of ways to pick these five integers is _____
    Question 14
    2024 PYQ
    Level 3: Exam Standard
    Person 1 and Person 2 invest in three mutual funds A, B, and C. The amounts they
    invest in each of these mutual funds are given in the table.

    Mutual fund AMutual fund BMutual fund C
    Person 1₹10,000₹20,000₹20,000
    Person 2₹20,000₹15,000₹15,000

    At the end of one year, the total amount that Person 1 gets is ₹500 more than
    Person 2. The annual rate of return for the mutual funds B and C is 15% each. What
    is the annual rate of return for the mutual fund A?
    Question 15
    2026 PYQ
    Level 3: Exam Standard
    For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from 100 to 10.
    Which of the following options is true about the angle between the first and the tenth principal components?
    Question 16
    2026 PYQ
    Level 3: Exam Standard
    Consider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X’s stories, 6 were classified as that of Y. On the other hand, out of Y’s stories, 2 were classified as that of X.

    Considering X and Y as two classes, which of the following statements is/are true?
    Question 17
    2024 PYQ
    Level 3: Exam Standard
    Let be a function. Note: denotes the set of real numbers.

    Which ONE of the following choices gives the values of that make the
    function continuous and differentiable?
    Question 18
    2025 PYQ
    Level 3: Exam Standard
    Let be such that for all . Then

    (Answer in integer)
    Question 19
    2026 PYQ
    Level 3: Exam Standard
    ‘My friend and I parted __ the door __ the cabin that I had rented __ the night.’
    Choose the option with the correct sequence of words to fill the blanks.
    Question 20
    2025 PYQ
    Level 3: Exam Standard
    In the given figure, the numbers associated with the rectangle, triangle, and ellipse are and , respectively. Which one among the given options is the most appropriate combination of and ?

    1 2 4 3 P Q R

    Unlock All 25 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, Data Structures, Vector Spaces… Test for GATE DA: 25 Questions with Solutions & Analysis

    Attempt the Numerical Computation & Estimation, Data Structures, Vector Spaces… test for GATE DA: 25 exam-level questions, detailed solutions and performance analysis. First questions free.

    Paper breakdown

    25 questions · 39 marks · 1.17 minutes. Probability and Statistics: 6 · Programming, Data Structures and Algorithms: 4 · Database Management and Warehousing: 4 · Linear Algebra: 3 · Quantitative Aptitude: 2 · Machine Learning: 2 · Calculus and Optimization: 2 · Verbal Aptitude: 1 · Spatial Aptitude: 1

    Free sample questions from Numerical Computation & Estimation, Data Structures, Vector Spaces…

    Question 1 · Probability and Statistics · 2025 MCQ
    Let be a continuous random variable whose cumulative distribution function (CDF) , for some , is given as follows:


    If the median of is , then what is the value of ?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: The median of a continuous random variable is the value where the CDF equals 0.5. Set and solve for .

    Exam route: .

    Multiply both sides by : .

    .

    .

    Learning route: This is a quantile question in reverse. Instead of finding the probability for a given , we are given the probability (0.5 for the median) and the value (3), and must find the unknown parameter . For a continuous, strictly increasing CDF, the median satisfies . We substitute into the middle piece of the CDF, set it to 0.5, and solve the resulting linear equation for . We must also verify that the solution makes sense (the support becomes , and the median 3 lies inside it).

    Question 2 · Probability and Statistics · 2025 MCQ
    Let , where is a standard normal random variable, and are two unknown constants. It is given that


    where denotes the expectation of random variable . The values of are:
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: The term is exactly the covariance because .

    Exam route: Since , and . From , . Then . The variance condition gives , so . The covariance condition gives . Thus .

    Learning route: We are given three expectations involving and . First, we use the linearity of expectation on . Since is standard normal, its mean is 0 and variance is 1, meaning and .

    Step 1: Find . . We are given , so .

    Step 2: Simplify . Substituting , we get .

    Step 3: Use the variance condition. We are given . Substituting , we get . Thus, , which means or .

    Step 4: Use the covariance condition. We are given . Substituting , we get . Thus, .

    Combining these, we get and . This matches the first option.

    Question 3 · Probability and Statistics · 2025 MCQ
    Consider the cumulative distribution function (CDF) of a random variable :


    The value of is
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Rewrite the transformed event as a standard interval , then extract the probability using the CDF.

    Exam route: .

    .

    .

    Probability = .

    Learning route: This is a transformed event question, recognizable because the condition is on rather than directly. For continuous variables, we first solve the inequality: . Then we use the interval probability formula . We evaluate the correct piece of the piecewise CDF for both bounds. Since both $0.5$ and fall in the interval , we use the quadratic piece. Subtracting the lower CDF value from the upper gives the exact probability mass in that interval.

    Question 4 · Programming, Data Structures and Algorithms · 2025 MCQ
    Consider a hash table of size with indices , with the hash function


    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: . The indices where the keys and are stored are, respectively
    1. A.

      and

    2. B.

      and

    3. C.

      and

    4. D.

      and

    Correct Answer:

    D

    Step-by-Step Solution

    Key idea: This is a hash table tracing question, recognizable because it provides a specific hash function, collision resolution strategy, and a sequence of keys to insert.

    Step 1: Understand the hash function and table size. The table has size 10 (indices 0 to 9). The hash function is .

    Step 2: Trace the insertion of each key sequentially using linear probing.

    • Insert 1: . Index 3 is empty. Place 1 at index 3.
    • Insert 4: . Index 2 is empty. Place 4 at index 2.
    • Insert 5: . Index 5 is empty. Place 5 at index 5.
    • Insert 6: . Index 8 is empty. Place 6 at index 8.
    • Insert 14: . Index 2 is occupied (by 4).
    • Probe 1: . Index 3 is occupied (by 1).
    • Probe 2: . Index 4 is empty. Place 14 at index 4.
    • Insert 15: . Index 5 is occupied (by 5).
    • Probe 1: . Index 6 is empty. Place 15 at index 6.

    Step 3: Identify the final indices. Key 14 is at index 4, and key 15 is at index 6.

    Answer: D

    Question 5 · Programming, Data Structures and Algorithms · 2024 MCQ
    Consider performing uniform hashing on an open address hash table with load
    factor , where elements are stored in the table with slots. The
    expected number of probes in an unsuccessful search is at most
    .
    Inserting an element in this hash table requires at most ______ probes, on average.
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a probe complexity question, recognizable because it asks for the expected number of probes for a specific hash table operation under the uniform hashing assumption.

    Step 1: Recall the mechanics of insertion in open addressing. To insert a new element, the algorithm must find an empty slot in the hash table.

    Step 2: Relate insertion to search operations. Finding an empty slot is logically identical to an unsuccessful search, which probes sequentially until it finds an empty slot (indicating the key is not present).

    Step 3: Apply the uniform hashing formula. The problem states that the expected number of probes for an unsuccessful search is at most .

    Step 4: Conclude the complexity. Since the insertion process requires exactly the same probing sequence as an unsuccessful search, its expected number of probes is also .

    Answer: B

    Question 6 · Programming, Data Structures and Algorithms · 2026 MSQ
    You are given the following Pre-order and In-order traversals of a Binary Tree T with nodes E, F, G, P, Q, R, S.
    Pre-order: P Q S E R F G
    In-order: S Q E P F R G
    Which of the following statements is/are true about the Binary Tree T?
    1. A.

      Node P is the root of T

    2. B. The Post-order traversal of T is:
      S E Q F G R P
    3. C.

      Node Q has only one child

    4. D.

      The left subtree of node R contains the node G

    Correct Answer:

    ["A","B"]

    Step-by-Step Solution

    Insight: Reconstruct the tree using the standard Pre-order and In-order split method.

    Exam route: Root is P. Left In-order has 3 elements, Right has 3. Split Pre-order accordingly. Build left and right subtrees. Check options.

    Learning route:

    Step 1: Root is the first element in Pre-order: P.

    Step 2: Find P in In-order. Left of P is S, Q, E (size 3). Right of P is F, R, G (size 3).

    Step 3: Split remaining Pre-order (Q, S, E, R, F, G) into Left Pre-order (Q, S, E) and Right Pre-order (R, F, G).

    Step 4: Left subtree: Pre (Q, S, E), In (S, Q, E). Root is Q. Left In is S, Right In is E. So Q has left child S, right child E.

    Step 5: Right subtree: Pre (R, F, G), In (F, R, G). Root is R. Left In is F, Right In is G. So R has left child F, right child G.

    Step 6: Evaluate options.

    A) P is root. (True)

    B) Post-order is Left Post + Right Post + Root. Left Post: S, E, Q. Right Post: F, G, R. Total: S, E, Q, F, G, R, P. (True)

    C) Q has two children (S and E). (False)

    D) G is in the right subtree of R. (False)

    Question 7 · Database Management and Warehousing · 2026 MCQ
    Let R(A,B,C,D,E) be a relational schema with functional dependency set .
    Which of the following statements is correct?
    1. A.

      AD, ED and CD are the only candidate keys of R.

    2. B.

      AD and ED are the only candidate keys of R.

    3. C.

      A, E and CD are the only candidate keys of R.

    4. D.

      A and CD are the only candidate keys of R.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: appears only on left-hand sides so it must sit in every candidate key, appears only on right-hand sides so it can never sit in one — then only three combinations remain to close.

    Exam route: , and all equal and each is minimal, so the keys are , , — option A.

    Learning route:

    Step 1 — the trigger. Every option ends with "the only candidate keys", so the task is exhaustive enumeration plus a minimality proof, not one convenient closure.

    Step 2 — classify by appearance in .

    : left in , right in — both sides.

    : right only — never in a candidate key. (Whenever is known, comes free from , and every key here eventually reaches , directly or through ; so deleting from a key would leave the closure intact, and a key containing could not be minimal.)

    : left in , right in — both sides.

    : left only — must be in every candidate key.

    : left in , right in — both sides.

    Step 3 — every candidate key is together with a subset of . Test the three single additions.

    : gives ; now fires and adds , giving all of . Check minimality: stops there because needs , and . Both proper subsets fail, so is a candidate key.

    : gives ; gives ; completes . Minimality: , . So is a candidate key.

    : gives ; gives all of . Minimality: — it never acquires — and . So is a candidate key.

    Any two- or three-element addition is a proper superset of one of these three, so none is minimal.

    Step 4 — the candidate keys are exactly , , . Option A.

    Second pass by back-substitution: option B claims only and , but we just computed with both proper subsets failing, so a genuine third key is missing and B is incomplete. Options C and D both include : , missing and , so is not a key at all; option C also includes , whose closure is missing . Only option A survives both checks.

    The tempting wrong path: compute , watch fill in three attributes, glance at and declare a key because "it reached almost everything". That produces option C, and its trimmed twin option D. The break is the single line where the closure is compared with : is absent, and is precisely the attribute nothing in can produce.

    Generalisation: an attribute that never appears on a right-hand side must be physically present in every key — never let a closure "almost" cover the relation.

    Verification: , and each close to all of and each loses that property when either attribute is removed; , , alone and every set containing all fail. Three keys, matching option A exactly.

    Question 8 · Database Management and Warehousing · 2026 MSQ
    Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
    Which of the following operations will NEVER violate the foreign key constraint?
    1. A.

      Inserting records into relation r

    2. B.

      Deleting records from relation s

    3. C.

      Deleting records from relation r

    4. D.

      Inserting records into relation s

    Correct Answer:

    ["A","B"]

    Step-by-Step Solution

    Insight: Foreign key constraints restrict child inserts/updates and parent deletes/updates, but never restrict parent inserts or child deletes.

    Exam route: Identify parent (R) and child (S). Parent insert = safe. Child delete = safe.

    Learning route:

    Referential integrity dictates that a foreign key in the child table must match an existing primary key in the parent table.

    When you insert into the parent (R), you are adding a new valid target. No existing child can reference it yet, so no constraint is violated.

    When you delete from the child (S), you are removing a reference. The parent remains intact, and no orphaned records are created in the child, so no constraint is violated.

    Conversely, deleting from the parent (R) might leave orphaned records in S, and inserting into the child (S) might reference a non-existent parent in R.

    Therefore, inserting into R and deleting from S will NEVER violate the foreign key constraint.

    Question 9 · Database Management and Warehousing · 2025 MSQ
    1. A.

      aadhaar is a candidate key in the Customer relation

    2. B.

      phone can be NULL in the Customer relation

    3. C.

      aadhaar is a candidate key in the Person relation

    4. D.

      aadhaar can be NULL in the Person relation

    Correct Answer:

    ["C"]

    Step-by-Step Solution

    Insight: Primary keys cannot be NULL and are always candidate keys; foreign keys can be NULL and thus cannot be candidate keys.

    Exam route: Since the question statement is missing, we deduce from standard relational rules and the options. A primary key (aadhaar in Person) cannot be NULL and is a candidate key. A foreign key (aadhaar in Customer) can be NULL, so it is not a candidate key.

    Learning route:

    Note: The question statement is missing from the prompt, but based on the options, this is a standard question about Person and Customer relations where aadhaar is the primary key of Person and a foreign key in Customer.

    1. Option A: aadhaar is a candidate key in Customer. Since it is a foreign key, it can contain NULL values (unless explicitly constrained). Candidate keys cannot contain NULLs. Thus, A is false.
    2. Option B: phone can be NULL in Customer. Without the statement, this is ambiguous. If phone is a candidate key, it cannot be NULL. If it is just a unique or regular attribute, it can be. We exclude it as it depends on missing text.
    3. Option C: aadhaar is a candidate key in Person. Since aadhaar is the primary key of Person, it is by definition a candidate key. Thus, C is unconditionally true.
    4. Option D: aadhaar can be NULL in Person. Primary keys cannot be NULL (Entity Integrity). Thus, D is false.

    The only unconditionally true statement is C.

    Question 10 · Linear Algebra · 2025 MCQ

    The sum of the elements in each row of is . If , which one of the following statements is correct (for )?

    1. A.

      The equation has no solution

    2. B.

      The equation has exactly two solutions

    3. C.

      The equation has infinitely many solutions

    4. D.

      The equation has a unique solution

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The row sum condition directly gives an eigenvalue and its eigenvector, which can be evaluated in the matrix polynomial.

    Step 1: The statement "sum of the elements in each row of is $1$" means that if we multiply by the all-ones column vector , the result is . Thus, .

    Step 2: This implies is an eigenvalue of , and is a corresponding non-zero eigenvector.

    Step 3: We are given . We can factor this polynomial as .

    Step 4: Evaluate . Since , we have .

    Step 5: Therefore, .

    Step 6: Since is a non-zero vector and , the homogeneous system has a non-trivial solution. Any homogeneous system with a non-trivial solution has infinitely many solutions.

    Answer: The equation has infinitely many solutions.

    Question 11 · Linear Algebra · 2025 MCQ

    Let be such that . Which one of the following statements is ALWAYS correct?

    1. A.

      is invertible

    2. B.

      Determinant of is

    3. C.

      The sum of the diagonal elements of is

    4. D.

      and have the same rank

    Correct Answer:

    D

    Step-by-Step Solution

    Key idea: The matrix equation implies that the minimal polynomial of has distinct linear factors, making diagonalizable, and forcing a specific relationship between the null spaces of and .

    Step 1: Rewrite the given equation as , which factors to .

    Step 2: This means the minimal polynomial of must divide . Since has distinct linear roots (), the matrix is diagonalizable.

    Step 3: Evaluate the options using counterexamples or structural properties.

    • Option A: " is invertible". Counterexample: (the zero matrix) satisfies , but is not invertible.
    • Option B: "Determinant of is $0$". Counterexample: (identity matrix) satisfies , but .
    • Option C: "The sum of diagonal elements is $1$". Counterexample: has trace $0$; (for ) has trace $2$. Neither is always $1$.
    • Option D: " and have the same rank". Let's prove this structurally.

    Step 4: Prove .

    • Clearly, if , then . So .
    • Conversely, if , multiply both sides by to get . Since , this means . So .

    Step 5: Since , their dimensions (nullities) are equal: .

    Step 6: By the Rank-Nullity Theorem, . This is ALWAYS correct.

    Answer: and have the same rank.

    Question 12 · Linear Algebra · 2024 MSQ
    Let be the set of real numbers, be a subspace of and be the
    matrix corresponding to the projection on to the subspace .
    Which of the following statements is/are TRUE?
    1. A. If is a 1-dimensional subspace of , then the null space of is a
      1-dimensional subspace.
    2. B. If is a 2-dimensional subspace of , then the null space of is a
      1-dimensional subspace.
    3. C.

    4. D.

    Correct Answer:

    ["B","C","D"]

    Step-by-Step Solution

    Key idea: This question tests the fundamental algebraic and geometric properties of orthogonal projection matrices, specifically the Rank-Nullity Theorem and idempotence.

    Step 1: Analyze the Null Space dimension (Options A and B).

    Let be the projection matrix onto subspace .

    The column space of , denoted , is exactly the target subspace . Thus, .

    By the Rank-Nullity Theorem for a matrix:

    Check Option A: If , then . Option A claims it is 1-dimensional. This is FALSE.

    Check Option B: If , then . Option B claims it is 1-dimensional. This is TRUE.

    Step 2: Analyze Idempotence (Option C).

    A matrix is a projection matrix if and only if it is idempotent, meaning .

    Geometrically, if you project a vector onto to get , projecting again yields itself because is already in .

    Algebraically: .

    Thus, Option C is TRUE.

    Step 3: Analyze Higher Powers (Option D).

    Since , we can compute :

    By induction, for all integers .

    Thus, is TRUE.

    Answer: Options B, C, and D are TRUE.

    Question 13 · Quantitative Aptitude · 2026 MCQ
    Five integers are picked from 0 to 20, with possible repetitions, such that their mean is 12, median is 18, and they have a single mode of 20.
    Ignoring permutations, the number of ways to pick these five integers is _____
    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      3

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a statistical constraint satisfaction question, recognisable because it asks to reconstruct a specific data set given its mean, median, and mode.

    Step 1: Use the mean to find the sum. For 5 integers with a mean of 12, the sum is .

    Step 2: Use the median to fix the middle value. Sorting the 5 integers as , the median is . Thus, .

    Step 3: Use the mode to fix the highest values. The mode is 20, meaning 20 must appear more frequently than any other number. Since , the only way to include 20 is if and .

    Step 4: Find the remaining sum. We have , which simplifies to .

    Step 5: Find integer pairs for and . Since the integers are from 0 to 20 and , the possible pairs summing to 2 are and .

    Step 6: Apply the "single mode" constraint. If the pair is , the set is , which has two modes (1 and 20). This violates the single mode condition. If the pair is , the set is , which has a single mode of 20.

    Answer: There is exactly 1 valid way to pick these integers.

    Question 14 · Quantitative Aptitude · 2024 MCQ
    Person 1 and Person 2 invest in three mutual funds A, B, and C. The amounts they
    invest in each of these mutual funds are given in the table.

    Mutual fund AMutual fund BMutual fund C
    Person 1₹10,000₹20,000₹20,000
    Person 2₹20,000₹15,000₹15,000

    At the end of one year, the total amount that Person 1 gets is ₹500 more than
    Person 2. The annual rate of return for the mutual funds B and C is 15% each. What
    is the annual rate of return for the mutual fund A?
    1. A.

      7.5%

    2. B.

      10%

    3. C.

      15%

    4. D.

      20%

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: The difference in total returns between two investors with the same set of funds yields a linear equation in the unknown rate.

    Exam route: Write the total return for each person using , subtract the two equations, and solve for .

    Learning route:

    1. Identify the rates: , , and let .
    2. Calculate Person 1's total return:

    1. Calculate Person 2's total return:

    1. Use the given condition that Person 1 gets ₹500 more than Person 2:

    1. Solve for :

    The annual rate of return for mutual fund A is 10%.

    Question 15 · Machine Learning · 2026 MCQ
    For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from 100 to 10.
    Which of the following options is true about the angle between the first and the tenth principal components?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: This is a geometric property question about PCA.

    Exam route: Principal components are eigenvectors of a symmetric covariance matrix, hence they are strictly orthogonal. The angle between any two distinct PCs is exactly 90 degrees.

    Learning route:

    Step 1: Recall the definition of Principal Components. They are the eigenvectors of the data's covariance matrix.

    Step 2: Recall the property of the covariance matrix. It is a real symmetric matrix.

    Step 3: Apply the Spectral Theorem. The eigenvectors of a real symmetric matrix corresponding to distinct eigenvalues are mutually orthogonal.

    Step 4: Conclude the angle. Since the 1st and 10th principal components are distinct eigenvectors, the angle between them is exactly 90 degrees. Option B is correct.

    Question 16 · Machine Learning · 2026 MSQ
    Consider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X’s stories, 6 were classified as that of Y. On the other hand, out of Y’s stories, 2 were classified as that of X.

    Considering X and Y as two classes, which of the following statements is/are true?
    1. A.

      Accuracy of the classifier is 11/15.

    2. B.

      Precision of Class X is higher than the Precision of Class Y.

    3. C.

      Recall of Class X is higher than the Recall of Class Y.

    4. D.

      Accuracy of the classifier is 14/15.

    Correct Answer:

    ["A","B"]

    Step-by-Step Solution

    Insight: Construct the confusion matrix by carefully mapping the text to TP, FN, FP, TN for one class, then derive all metrics symmetrically for the other.

    Exam route: Total = 30. Correct = (20-6) + (10-2) = 14 + 8 = 22. Accuracy = 22/30 = 11/15. Precision X = 14/(14+2) = 14/16. Precision Y = 8/(8+6) = 8/14. Since 14/16 > 8/14, Precision X > Precision Y. Recall X = 14/20 = 0.7, Recall Y = 8/10 = 0.8, so Recall X < Recall Y.

    Learning route:

    1. Define Class X as Positive, Class Y as Negative.
    2. Map counts from the text:
    • Actual X = 20. Predicted Y = 6 (False Negatives, FN). Thus, Predicted X = 14 (True Positives, TP).
    • Actual Y = 10. Predicted X = 2 (False Positives, FP). Thus, Predicted Y = 8 (True Negatives, TN).
    1. Calculate Accuracy: . (Option A is true, Option D is false).
    2. Calculate Precision for X: .
    3. Calculate Precision for Y (treating Y as Positive): , . Precision Y = .

    Since , Precision of X is higher. (Option B is true).

    1. Calculate Recall for X: .
    2. Calculate Recall for Y: .

    Since , Recall of X is lower. (Option C is false).

    Question 17 · Calculus and Optimization · 2024 MCQ
    Let be a function. Note: denotes the set of real numbers.

    Which ONE of the following choices gives the values of that make the
    function continuous and differentiable?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Piecewise smoothness requires matching both function values (continuity) and slopes (differentiability) at every boundary point.

    Exam route: Set up 4 equations: 2 for continuity at and 2 for differentiability at . Solve the linear system for .

    Learning route:

    1. Continuity at : .
    2. Continuity at : .
    3. Differentiability at : LHD = . RHD = . So .
    4. Differentiability at : LHD = . RHD = . So .
    5. Solve the system: Adding the derivative equations gives . Subtracting gives .
    6. Substitute into the first continuity equation: .

    The values are .

    Question 18 · Calculus and Optimization · 2025 NAT
    Let be such that for all . Then

    (Answer in integer)
    Correct Answer:

    0.00

    Step-by-Step Solution

    Insight: An inequality bounding the difference of function values by a power of the difference in inputs forces the derivative to be zero everywhere.

    Exam route: Divide the given inequality by and take the limit as to show , meaning is constant.

    Learning route:

    1. Given for all .
    2. For , divide both sides by : .
    3. Take the limit as : The right side approaches 0.
    4. By the Squeeze Theorem, , which means .
    5. Since for all , is a constant function.
    6. Therefore, .
    Question 19 · Verbal Aptitude · 2026 MCQ
    ‘My friend and I parted __ the door __ the cabin that I had rented __ the night.’
    Choose the option with the correct sequence of words to fill the blanks.
    1. A.

      at; of; for

    2. B.

      for; at; of

    3. C.

      of; for; in

    4. D.

      in; of; for

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: This is a multi-blank preposition question requiring independent analysis of spatial points, possession, and duration.

    Exam route: Blank 1: "parted at the door" (specific point). Blank 2: "door of the cabin" (possession/association). Blank 3: "rented for the night" (duration). Sequence: at; of; for.

    Learning route:

    Step 1: Analyze the first blank. "Parted" happens at a specific physical location (the door). The preposition "at" is used for exact points.

    Step 2: Analyze the second blank. The relationship between "door" and "cabin" is one of possession or association. The preposition "of" correctly denotes this relationship.

    Step 3: Analyze the third blank. "The night" here refers to a duration of time for which the cabin was rented. The preposition "for" is used to denote a period or duration.

    Step 4: Verify the sequence "at; of; for" against the options. Option A matches perfectly.

    Question 20 · Spatial Aptitude · 2025 MCQ
    In the given figure, the numbers associated with the rectangle, triangle, and ellipse are and , respectively. Which one among the given options is the most appropriate combination of and ?

    1 2 4 3 P Q R
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: This is a Venn diagram region identification problem. The numbers 1, 2, 3 represent the shapes (Rectangle, Triangle, Ellipse). The value for any point P, Q, R is the sum of the IDs of the shapes that strictly contain it.

    Exam route: Test each point against the boundaries of the three shapes. Sum the IDs (1 for Rect, 2 for Tri, 3 for Ellipse) for the shapes containing the point. Match the resulting triplet (P, Q, R) to the options.

    Learning route:

    1. Identify the shape boundaries from the figure:
    • Rectangle (1): Bounded region roughly in the center-left.
    • Triangle (2): Large triangle encompassing the right side.
    • Ellipse (3): Oval shape overlapping the bottom-right.
    1. Evaluate Point P:
    • P is located in the central region where all three shapes overlap.
    • It is inside the Rectangle (1), inside the Triangle (2), and inside the Ellipse (3).
    • Sum for P = .
    1. Evaluate Point Q:
    • Q is located to the right of the Rectangle's right boundary.
    • It is outside the Rectangle (1).
    • It is clearly inside the Triangle (2) and inside the Ellipse (3).
    • Sum for Q = .
    1. Evaluate Point R:
    • R is located in the lower intersection of the Rectangle and Triangle, but sits just below the lower boundary of the Ellipse.
    • It is inside the Rectangle (1) and inside the Triangle (2), but outside the Ellipse (3).
    • Sum for R = .
    1. Match with Options:
    • We have established , , and .
    • Looking at the given options, only Option A () matches this triplet perfectly.

    Trap Analysis: The 'boundary illusion' trap occurs when students visually estimate a point's position without strictly checking the boundary lines. For example, a student might think R is inside the Ellipse because it is visually close to it, leading to . This would incorrectly point to Option C or D. Always trace the exact boundary line (e.g., the bottom curve of the ellipse) to confirm inclusion/exclusion.

    Verification: P is deeply inside all three (6). Q is clearly outside the left-most shape (Rectangle), so it cannot be 6. R is below the ellipse's bottom curve, so it cannot include 3. Only Option A satisfies all strict boundary tests.

    More GATE DA tests