CMI Data Science
    Previous Year Papers
    Verified Solutions Included
    CMI Data Science 2025 Question Paper with Solutions: 27 Questions, Answer Key & Section-wise Analysis

    CMI Data Science 2025 previous year paper: 27 questions with answer key and detailed solutions, section-wise breakdown and free sample questions.

    27 Qs

    Total Questions

    61 Marks

    Total Marks

    2.1350000000000002 Mins

    Duration

    +3 / -1 / 0

    Marking Scheme

    Section-wise Paper Structure

    School Level Mathematics

    7 Qs

    26% of total marks

    Algebra

    6 Qs

    22% of total marks

    Programming Fundamentals

    5 Qs

    19% of total marks

    Discrete Mathematics

    5 Qs

    19% of total marks

    Calculus

    2 Qs

    7% of total marks

    Probability and Statistics

    1 Qs

    4% of total marks

    Number Theory

    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

    A girl writes five consecutive positive integers on a blackboard. She then erases one of them. The sum of the remaining four numbers is 2025. What number did she erase?

    Question 2
    2025 PYQ
    Level 3: Exam Standard
    A toy company currently sells 1,000 toys each month at a price of ₹500 per toy. To increase their sales, the company is considering to lower the price. Market research shows that for every ₹10 decrease in the price, the number of toys sold increases by 100. However, the price cut applies to all the toys sold.
    (a) By how much should the company reduce the price, so as to maximize its monthly revenue?
    (b) What would be the maximum revenue per month that the company can achieve?
    Assume that the decrease in price is an integer multiple of ₹1.
    Question 3
    2025 PYQ
    Level 3: Exam Standard
    Let be an matrix. We define an elementary row operation on to be one of the following:
    i Interchanging some two rows of .
    ii Multiplying a row in by a non-zero scalar.
    iii Adding a scalar multiple of one row of to another row of .
    An matrix is said to be elementary if it is the result of a single elementary row operation performed on the identity matrix.
    Which of the following statements is/are true? Justify your answer with a short proof, if the statement is true, otherwise, provide a counterexample.
    Question 4
    2025 PYQ

    What is the domain of the following real valued function?

    Question 5
    2025 PYQ

    Let A=\left[\begin{array}{cc}a&b\c&d\end{array}\right] be a real matrix which satisfies . Which of the following statements is/are always true?

    Question 6
    2025 PYQ

    Let be an integer, and let be variables which take real values with for all . Let

    Which of the following statements is/are true.

    Question 7
    2025 PYQ

    The two arguments to the function in the code below are: (i) an integer array indexed from 0, and (ii) the number of elements in .

    ```

    function foo(A, n) {

    count = 0;

    for i from 0 to (n-1) {

    for j from (i+1) to (n-1) {

    if (A[i] > 2 * A[j]) {

    count = count + 1;

    }

    }

    }

    return(count);

    }

    ```

    Which of the following statements about the function are correct?

    Question 8
    2025 PYQ

    In the following code the operator denotes the remainder after integer division. That is: for positive integers the value is the remainder obtained when is divided by .

    ```

    function fizzbuzz(n) {

    count = 0;

    for i from 0 to (n-1) {

    if ((i % 3) == 0) and ((i % 5) != 0) {

    count = count + 1;

    }

    }

    return(count);

    }

    ```

    What does fizzbuzz(100) return?

    Question 9
    2025 PYQ
    Common Description:
    Questions 18 to 20 are based on the following code. The two arguments to the function Mystery(A, n) in the code below are: (i) an integer array A indexed from 0, and (ii) the number n of elements in A. Each element of A is an integer from the set . The expression creates an array, indexed from 0, that contains zeroes. ``` function Mystery(A, n) { found = False; value = None; B = [0] * (n+1); for i from 1 to n { B[A[i]] = B[A[i]] + 1; } for i from 1 to n { if (found == False) { if (B[A[i]] == 1) { found = True; value = A[i]; } } } if (found == True) { return(value); } else { return(None); } } ``` Answer the next three questions about this function.

    What does the function call Mystery([1, 2, 3, 3, 2, 1], 6) return?
    Question 10
    2025 PYQ

    Let and be two finite sets. Which of the following statements regarding functions from is/are true?

    Question 11
    2025 PYQ

    A binary relation defined on a set is said to be <b>antisymmetric</b> if for , and . Let be two binary relations defined on a set . The <b>union</b> of is the binary relation defined on as: For , . The <b>intersection</b> of is the binary relation defined on as: For , . Which of the following statements is/are true?

    Question 12
    2025 PYQ

    In how many ways can 10 identical chocolate bars be distributed among 5 children, in such a way that each child gets at least one chocolate bar?

    Question 13
    2025 PYQ

    Let be a variable that takes real values, and let . Which of the following statements is/are true?

    Question 14
    2025 PYQ

    Let . We draw a tangent to the curve at the point on the curve whose coordinate is equal to 4. Where does this tangent intersect the X-axis?

    Question 15
    2025 PYQ

    A game being offered in a casino consists of guessing the outcomes of two tosses of a fair coin. The gambler wins if she/he has correctly guessed at least one of the two tosses. To play a game, the gambler has to pay a fee of Rs. 80, and the winner gets a reward of Rs. 100 on winning the game (and nothing otherwise).

    Which of the following statements are correct?

    Question 16
    2025 PYQ

    Let be the set of all integers. Let . Which of the following statements is/are true?

    Unlock All 27 Questions in Real Examination Mode

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

    More CMI Data Science Previous Year Papers

    Free preview ends here

    Login to view the complete paper 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.

    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.

    CMI Data Science 2025 Question Paper with Solutions: 27 Questions, Answer Key & Section-wise Analysis

    CMI Data Science 2025 previous year paper: 27 questions with answer key and detailed solutions, section-wise breakdown and free sample questions.

    Paper breakdown

    27 questions · 61 marks · 2.1350000000000002 minutes. School Level Mathematics: 7 · Algebra: 6 · Programming Fundamentals: 5 · Discrete Mathematics: 5 · Calculus: 2 · Probability and Statistics: 1 · Number Theory: 1

    Free sample questions from CMI Data Science 2025 Question Paper

    Question 1 · School Level Mathematics · 2025 SUB

    A girl writes five consecutive positive integers on a blackboard. She then erases one of them. The sum of the remaining four numbers is 2025. What number did she erase?

    Correct Answer:

    none

    Step-by-Step Solution

    Insight: This is a missing-term bounding puzzle — "five consecutive integers" forms a hidden AP with , and "erases one" means the visible sum is the full sum minus exactly one member. The membership constraint gives a tight inequality that pins the centre.

    Exam route:

    Step 1: Let the five integers be . Their total is .

    Step 2: If the erased number is , then .

    Step 3: Since must belong to the original set, .

    Step 4: Substitute : .

    Step 5: Left inequality: .

    Step 6: Right inequality: .

    Step 7: The centre of five consecutive integers is an integer, so .

    Step 8: The erased number is .

    Verification: the five integers are . Removing leaves . ✓

    Learning route:

    This is a missing-term bounding puzzle. The phrase "consecutive integers" means they form an AP with , and "erases one" means the visible sum equals the full sum minus exactly one member of the set.

    Step 1: Centre the sequence. Let be the average. The integers are and their total is .

    Step 2: Express the missing term. .

    Step 3: Apply the membership bound. .

    Step 4: Solve the compound inequality. .

    Step 5: Since is an integer, . Then .

    Trap: A common trap is assuming the erased number is the average of the remaining four numbers (), which is not even an integer. The average of the remaining four is shifted from the true centre because the missing term is not the centre.

    Question 2 · School Level Mathematics · 2025 SUB
    A toy company currently sells 1,000 toys each month at a price of ₹500 per toy. To increase their sales, the company is considering to lower the price. Market research shows that for every ₹10 decrease in the price, the number of toys sold increases by 100. However, the price cut applies to all the toys sold.
    (a) By how much should the company reduce the price, so as to maximize its monthly revenue?
    (b) What would be the maximum revenue per month that the company can achieve?
    Assume that the decrease in price is an integer multiple of ₹1.
    Correct Answer:

    none

    Step-by-Step Solution

    Insight: This is a demand-reconstruction revenue-maximisation question, recognisable because a base price-quantity pair is given alongside a constant rate at which quantity responds to price changes. The pivot phrase is "the price cut applies to all the toys sold", which forces revenue to be (new price) (new total quantity).

    Exam route:

    Let be the total price reduction in ₹.

    New price per toy: .

    New quantity sold: .

    Monthly revenue:

    Differentiate with respect to :

    Set :

    Second derivative: , confirming a maximum.

    (a) Total price reduction = ₹200.

    (b) Maximum revenue = .

    Learning route:

    Alternatively, let be the number of ₹10 price drops.

    New price: . New quantity: .

    Revenue .

    The roots of are and . The vertex of this downward parabola is at the midpoint .

    Total price reduction = .

    Maximum revenue = .

    Both methods yield the same result, confirming the answer.

    Verification: At , price is ₹300, quantity is . Revenue = . If , price is ₹310, quantity is 2900, revenue = .

    Question 3 · School Level Mathematics · 2025 SUB
    Let be an matrix. We define an elementary row operation on to be one of the following:
    i Interchanging some two rows of .
    ii Multiplying a row in by a non-zero scalar.
    iii Adding a scalar multiple of one row of to another row of .
    An matrix is said to be elementary if it is the result of a single elementary row operation performed on the identity matrix.
    Which of the following statements is/are true? Justify your answer with a short proof, if the statement is true, otherwise, provide a counterexample.
    1. A.

      Every elementary operation on a matrix can be performed by multiplying by an elementary matrix on the right.

    2. B.

      An elementary row operation on a matrix results in a matrix with the same determinant as that of .

    Correct Answer:

    none

    Step-by-Step Solution

    Insight: This question tests the core properties of elementary matrices. The two main traps are confusing left-multiplication (row operations) with right-multiplication (column operations), and assuming all elementary row operations preserve the determinant.

    Exam route:

    Statement 1 is false. Right-multiplication by an elementary matrix performs a column operation, not a row operation.

    Statement 2 is false. Row swaps negate the determinant, and row scaling multiplies it by the scalar. Only row addition preserves the determinant.

    Learning route:

    Evaluating Statement 1: "Every elementary operation on can be performed by multiplying by an elementary matrix on the right."

    Step 1: An elementary matrix is formed by applying one elementary row operation to the identity matrix .

    Step 2: The fundamental theorem of elementary matrices states that left-multiplication () applies that exact row operation to .

    Step 3: Right-multiplication () applies the corresponding column operation to , not the row operation.

    Step 4: Counterexample: Let (which swaps rows 1 and 2 of ) and .

    Step 5: (rows of are swapped). But (columns of are swapped, not rows).

    Conclusion: Statement 1 is FALSE.

    Evaluating Statement 2: "An elementary row operation on results in a matrix with the same determinant as that of ."

    Step 1: There are three types of elementary row operations. We must check if all of them preserve the determinant.

    Step 2: Operation (i) - Row swap: Swapping two rows multiplies the determinant by . It does not preserve the determinant.

    Step 3: Operation (ii) - Row scaling: Multiplying a row by a non-zero scalar multiplies the determinant by . It does not preserve the determinant.

    Step 4: Operation (iii) - Row addition: Adding a multiple of one row to another leaves the determinant unchanged.

    Step 5: Since operations (i) and (ii) change the determinant, the statement that an elementary row operation results in the same determinant is false.

    Conclusion: Statement 2 is FALSE.

    Question 4 · Algebra · 2025 MSQ

    What is the domain of the following real valued function?

    1. A.

    2. B.

    3. C.

    4. D.

    Question 5 · Algebra · 2025 MSQ

    Let A=\left[\begin{array}{cc}a&b\c&d\end{array}\right] be a real matrix which satisfies . Which of the following statements is/are always true?

    1. A.

    2. B.

    3. C.

    4. D.

    Question 6 · Algebra · 2025 MSQ

    Let be an integer, and let be variables which take real values with for all . Let

    Which of the following statements is/are true.

    1. A.

      is always true.

    2. B.

      is true for some values of the 's and is true for some values of the 's.

    3. C.

      has a finite number of solutions.

    4. D.

      has an infinite number of solutions.

    Question 7 · Programming Fundamentals · 2025 MSQ

    The two arguments to the function in the code below are: (i) an integer array indexed from 0, and (ii) the number of elements in .

    ```

    function foo(A, n) {

    count = 0;

    for i from 0 to (n-1) {

    for j from (i+1) to (n-1) {

    if (A[i] > 2 * A[j]) {

    count = count + 1;

    }

    }

    }

    return(count);

    }

    ```

    Which of the following statements about the function are correct?

    1. A.

      counts the number of index pairs such that and .

    2. B.

      For the input , , the function returns 7.

    3. C.

      For the input , , the function returns 0.

    4. D.

      For the input , , the function returns 2.

    Question 8 · Programming Fundamentals · 2025 MSQ

    In the following code the operator denotes the remainder after integer division. That is: for positive integers the value is the remainder obtained when is divided by .

    ```

    function fizzbuzz(n) {

    count = 0;

    for i from 0 to (n-1) {

    if ((i % 3) == 0) and ((i % 5) != 0) {

    count = count + 1;

    }

    }

    return(count);

    }

    ```

    What does fizzbuzz(100) return?

    1. A.

      27

    2. B.

      33

    3. C.

      45

    4. D.

      60

    Question 9 · Programming Fundamentals · 2025 MSQ
    Common Description:
    Questions 18 to 20 are based on the following code. The two arguments to the function Mystery(A, n) in the code below are: (i) an integer array A indexed from 0, and (ii) the number n of elements in A. Each element of A is an integer from the set . The expression creates an array, indexed from 0, that contains zeroes. ``` function Mystery(A, n) { found = False; value = None; B = [0] * (n+1); for i from 1 to n { B[A[i]] = B[A[i]] + 1; } for i from 1 to n { if (found == False) { if (B[A[i]] == 1) { found = True; value = A[i]; } } } if (found == True) { return(value); } else { return(None); } } ``` Answer the next three questions about this function.

    What does the function call Mystery([1, 2, 3, 3, 2, 1], 6) return?
    1. A.

      None

    2. B.

      1

    3. C.

      2

    4. D.

      3

    Question 10 · Discrete Mathematics · 2025 MSQ

    Let and be two finite sets. Which of the following statements regarding functions from is/are true?

    1. A.

      The number of one-to-one functions is .

    2. B.

      There are as many one-to-one functions as onto functions.

    3. C.

      The number of onto functions is strictly less than the number of one-to-one functions.

    4. D.

      The number of one-to-one functions is 24.

    Question 11 · Discrete Mathematics · 2025 MSQ

    A binary relation defined on a set is said to be <b>antisymmetric</b> if for , and . Let be two binary relations defined on a set . The <b>union</b> of is the binary relation defined on as: For , . The <b>intersection</b> of is the binary relation defined on as: For , . Which of the following statements is/are true?

    1. A.

      A binary relation cannot be both symmetric and antisymmetric.

    2. B.

      A binary relation can be both transitive and antisymmetric.

    3. C.

      The union of two equivalence relations is always an equivalence relation.

    4. D.

      The intersection of two equivalence relations is always an equivalence relation.

    Question 12 · Discrete Mathematics · 2025 MSQ

    In how many ways can 10 identical chocolate bars be distributed among 5 children, in such a way that each child gets at least one chocolate bar?

    1. A.

      50

    2. B.

      126

    3. C.

      252

    4. D.

      3125

    Question 13 · Calculus · 2025 MSQ

    Let be a variable that takes real values, and let . Which of the following statements is/are true?

    1. A.

      has a local maximum at

    2. B.

      has a local maximum at

    3. C.

      has a local minimum at

    4. D.

      has a global minimum at

    Question 14 · Calculus · 2025 MSQ

    Let . We draw a tangent to the curve at the point on the curve whose coordinate is equal to 4. Where does this tangent intersect the X-axis?

    1. A.

    2. B.

    3. C.

    4. D.

    Question 15 · Probability and Statistics · 2025 MSQ

    A game being offered in a casino consists of guessing the outcomes of two tosses of a fair coin. The gambler wins if she/he has correctly guessed at least one of the two tosses. To play a game, the gambler has to pay a fee of Rs. 80, and the winner gets a reward of Rs. 100 on winning the game (and nothing otherwise).

    Which of the following statements are correct?

    1. A.

      In the first 10 minutes on a given day exactly three gamblers play the game, one after the other. The probability that the casino owner makes a profit in the first 10 minutes equals .

    2. B.

      One gambler plays the game three times. The probability that she wins exactly two of the three games is .

    3. C.

      Three friends go together and play the game with each playing once. The probability that all three win equals .

    4. D.

      If 1200 players play the game on a given day, the expected profit of the casino owner for the day equals Rs. 6000.

    Question 16 · Number Theory · 2025 MSQ

    Let be the set of all integers. Let . Which of the following statements is/are true?

    1. A.

    2. B.

    3. C.

    4. D.

    Other CMI Data Science papers