GATE DA
    Test Series
    Verified Solutions Included

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

    Attempt the Numerical Computation & Estimation, Data Structures, Algorithms, Vector… test for GATE DA: 23 exam-level questions, detailed solutions and perform

    23 Qs

    Total Questions

    31 Marks

    Total Marks

    0.9299999999999999 Mins

    Duration

    Section-wise Paper Structure

    Programming, Data Structures and Algorithms

    4 Qs

    17% of total marks

    Probability and Statistics

    4 Qs

    17% of total marks

    Verbal Aptitude

    3 Qs

    13% of total marks

    Machine Learning

    2 Qs

    9% of total marks

    Linear Algebra

    2 Qs

    9% of total marks

    Database Management and Warehousing

    2 Qs

    9% of total marks

    Calculus and Optimization

    2 Qs

    9% of total marks

    Artificial Intelligence

    2 Qs

    9% of total marks

    Spatial Aptitude

    1 Qs

    4% of total marks

    Quantitative 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

    For which of the following inputs does binary search take time in the worst case?

    Question 2
    2026 PYQ
    Level 3: Exam Standard
    Let A be a sorted array containing 1000 distinct integers. You perform a recursive binary search on A to find an element y. Suppose each comparison checks whether the middle element computed during the current recursive step is equal to, less than, or greater than y.
    The maximum number of comparisons that may have to be performed if y is not an element of A is _______ . (Answer in integer)
    Question 3
    2024 PYQ
    Level 3: Exam Standard
    Let denote the maximum number of comparisons made while searching for
    an entry in a sorted array of size using binary search.
    Which ONE of the following options is TRUE?
    Question 4
    2024 PYQ
    Level 3: Exam Standard
    Consider the following statements:
    (i) The mean and variance of a Poisson random variable are equal.
    (ii) For a standard normal random variable, the mean is zero and the
    variance is one.
    Which ONE of the following options is correct?
    Question 5
    2025 PYQ
    Level 3: Exam Standard
    It is given that for an exponentially distributed random variable with , where denotes the expectation of . What is the value of ?
    (ln denotes natural logarithm)
    Question 6
    2026 PYQ
    Level 3: Exam Standard

    Let be an exponentially distributed random variable with mean . If , then the conditional probability is ___________ . (Rounded off to two decimal places)

    Question 7
    2026 PYQ
    Level 3: Exam Standard
    Verbosity : Brevity :: Insolence :___________
    Choose the word that best fills the blank.
    Question 8
    2025 PYQ
    Level 3: Exam Standard
    Courage : Bravery :: Yearning : __________

    Select the most appropriate option to complete the analogy.
    Question 9
    2024 PYQ
    Level 3: Exam Standard
    If ‘→’ denotes increasing order of intensity, then the meaning of the words
    [sick → infirm → moribund] is analogous to [silly → _______ → daft].
    Which one of the given options is appropriate to fill the blank?
    Question 10
    2024 PYQ
    Level 3: Exam Standard
    Match the items in Column 1 with the items in Column 2 in the following table:

    Column 1Column 2
    (p) Principal Component Analysis(i) Discriminative Model
    (q) Naïve Bayes Classification(ii) Dimensionality Reduction
    (r) Logistic Regression(iii) Generative Model
    Question 11
    2024 PYQ
    Level 3: Exam Standard
    Given the two-dimensional dataset consisting of 5 data points from two classes
    (circles and squares) and assume that the Euclidean distance is used to measure the
    distance between two points. The minimum odd value of in -nearest neighbor
    algorithm for which the diamond (⋄) shaped data point is assigned the label square
    is ______.
    12341234
    Question 12
    2025 PYQ
    Level 3: Exam Standard

    Let , where is the identity matrix and , . Which of the following options is/are correct?

    Question 13
    2024 PYQ
    Level 3: Exam Standard
    Which of the following statements is/are TRUE?
    Note: denotes the set of real numbers.
    Question 14
    2025 PYQ
    Level 3: Exam Standard

    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?

    Question 15
    2024 PYQ
    Level 3: Exam Standard
    Given the relational schema and the set of functional
    dependencies:

    Which of the following functional dependencies can be derived from the above
    set?
    Question 16
    2025 PYQ
    Level 3: Exam Standard

    Let , . Let denote the derivative of evaluated at . What is the value of ? (Note: ! denotes factorial)

    Question 17
    2024 PYQ
    Level 3: Exam Standard
    Let be the function .
    The value of the derivative of at where is ______
    (rounded off to two decimal places).
    Note: denotes the set of real numbers.
    Question 18
    2026 PYQ
    Level 3: Exam Standard
    Which of the following statements is NOT true?
    (The names of the predicates are intuitive.)
    Question 19
    2026 PYQ
    Level 3: Exam Standard
    Let be a predicate.

    Which of the following statements is/are NOT valid in first-order logic?
    Question 20
    2024 PYQ
    Level 3: Exam Standard
    Visualize two identical right circular cones such that one is inverted over the other
    and they share a common circular base. If a cutting plane passes through the vertices
    of the assembled cones, what shape does the outer boundary of the
    resulting cross-section make?
    Question 21
    2024 PYQ
    Level 3: Exam Standard
    Let the minimum, maximum, mean and standard deviation values for the attribute
    income of data scientists be ₹46000, ₹170000, ₹96000, and ₹21000, respectively.
    The z-score normalized income value of ₹106000 is closest to which ONE of the
    following options?

    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, Data Structures, Algorithms, Vector… Test for GATE DA: 23 Questions with Solutions & Analysis

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

    Paper breakdown

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

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

    Question 1 · Programming, Data Structures and Algorithms · 2025 MCQ

    For which of the following inputs does binary search take time in the worst case?

    1. A.

      An array of integers in any order

    2. B.

      A linked list of integers in any order

    3. C.

      An array of integers in increasing order

    4. D.

      A linked list of integers in increasing order

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Binary search requires both sorted data (for elimination) and random access (for mid calculation).

    Exam route: Check options for "sorted" and "array". Only "array in increasing order" satisfies both.

    Learning route:

    Binary search achieves time complexity by halving the search space at each step.

    This requires two strict preconditions:

    1. The data must be sorted, so we can mathematically guarantee which half contains the target.
    2. The data structure must support random access, so we can find the middle element in constant time.

    Arrays provide contiguous memory allocation, allowing random access via index math.

    Linked lists require traversal to find the middle node, collapsing the time complexity to or worse.

    Therefore, only a sorted array (increasing order) guarantees worst-case time.

    Question 2 · Programming, Data Structures and Algorithms · 2026 NAT
    Let A be a sorted array containing 1000 distinct integers. You perform a recursive binary search on A to find an element y. Suppose each comparison checks whether the middle element computed during the current recursive step is equal to, less than, or greater than y.
    The maximum number of comparisons that may have to be performed if y is not an element of A is _______ . (Answer in integer)
    Correct Answer:

    10.00

    Step-by-Step Solution

    Insight: A 3-way comparison counts as exactly 1 comparison per step. The max comparisons is simply the depth of the recursion tree.

    Exam route: Use the formula . For , .

    Learning route:

    The problem specifies a 3-way comparison (equal, less, greater). This counts as 1 comparison per recursive step.

    The maximum number of comparisons is the maximum depth of the recursion tree, which occurs when the element is not found or is at the deepest leaf.

    The exact formula for the maximum depth (number of comparisons) is .

    Given :

    .

    .

    Total comparisons = .

    If the problem had specified two separate checks (e.g., if A[mid] == y then else if A[mid] < y), the worst case would be 2 comparisons per step, yielding 20. But the 3-way comparison explicitly avoids this trap.

    Question 3 · Programming, Data Structures and Algorithms · 2024 MCQ
    Let denote the maximum number of comparisons made while searching for
    an entry in a sorted array of size using binary search.
    Which ONE of the following options is TRUE?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Binary search divides the problem into one half, not both. The recurrence must reflect a single recursive call plus the current step.

    Exam route: Identify the worst-case subproblem size as . Add 1 for the current comparison. Match with .

    Learning route:

    In binary search, we compare the target with the middle element. This takes 1 comparison.

    Then, we discard half the array and recurse on the other half.

    The worst-case scenario is when the remaining half is as large as possible.

    For an array of size , the two halves have sizes and . The maximum of these is .

    Thus, the maximum number of comparisons satisfies the recurrence:

    .

    Option A matches this. Option B implies searching both halves. Option C misses the current comparison. Option D is for linear search.

    Question 4 · Probability and Statistics · 2024 MCQ
    Consider the following statements:
    (i) The mean and variance of a Poisson random variable are equal.
    (ii) For a standard normal random variable, the mean is zero and the
    variance is one.
    Which ONE of the following options is correct?
    1. A.

      Both (i) and (ii) are true

    2. B.

      (i) is true and (ii) is false

    3. C.

      (ii) is true and (i) is false

    4. D.

      Both (i) and (ii) are false

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: This is a direct recall question testing the fundamental properties of two standard distributions: Poisson and Standard Normal.

    Exam route: Poisson mean = variance = . Standard Normal mean = 0, variance = 1. Both statements are true.

    Learning route: This is a property verification question, recognizable because it lists basic statistical properties of standard distributions and asks to identify the true ones.

    Step 1: Evaluate statement (i). The Poisson distribution models the number of events in a fixed interval. Its probability mass function is . The mean is and the variance is . Therefore, the mean and variance are equal. Statement (i) is true.

    Step 2: Evaluate statement (ii). The standard normal distribution is a special case of the normal distribution where the mean and the variance . Its PDF is . Therefore, the mean is zero and the variance is one. Statement (ii) is true.

    Step 3: Combine the evaluations. Since both statements are true, the correct option is (A).

    Question 5 · Probability and Statistics · 2025 MCQ
    It is given that for an exponentially distributed random variable with , where denotes the expectation of . What is the value of ?
    (ln denotes natural logarithm)
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Use the survival function . Setting and equating to 0.25 allows direct extraction of using natural logarithms.

    Exam route: .

    Learning route: This is a tail probability parameter extraction question, recognizable because it gives a specific probability and asks for the rate parameter .

    Step 1: Recall the survival function for an exponential distribution. The probability that is greater than or equal to is .

    Step 2: Substitute the given values into the survival function. We are given .

    Step 3: Solve for using natural logarithms. Note that .

    The correct option is (A).

    Question 6 · Probability and Statistics · 2026 NAT

    Let be an exponentially distributed random variable with mean . If , then the conditional probability is ___________ . (Rounded off to two decimal places)

    Correct Answer:

    0.35

    Step-by-Step Solution

    Insight: The exponential distribution is memoryless. The conditional probability simply equals the unconditional probability , which is already given.

    Exam route: By the memoryless property, .

    Learning route: This is a conditional probability question for the exponential distribution, recognizable because it asks for . The memoryless property provides an instant shortcut.

    Step 1: Identify the distribution and the given information. is exponentially distributed. We are given . Note that the mean is given as , which means the rate parameter is , but we don't actually need to find the rate parameter.

    Step 2: Recognize the memoryless property. For any exponential random variable, the probability of waiting an additional time , given that you have already waited time , is the same as the probability of waiting time from the start.

    Mathematically: .

    Step 3: Apply the property to the specific values. We need . Here, and , which means .

    Step 4: Substitute the given value. Since , the conditional probability is also exactly 0.35.

    Question 7 · Verbal Aptitude · 2026 MCQ
    Verbosity : Brevity :: Insolence :___________
    Choose the word that best fills the blank.
    1. A.

      Innocence

    2. B.

      Respect

    3. C.

      Solace

    4. D.

      Wealth

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: This is an antonymic analogy. The relationship in the first pair is direct opposition, which must be mirrored precisely in the second pair.

    Exam route: "Verbosity" (excessive wordiness) is the direct opposite of "Brevity" (conciseness). Therefore, we need the direct opposite of "Insolence" (rude disrespect). "Respect" is the precise antonym.

    Learning route:

    1. Analyze Pair A: Verbosity : Brevity. Verbosity means using too many words; Brevity means using few. They are polar opposites regarding communication style.
    2. Construct Bridge: Word A is the excessive form of a trait, and Word B is the deficient or opposite form of that same trait.
    3. Apply to Pair B: Insolence means rude arrogance or disrespectful behavior. We need the word representing polite modesty or regard for others.
    4. Evaluate options:
    • Innocence: Lack of guilt or wrongdoing. Not the direct opposite of rudeness.
    • Respect: Regard for the feelings, wishes, or rights of others. This is the direct opposite of insolence.
    • Solace: Comfort in a time of distress. Unrelated to social conduct.
    • Wealth: Abundance of valuable resources. Unrelated domain.
    1. Conclusion: "Respect" perfectly mirrors the antonymic relationship established in the first pair.
    Question 8 · Verbal Aptitude · 2025 MCQ
    Courage : Bravery :: Yearning : __________

    Select the most appropriate option to complete the analogy.
    1. A.

      Longing

    2. B.

      Yelling

    3. C.

      Yawning

    4. D.

      Glaring

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: This is a synonymic analogy. The two words in the first pair share a nearly identical meaning, and the second pair must replicate this synonymic relationship.

    Exam route: "Courage" and "Bravery" are synonyms denoting strength in facing danger. "Yearning" means a strong desire or longing. The synonym for "Yearning" among the options is "Longing".

    Learning route:

    1. Analyze Pair A: Courage : Bravery. Both are nouns representing the quality of being brave and facing fear. The relationship is direct synonymy.
    2. Construct Bridge: Word A is a direct synonym for Word B.
    3. Apply to Pair B: Yearning is a noun meaning an intense feeling of loss or lack, and a deep longing for something.
    4. Evaluate options:
    • Longing: A yearning desire. This is a direct synonym.
    • Yelling: Shouting loudly. This is an unrelated physical action.
    • Yawning: Opening the mouth wide due to tiredness. This is an unrelated physical action.
    • Glaring: Staring fiercely. This is an unrelated physical action.
    1. Conclusion: "Longing" is the only word that maintains the synonymic relationship, while the others are phonetic or random distractors.
    Question 9 · Verbal Aptitude · 2024 MCQ
    If ‘→’ denotes increasing order of intensity, then the meaning of the words
    [sick → infirm → moribund] is analogous to [silly → _______ → daft].
    Which one of the given options is appropriate to fill the blank?
    1. A.

      frown

    2. B.

      fawn

    3. C.

      vein

    4. D.

      vain

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: This question tests semantic gradients, requiring a word that fits the increasing intensity of cognitive foolishness between "silly" and "daft", while strictly maintaining part-of-speech parallelism.

    Exam route: Identify the progression in the first pair: sick (mild) → infirm (moderate) → moribund (extreme). Apply this to the second pair: silly (mild) → ? → daft (extreme). Evaluate options by part of speech. "Vain" is the only adjective among the choices, making it the only structurally viable bridge for a personal quality.

    Learning route:

    1. Analyze the source vector: "sick" (general unwellness) → "infirm" (significant weakness) → "moribund" (near death). This is a strict increasing intensity gradient of physical decline.
    2. Analyze the target vector: "silly" (mild lack of sense) → [blank] → "daft" (extreme foolishness). We need an intermediate stage of cognitive inadequacy.
    3. Evaluate options by grammatical category:
    • "frown": Noun/verb (facial expression). Fails part-of-speech match.
    • "fawn": Noun/verb (young deer / show affection). Fails part-of-speech match.
    • "vein": Noun (blood vessel / style). Fails part-of-speech match.
    • "vain": Adjective (having excessive pride or producing no result). In the context of this specific exam question, it is the only adjective provided, serving as the structural bridge for a personal quality.
    1. Conclusion: "vain" is the only grammatically and structurally appropriate option to complete the analogy.
    Question 10 · Machine Learning · 2024 MCQ
    Match the items in Column 1 with the items in Column 2 in the following table:

    Column 1Column 2
    (p) Principal Component Analysis(i) Discriminative Model
    (q) Naïve Bayes Classification(ii) Dimensionality Reduction
    (r) Logistic Regression(iii) Generative Model
    1. A.

      (p) − (iii), (q) − (i), (r) − (ii)

    2. B.

      (p) − (ii), (q) − (i), (r) − (iii)

    3. C.

      (p) − (ii), (q) − (iii), (r) − (i)

    4. D.

      (p) − (iii), (q) − (ii), (r) − (i)

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: This is a model family classification question.

    Exam route: PCA reduces dimensions (ii). Naive Bayes models joint probability (iii). Logistic Regression models conditional probability (i). Match them directly.

    Learning route:

    Step 1: Identify PCA. It projects data to a lower-dimensional space, preserving variance. It is a Dimensionality Reduction technique. So (p) -> (ii).

    Step 2: Identify Naive Bayes. It calculates class priors and feature likelihoods, modeling . It is a Generative Model. So (q) -> (iii).

    Step 3: Identify Logistic Regression. It directly models the decision boundary without modeling the feature distribution. It is a Discriminative Model. So (r) -> (i).

    Step 4: Combine the matches: (p)-(ii), (q)-(iii), (r)-(i). This corresponds to option C.

    Question 11 · Machine Learning · 2024 NAT
    Given the two-dimensional dataset consisting of 5 data points from two classes
    (circles and squares) and assume that the Euclidean distance is used to measure the
    distance between two points. The minimum odd value of in -nearest neighbor
    algorithm for which the diamond (⋄) shaped data point is assigned the label square
    is ______.
    12341234
    Correct Answer:

    5.00

    Step-by-Step Solution

    Insight: The minimum odd is found by sorting the squared Euclidean distances from the query point to all training points and finding the smallest odd where the majority class among the nearest neighbors is the target class.

    Exam route: Identify coordinates from the SVG. Query is at (2, 1). Calculate squared distances to all 5 points. Sort them. Count classes cumulatively for odd until "Square" wins.

    Learning route:

    Step 1: Extract coordinates from the SVG grid.

    Circles are at (1, 1) and (1, 2).

    Squares are at (2, 3), (3, 4), and (4, 3).

    The query Diamond is at (2, 1).

    Step 2: Calculate squared Euclidean distances from the query (2, 1) to each point:

    • To Circle (1, 1):
    • To Circle (1, 2):
    • To Square (2, 3):
    • To Square (4, 3):
    • To Square (3, 4):

    Step 3: Sort the neighbors by ascending distance:

    1st: Circle (dist = 1)

    2nd: Circle (dist = 2)

    3rd: Square (dist = 4)

    4th: Square (dist = 8)

    5th: Square (dist = 10)

    Step 4: Evaluate the majority class for odd values of :

    • For : 1 Circle, 0 Squares Label is Circle.
    • For : 2 Circles, 1 Square Label is Circle.
    • For : 2 Circles, 3 Squares Label is Square.

    Step 5: The minimum odd value of for which the label is Square is 5.

    Answer: 5.00

    Question 12 · Linear Algebra · 2025 MSQ

    Let , where is the identity matrix and , . Which of the following options is/are correct?

    1. A.

      Rank of is

    2. B.

      is invertible

    3. C.

      is an eigenvalue of

    4. D.

      has a negative eigenvalue

    Correct Answer:

    ["A","B"]

    Step-by-Step Solution

    Key idea: The eigenvalues of a rank-one update can be found directly from the eigenvalues of the rank-one matrix .

    Step 1: Analyze the rank-one matrix . For any vector orthogonal to (i.e., ), we have . Since the orthogonal complement of in has dimension , is an eigenvalue of with multiplicity at least .

    Step 2: For the vector itself, . We are given , so . Thus, is an eigenvalue of with multiplicity 1.

    Step 3: The eigenvalues of are simply the eigenvalues of shifted by 1 (since for all ).

    Step 4: Therefore, the eigenvalues of are (with multiplicity ) and (with multiplicity 1).

    Step 5: Evaluate the options:

    • Since all eigenvalues of are non-zero (they are 1 and 2), is invertible. (Option B is correct)
    • An invertible matrix has full rank, so the rank of is . (Option A is correct)
    • $0$ is not an eigenvalue of . (Option C is incorrect)
    • The eigenvalues of are the reciprocals of the eigenvalues of , which are and . Neither is negative. (Option D is incorrect)

    Answer: Rank of is , and is invertible.

    Question 13 · Linear Algebra · 2024 MSQ
    Which of the following statements is/are TRUE?
    Note: denotes the set of real numbers.
    1. A. There exist , , and such that has a unique
      solution and has infinite solutions.
    2. B. There exist , , and such that has no solutions
      and has infinite solutions.
    3. C. There exist , , and such that has a unique
      solution and has infinite solutions.
    4. D. There exist , , and such that has a unique
      solution and has no solutions.
    Correct Answer:

    ["B","D"]

    Step-by-Step Solution

    Key idea: This question tests the consistency conditions of linear systems based on the shape of matrix (square, wide, or tall) and its rank.

    Step 1: Analyze Option A ().

    For a square matrix , if has a unique solution, then ( is invertible).

    If is invertible, must also have a unique solution () for ANY .

    It is impossible for an invertible matrix to have infinite solutions for any RHS.

    Thus, Option A is FALSE.

    Step 2: Analyze Option B ().

    Can have no solution and have infinite solutions?

    Yes. Let be singular (Rank < 3).

    Example: .

    • Let . System is inconsistent (no solution) because .
    • Let . System is . is free. Infinite solutions.

    Thus, Option B is TRUE.

    Step 3: Analyze Option C ().

    Can have a unique solution?

    has 3 columns (variables) and 2 rows (equations).

    Max Rank is 2.

    Number of free variables = .

    If a solution exists, there is at least 1 free variable, implying infinite solutions.

    A unique solution is impossible for a wide matrix ().

    Thus, Option C is FALSE.

    Step 4: Analyze Option D ().

    Can have a unique solution?

    has 2 columns. Max Rank is 2.

    If Rank()=2, the columns are linearly independent.

    If is in the column space, the solution is unique (0 free variables).

    Can have no solution?

    Yes, if is not in the column space (which is a 2D plane in ).

    So, Unique Solution AND No Solution are both possible for different RHS vectors.

    Thus, Option D is TRUE.

    Answer: Options B and D are TRUE.

    Question 14 · Database Management and Warehousing · 2025 MCQ

    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?

    1. A.

      Selection

    2. B.

      Projection

    3. C.

      Join

    4. D.

      Set union

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: A rule that no single fragment can see must be re-checked by bringing the fragments back together — that repeated recombination is the price of losing dependency preservation. Exam route: Not preserved means some FD has its attributes split across fragments, so it cannot be validated inside one table. The DBMS must reconstruct the original tuples on every risky update, which is the join. Option C. Learning route: Step 1 — what dependency preservation means. After decomposing into , with the dependencies that hold in , the decomposition preserves dependencies when . In plain words: every original business rule can be checked by looking at the small tables individually. Step 2 — what actually breaks when it fails. Some original rule has attributes spread over two or more fragments, so no single fragment contains all of . A constraint checker that scans one table at a time simply cannot see the rule. Step 3 — what the system must then do. To test the rule it has to line up rows of the fragments on their common attributes and evaluate the rule on the combined result. That reconstruction has to happen whenever an update could violate the rule, so it runs repeatedly and is computationally expensive — precisely the cost decomposition was meant to remove. Step 4 — why the other operators cannot do the job. Selection filters rows within one table; it cannot reach attributes living in another table. Projection removes columns, and in fact it is the operator that creates the fragments — it cannot reassemble anything. Set union stacks rows of two relations that must already share a schema, and fragments of a decomposition generally do not. None of the three can bring attributes from different tables into one working relation. Second pass from the trade-off table: a 3NF decomposition is always lossless and always dependency-preserving, whereas a BCNF decomposition is always lossless but may sacrifice preservation. The textbook cost quoted for that sacrifice is exactly this repeated recombination of fragments at update time. Same conclusion: option C. The tempting wrong path: picking Projection, because projection is the operator associated with decomposition in every worked example. Following that thought gives option B, and it breaks at one line — projection produces the fragments, it never re-tests a rule whose attributes sit in two different fragments. Generalisation: "preservation" is a statement about where a rule can be checked; if checking needs attributes from two tables, those tables must first be brought back together. Verification: if the decomposition had been dependency-preserving, every rule would be checkable inside a single fragment and no recombination would ever be needed, so the frequency of the recombining operator would be zero. The question is built entirely on that contrast, and only one operator performs recombination. Answer: C.
    Question 15 · Database Management and Warehousing · 2024 MSQ
    Given the relational schema and the set of functional
    dependencies:

    Which of the following functional dependencies can be derived from the above
    set?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["A","B","D"]

    Step-by-Step Solution

    Insight: "Which FD can be derived?" is a closure question — follows from exactly when .

    Exam route: Close the left side of each option. and . never appears on any right-hand side, so no closure that lacks can ever contain . Options A, B and D follow; C does not.

    Learning route:

    Step 0 — the trigger. The phrase "can be derived from the above set" with no data instance means logical implication. Because Armstrong's axioms are sound and complete, the attribute closure is a decision procedure: it never misses a true rule and never invents a false one. So we close, we do not guess.

    Step 1 — compute . Start with . The rule has its left side inside the set, so add . The rule also applies, so add . Nothing else fires: and need , and needs . Hence . Since , option B is derivable.

    Step 2 — compute . Start with . The rule applies, giving . Now both and fire, giving . No rule produces , so the closure stops there: . It contains and it contains , so option A () and option D () are both derivable.

    Step 3 — option C. The attribute appears only on left-hand sides in . An attribute can enter a closure only as the right side of some rule, so can never be added unless it was in the starting set. does not contain , therefore and is not derivable.

    Second pass by pure axioms (back-substitution): from , augmentation with gives ; transitivity with gives , and with gives ; union of those two gives (option A), and decomposition of it gives (option D). Option B is nothing but the union of the two given rules and . Option C would require running and backwards, and functional dependency has no converse.

    The tempting wrong path: a student sees and , reasons "so and together must pin down ", and marks C as well. The break is at the very first line of that chain — implication is not reversible. Carrying it through produces the answer set A, B, C, D, which collapses the moment you notice that is on the right-hand side of nothing in .

    Generalisation: if an option's right side contains an attribute that never appears on any right-hand side of , and the left side does not already contain it, the option is dead on sight.

    Verification: contains and , so A and D survive; contains and , so B survives; neither closure contains , so C dies. Final answer: A, B, D.

    Question 16 · Calculus and Optimization · 2025 MCQ

    Let , . Let denote the derivative of evaluated at . What is the value of ? (Note: ! denotes factorial)

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: The function is the hyperbolic sine, , whose derivatives cycle every two steps.

    Exam route: Recognize . The -th derivative of is for even and for odd . Since 10 is even, . Evaluate at to get .

    Learning route:

    Write .

    Differentiate 10 times using the rule .

    .

    Substitute : .

    Question 17 · Calculus and Optimization · 2024 NAT
    Let be the function .
    The value of the derivative of at where is ______
    (rounded off to two decimal places).
    Note: denotes the set of real numbers.
    Correct Answer:

    0.24

    Step-by-Step Solution

    Insight: The derivative of the sigmoid function can be expressed entirely in terms of itself: .

    Exam route: Use the identity . Substitute to get .

    Learning route:

    Given .

    Using the chain rule, .

    Rewrite this as .

    Notice that .

    Thus, .

    Given , we have .

    Question 18 · Artificial Intelligence · 2026 MCQ
    Which of the following statements is NOT true?
    (The names of the predicates are intuitive.)
    1. A.

    2. B.

    3. C.

      “Each king is a person” is equivalent to

    4. D.

      “All humans are mortal” is equivalent to

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: "Each king is a person" requires a universal quantifier paired with implication, not conjunction.

    Exam route: Check each option for logical validity. Option C uses , which falsely claims everything in the universe is a king and a person. This is the only invalid statement.

    Learning route:

    Step 1: Analyze Option A. The symmetry of the classmate relation is correctly formalized as . This is a valid representation.

    Step 2: Analyze Option B. is logically equivalent to . Thus, the statement is , which is a tautology and always true.

    Step 3: Analyze Option C. "Each king is a person" restricts the property of being a person to the subset of kings. The correct translation is . The given form means "Everything in the universe is a king and a person", which is factually and logically incorrect for this translation.

    Step 4: Analyze Option D. "All humans are mortal" is the classic example correctly translated as .

    Question 19 · Artificial Intelligence · 2026 MSQ
    Let be a predicate.

    Which of the following statements is/are NOT valid in first-order logic?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

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

    Step-by-Step Solution

    Insight: Validity requires a statement to be true in all non-empty domains. Existential does not imply universal, and universal contradicts existential negation.

    Exam route: A is valid (non-empty domain assumption). B is invalid (counterexample: some but not all). C is invalid (same reason). D is invalid (contradiction if all are P).

    Learning route:

    Step 1: Recall that standard First-Order Logic assumes domains are non-empty.

    Step 2: Evaluate Option A: . If everything in the domain has property , and the domain has at least one element, then there exists something with property . This is valid.

    Step 3: Evaluate Option B: . Construct a counterexample. Let the domain be , with and . The antecedent is True, but the consequent is False. True False is False. Thus, not valid.

    Step 4: Evaluate Option C: . Using the same counterexample, True False is False. Thus, not valid.

    Step 5: Evaluate Option D: . If is True, then every element has property . This means must be False. True False is False. Thus, not valid.

    Question 20 · Spatial Aptitude · 2024 MCQ
    Visualize two identical right circular cones such that one is inverted over the other
    and they share a common circular base. If a cutting plane passes through the vertices
    of the assembled cones, what shape does the outer boundary of the
    resulting cross-section make?
    1. A.

      A rhombus

    2. B.

      A triangle

    3. C.

      An ellipse

    4. D.

      A hexagon

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: A vertical cut through the apex of a single right circular cone yields an isosceles triangle. Two identical cones base-to-base cut through both apexes yields two such triangles sharing a base.

    Exam route: The cutting plane is vertical and passes through both vertices. For the top cone, this creates an isosceles triangle. For the bottom inverted cone, it creates an identical isosceles triangle. They share the common circular base's diameter. A quadrilateral with four equal sides (the slant heights of the identical cones) is a rhombus.

    Learning route:

    Step 1: Deconstruct the solid. The object is a double cone (two identical right circular cones sharing a common circular base).

    Step 2: Define the cut. The plane is vertical and passes through both the top apex and the bottom apex.

    Step 3: Analyze the top half. A vertical plane passing through the apex of a right circular cone intersects the base along a diameter, forming an isosceles triangle.

    Step 4: Analyze the bottom half. By identical reasoning, the bottom inverted cone also yields an isosceles triangle.

    Step 5: Combine. The two triangles share the common base (the diameter of the middle circle). Because the cones are identical, their slant heights are equal. Therefore, all four sides of the resulting quadrilateral are equal in length.

    Step 6: Conclusion. A quadrilateral with four equal sides is a rhombus.

    Question 21 · Quantitative Aptitude · 2024 MCQ
    Let the minimum, maximum, mean and standard deviation values for the attribute
    income of data scientists be ₹46000, ₹170000, ₹96000, and ₹21000, respectively.
    The z-score normalized income value of ₹106000 is closest to which ONE of the
    following options?
    1. A.

      0.217

    2. B.

      0.476

    3. C.

      0.623

    4. D.

      2.304

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a direct Z-score calculation question, recognisable because it provides the mean, standard deviation, and a specific data point, asking for its normalized value.

    Step 1: Identify the given parameters. The raw value , the mean , and the standard deviation . (Note: The minimum and maximum values are distractors for Z-score normalization).

    Step 2: Recall the Z-score formula, which measures how many standard deviations a value is from the mean: .

    Step 3: Substitute the values into the formula: .

    Step 4: Simplify the numerator: .

    Step 5: Divide by the standard deviation: .

    Answer: The closest option is 0.476.

    More GATE DA tests