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

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

    21 Qs

    Total Questions

    47 Marks

    Total Marks

    1.645 Mins

    Duration

    +3 / -1 / 0

    Marking Scheme

    Section-wise Paper Structure

    School Level Mathematics

    12 Qs

    57% of total marks

    Probability Theory

    4 Qs

    19% of total marks

    Discrete Mathematics

    4 Qs

    19% of total marks

    Programming

    1 Qs

    5% of total marks

    Free Solved Questions with Step-by-Step Solutions

    Authentic examination problems with detailed derivations and answer keys.

    Question 1
    2020 PYQ
    Level 3: Exam Standard

    Consider the matrices

    Which of the following hold true?

    Question 2
    2020 PYQ
    Level 3: Exam Standard
    In the figure shown below, the circle has diameter 5. Moreover, AB is parallel to DE. If DE = 3 and AB = 6, what is the area of triangle ABC?
    A B C D E F
    Question 3
    2020 PYQ
    Level 3: Exam Standard
    Common Description: The following description holds for the two problems below.
    A permutation is a bijection from the set to itself. We denote it using the notation e.g. if then denotes the permutation defined by , and .
    An inversion in is a pair such that but . The sign of a permutation (denoted ) is defined to be , where denotes the total number of inversions in . In the above example, there are 2 inversions corresponding to the pairs and so that .
    For each permutation , define a matrix as follows: Find , , and for the following permutations:
    Question 4
    2020 PYQ
    Level 3: Exam Standard
    As per the data released by the US Department of Health, Education and Welfare, the number of Ph.D. degrees conferred in Earth Sciences from the year 1948 to 1954 is as given in Table 5.
    YearDegrees
    194857
    194988
    1950125
    1951135
    1952126
    1953146
    1954141

    Based on the average of all available three year moving averages of annual growth rate, and the number of degrees in 1954, what will be the (approximate) predicted number of degrees in earth sciences in 2020? Note that a moving average or a rolling average is an average of a subset of data points. Choose the best answer.
    Question 5
    2020 PYQ
    Level 3: Exam Standard
    Consider the following bar chart:
    FEDCBAGradePercentage of Students0510152025303540CalculusAlgebra
    Which of the following are true?
    Question 6
    2020 PYQ
    Level 3: Exam Standard
    Common Description: Description for the following 2 questions:
    The lifespan of a battery in a car follows Gamma distribution with probability density function where and . The mean and variance of a Gamma distribution are and respectively. From historical data the mean and variance of the lifespan of a battery are estimated as 4 years and 2 years respectively. Which of the following statements are correct?
    Question 7
    2020 PYQ
    Level 3: Exam Standard
    Your class has a textbook and a final exam. Let and be the following propositions:
    • : You get an A on the final exam.
    • : You do every exercise in the book.
    • : You get an A in the class.
    Translate the following assertions into propositional formulas using and the propositional connectives (and), (or), (not) and (implies).
    (a) To get an A in the class, it is necessary for you to get an A on the final.
    (b) You get an A on the final, but you don’t do every exercise in this book; nevertheless, you get an A in this class.
    Question 8
    2020 PYQ
    Level 3: Exam Standard

    How many squares are there on a chessboard?

    Question 9
    2020 PYQ
    Level 3: Exam Standard

    It is mid-semester exam week at CMI and first-year students from both M.Sc. Data Science (DS) and M.Sc. Computer Science (CS) have their exams scheduled for Monday from 10 a.m. to 1 p.m. in Lecture Hall 1. The first row in Lecture Hall 1 has six seats. In how many different ways can three M.Sc. DS students - Anish, Binish and Finish - and three M.Sc. CS students - Ramesh, Suresh, and Ragesh - be seated in this row, in such a way that two students from the same course do not sit next to each other?

    Question 10
    2020 PYQ
    Level 3: Exam Standard

    Consider the following program. Assume that and are integers.

    f(x, y)

    {

    if (y != 0)

    return (x * f(x, y-1));

    else

    return 1;

    }

    What is f(6,3)?

    Unlock All 21 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 2020 Question Paper with Solutions: 21 Questions, Answer Key & Section-wise Analysis

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

    Paper breakdown

    21 questions · 47 marks · 1.645 minutes. School Level Mathematics: 12 · Probability Theory: 4 · Discrete Mathematics: 4 · Programming: 1

    Free sample questions from CMI Data Science 2020 Question Paper

    Question 1 · School Level Mathematics · 2020 MSQ

    Consider the matrices

    Which of the following hold true?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

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

    Step-by-Step Solution

    Key idea: This is a matrix comparison question involving trace and determinant, recognizable by the anti-diagonal filling pattern and the relationship between and .

    Step 1: Observe the structure of and . is exactly rotated by 180 degrees. This means , where is the exchange matrix (1s on the anti-diagonal).

    Step 2: The determinant of the exchange matrix for size is . For , .

    Step 3: Calculate . (Statement A is true, C is false).

    Step 4: The trace is invariant under similarity transformations. Since , . (Statement B is true).

    Step 5: The cyclic property of the trace states that for any square matrices and . Thus, . (Statement D is true).

    Answer: A, B, D

    Question 2 · School Level Mathematics · 2020 SUB
    In the figure shown below, the circle has diameter 5. Moreover, AB is parallel to DE. If DE = 3 and AB = 6, what is the area of triangle ABC?
    A B C D E F
    Correct Answer:

    24

    Step-by-Step Solution

    Key idea: This is a circle geometry question combining similar triangles and Thales's theorem. It is recognisable by the presence of a circle, a diameter, parallel chords/secants, and a request for a triangle area.

    Step 1: Identify the similar triangles.

    From the figure, lines and intersect at point . We are given that .

    Because , the transversal lines create equal alternate interior angles. Also, vertically opposite angles at are equal.

    Therefore, by AA similarity.

    Step 2: Find the ratio of similarity.

    The corresponding sides are and .

    Given and , the ratio of similarity from to is:

    This means every length in is twice the corresponding length in .

    Step 3: Use the circle properties to find the dimensions of .

    Looking at the figure, is a chord passing through the center (since are collinear on the horizontal line passing through the center). Thus, is the diameter of the circle.

    Given diameter , so .

    By Thales's theorem, the angle subtended by a diameter at any point on the circle is a right angle. Point is on the circle, so .

    In the right-angled , we know the hypotenuse and leg .

    By the Pythagorean theorem:

    Step 4: Calculate the areas.

    Area of .

    Since with linear scale factor , the ratio of their areas is .

    Area of .

    Answer: 24

    Question 3 · School Level Mathematics · 2020 SUB
    Common Description: The following description holds for the two problems below.
    A permutation is a bijection from the set to itself. We denote it using the notation e.g. if then denotes the permutation defined by , and .
    An inversion in is a pair such that but . The sign of a permutation (denoted ) is defined to be , where denotes the total number of inversions in . In the above example, there are 2 inversions corresponding to the pairs and so that .
    For each permutation , define a matrix as follows: Find , , and for the following permutations:
    Correct Answer:

    0

    Step-by-Step Solution

    Key idea: This is a permutation sign and matrix question. The sign of a permutation is , where is the number of inversions.

    Step 1: Find inversions for .

    An inversion is a pair with and .

    • For : for . (1 inversion)
    • For : for . (1 inversion)
    • For : for . (1 inversion)
    • For : for . (1 inversion)

    Total inversions for = 4. Thus, .

    Step 2: Find inversions for .

    • For : for . (3 inversions)
    • For : none.
    • For : for . (1 inversion)
    • For : none.
    • For : for . (1 inversion)

    Total inversions for = 5. Thus, .

    Step 3: The permutation matrices and have 1s at and respectively.

    Since the platform requires a single numeric answer for this multi-part question, we sum the signs: .

    Answer: 0

    Question 4 · Probability Theory · 2020 MSQ
    As per the data released by the US Department of Health, Education and Welfare, the number of Ph.D. degrees conferred in Earth Sciences from the year 1948 to 1954 is as given in Table 5.
    YearDegrees
    194857
    194988
    1950125
    1951135
    1952126
    1953146
    1954141

    Based on the average of all available three year moving averages of annual growth rate, and the number of degrees in 1954, what will be the (approximate) predicted number of degrees in earth sciences in 2020? Note that a moving average or a rolling average is an average of a subset of data points. Choose the best answer.
    1. A.

      900

    2. B.

      9,000

    3. C.

      9,00,000

    4. D.

      90,00,000

    Correct Answer:

    ["B"]

    Step-by-Step Solution

    Key idea: This is a time-series forecasting question using moving averages of growth rates, recognizable because it asks to predict a future value based on historical growth patterns.

    Step 1: Calculate the annual growth rates for the given years.

    • 1948-49:
    • 1949-50:
    • 1950-51:
    • 1951-52:
    • 1952-53:
    • 1953-54:

    Step 2: Calculate the three-year moving averages of these growth rates.

    • MA1 (centered 1950):
    • MA2 (centered 1951):
    • MA3 (centered 1952):
    • MA4 (centered 1953):

    Step 3: Calculate the average of these moving averages.

    • Average Growth Rate (or 14.2%).

    Step 4: Forecast for 2020. Number of years from 1954 to 2020 is years.

    Step 5: Use the compound growth formula: .

    • .
    • .
    • .

    Step 6: Compare with options. 9,000 is the closest approximation.

    Answer: 9,000

    Question 5 · Probability Theory · 2020 MSQ
    Consider the following bar chart:
    FEDCBAGradePercentage of Students0510152025303540CalculusAlgebra
    Which of the following are true?
    1. A.

      Number of students who scored A in Algebra is higher than the number of students who scored A in Calculus.

    2. B.

      Percentage of students who scored A or B in algebra is lower than the percentage of students who scored A or B in calculus.

    3. C.

      Calculus is easier than algebra.

    4. D.

      Considering this data, the average percentage of students scoring A is 12%.

    Correct Answer:

    ["A"]

    Step-by-Step Solution

    Insight: In comparative bar charts of grades for two subjects without specified different cohort sizes, the standard assumption is a single cohort. Thus, percentages can be directly compared to determine relative absolute numbers.

    Exam route: Extract percentages using the scale (45 pixels = 5%, so 1% = 9 pixels). Calculus A ≈ 8.33%, Algebra A ≈ 16.67%. Since 16.67% > 8.33% of the same total, the number of students scoring A in Algebra is higher.

    Learning route:

    Step 1: Decode the axis scale. The x-axis marks are 0, 5, 10... with 45 pixels between each 5-unit mark. Thus, 1 percentage point = 9 pixels.

    Step 2: Extract exact percentages. Calculus A width = 75 pixels → 75/9 ≈ 8.33%. Algebra A width = 150 pixels → 150/9 ≈ 16.67%.

    Step 3: Evaluate Option 1. Assuming a common cohort (standard for such charts), 16.67% of N > 8.33% of N. Thus, the number of students scoring A in Algebra is higher. This statement is true.

    Step 4: Evaluate Option 2. Algebra A+B ≈ 16.67 + 38.89 = 55.56%. Calculus A+B ≈ 8.33 + 31.11 = 39.44%. 55.56% is not lower than 39.44%. False.

    Step 5: Evaluate Option 3. "Easier" is a subjective judgment, not a factual data derivation. False.

    Step 6: Evaluate Option 4. The average of the two A percentages is (8.33 + 16.67) / 2 = 12.5%, not 12%. False.

    Verification: Re-reading the chart confirms the pixel widths strictly yield ~8.33% and ~16.67%, averaging to 12.5%, definitively ruling out 12%.

    Question 6 · Probability Theory · 2020 MSQ
    Common Description: Description for the following 2 questions:
    The lifespan of a battery in a car follows Gamma distribution with probability density function where and . The mean and variance of a Gamma distribution are and respectively. From historical data the mean and variance of the lifespan of a battery are estimated as 4 years and 2 years respectively. Which of the following statements are correct?
    1. A.

      and

    2. B.

      and

    3. C.

    4. D.

    Correct Answer:

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

    Step-by-Step Solution

    Key idea: This is a parameter recovery and moment calculation question for the Gamma distribution. We must solve for and using the given mean and variance, then apply the variance identity to find .

    Step 1: Solve for and .

    We are given and .

    From the first equation, .

    Substitute this into the variance equation: .

    Now find : .

    Therefore, and . Option B is correct, and Option A is incorrect.

    Step 2: Evaluate the formula for in Option C.

    We know the variance identity: .

    Rearranging gives .

    Substitute the Gamma formulas: .

    This can be factored as . Option C is correct.

    Step 3: Evaluate the numeric value of in Option D.

    Using the given numeric mean and variance: .

    Option D is correct.

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

    Question 7 · Discrete Mathematics · 2020 SUB
    Your class has a textbook and a final exam. Let and be the following propositions:
    • : You get an A on the final exam.
    • : You do every exercise in the book.
    • : You get an A in the class.
    Translate the following assertions into propositional formulas using and the propositional connectives (and), (or), (not) and (implies).
    (a) To get an A in the class, it is necessary for you to get an A on the final.
    (b) You get an A on the final, but you don’t do every exercise in this book; nevertheless, you get an A in this class.
    Correct Answer:

    4

    Step-by-Step Solution

    Key idea: This is a propositional translation question testing the direction of implication for "necessary" conditions and the use of conjunction for "but/nevertheless".

    Step 1: Identify the propositions.

    : You get an A on the final exam.

    : You do every exercise in the book.

    : You get an A in the class.

    Step 2: Translate part (a).

    "To get an A in the class, it is necessary for you to get an A on the final."

    • Subject: getting A in class = .
    • Necessary condition: getting A on final = .
    • Rule: " is necessary for " translates as .
    • Here: is necessary for , so .

    Step 3: Translate part (b).

    "You get an A on the final, but you don't do every exercise in this book; nevertheless, you get an A in this class."

    • "You get an A on the final" = .
    • "but" = conjunction ().
    • "you don't do every exercise" = .
    • "nevertheless" = conjunction ().
    • "you get an A in this class" = .
    • Combined: .

    Step 4: Count total connectives.

    Part (a): uses 1 connective ().

    Part (b): uses 3 connectives (, , ).

    Total: .

    Answer: 4 (total propositional connectives across both translations).

    Question 8 · Discrete Mathematics · 2020 MSQ

    How many squares are there on a chessboard?

    1. A.

      49

    2. B.

      204

    3. C.

      203

    4. D.

      140

    Correct Answer:

    ["D"]

    Step-by-Step Solution

    Key idea: this is a grid enumeration question asking for the total number of squares of all sizes in an grid. The trigger is "how many squares", which implies counting , , up to squares, not just the unit cells.

    Step 1: A square on a board is uniquely determined by the position of its top-left corner.

    Step 2: The top-left corner can be placed in horizontal positions and vertical positions. Thus, there are squares of size .

    Step 3: Sum over all possible sizes from 1 to 7:

    Total squares .

    Step 4: Calculate the sum: . (This matches the standard formula for , which gives ).

    Step 5: Match with options. Option A (49) counts only the cells. Option B (204) is the sum for an board. Option D (140) is the correct total for a board.

    Answer: ["D"]

    Question 9 · Discrete Mathematics · 2020 MSQ

    It is mid-semester exam week at CMI and first-year students from both M.Sc. Data Science (DS) and M.Sc. Computer Science (CS) have their exams scheduled for Monday from 10 a.m. to 1 p.m. in Lecture Hall 1. The first row in Lecture Hall 1 has six seats. In how many different ways can three M.Sc. DS students - Anish, Binish and Finish - and three M.Sc. CS students - Ramesh, Suresh, and Ragesh - be seated in this row, in such a way that two students from the same course do not sit next to each other?

    1. A.

      36

    2. B.

      48

    3. C.

      72

    4. D.

      96

    Correct Answer:

    ["C"]

    Step-by-Step Solution

    Key idea: This is an alternating arrangement problem, recognizable by the condition "two students from the same course do not sit next to each other".

    Step 1: We have 3 DS students and 3 CS students. To ensure no two students from the same course sit together, they must strictly alternate.

    Step 2: There are exactly two valid alternating patterns for 6 seats:

    Pattern 1: DS - CS - DS - CS - DS - CS

    Pattern 2: CS - DS - CS - DS - CS - DS

    Step 3: For Pattern 1, the 3 DS students can be arranged in their 3 seats in ways. The 3 CS students can be arranged in their 3 seats in ways. Total for Pattern 1 = .

    Step 4: Similarly, for Pattern 2, the arrangements = .

    Step 5: Total valid arrangements = .

    Answer: 72

    Question 10 · Programming · 2020 MSQ

    Consider the following program. Assume that and are integers.

    f(x, y)

    {

    if (y != 0)

    return (x * f(x, y-1));

    else

    return 1;

    }

    What is f(6,3)?

    1. A.

      243

    2. B.

      729

    3. C.

      125

    4. D.

      216

    Correct Answer:

    ["D"]

    Step-by-Step Solution

    Key idea: This is a recursive function evaluation question, recognizable because it defines a function in terms of itself with a clear base case and recursive step.

    Step 1: Identify the base case. When y == 0, the function returns 1. This stops the recursion.

    Step 2: Identify the recursive step. When y != 0, it returns x * f(x, y-1). This means the function multiplies x by the result of the function called with y decremented by 1.

    Step 3: Trace the call stack for f(6, 3).

    f(6, 3) = 6 * f(6, 2)

    f(6, 2) = 6 * f(6, 1)

    f(6, 1) = 6 * f(6, 0)

    f(6, 0) = 1 (base case reached)

    Step 4: Substitute the values back up the stack.

    f(6, 1) = 6 * 1 = 6

    f(6, 2) = 6 * 6 = 36

    f(6, 3) = 6 * 36 = 216

    Answer: 216 (Option D)

    Other CMI Data Science papers