CMI Data Science
    Test Series
    Verified Solutions Included

    Algebra & Number Theory, Functions & Calculus, Combinatorics & Induction… Test for CMI Data Science: 40 Questions with Solutions & Analysis

    Attempt the Algebra & Number Theory, Functions & Calculus, Combinatorics & Induction… test for CMI Data Science: 40 exam-level questions, detailed solutions a

    40 Qs

    Total Questions

    Not provided

    Total Marks

    Not provided

    Duration

    Free Solved Questions with Step-by-Step Solutions

    Authentic examination problems with detailed derivations and answer keys.

    Question 1

    Consider a 3-state Markov chain with transition matrix for some parameter . Let be the expected hitting time matrix, where . How many entries of can be strictly greater than $2.5$ for some valid choice of ?

    Question 2

    Consider a randomized search algorithm on an array of size containing copies of a target value , where . The algorithm samples indices uniformly with replacement until is found. Which of the following statements is/are correct?

    Question 3

    A vertical gnomon of height $10$ cm is placed on a horizontal sundial. At a certain time, the sun's altitude (elevation angle) is $45^\circ$ and its azimuth (angle measured clockwise from North) is $120^\circ$. At a later time, the sun's altitude is $30^\circ$ and its azimuth is $150^\circ$. What is the distance (in cm) between the tips of the two shadows on the dial?

    Question 4

    Let be a random variable with mean $0$ and variance $1$. Define . Using Chebyshev's inequality, what is the minimum guaranteed value of ?

    Question 5

    Common Description:

    Questions (3) and (4) are based on the following information

    Let be a continuous function that satisfies

    and that . The following two questions are based on this information.

    Assuming that holds for all real , determine all values of for which is strictly increasing.

    Question 6

    Let be the number of records in a uniformly random permutation of . Let be the indicator that position is a record. Rank the conditional second central moments for in increasing order.

    Unlock All 40 Questions in Real Examination Mode

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

    More CMI Data Science 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.

    Algebra & Number Theory, Functions & Calculus, Combinatorics & Induction… Test for CMI Data Science: 40 Questions with Solutions & Analysis

    Attempt the Algebra & Number Theory, Functions & Calculus, Combinatorics & Induction… test for CMI Data Science: 40 exam-level questions, detailed solutions and performance analysis. First questions free.

    Paper breakdown

    40 questions.

    Free sample questions from Algebra & Number Theory, Functions & Calculus, Combinatorics & Induction…

    Question 1 · Probability Theory MSQ

    Consider a 3-state Markov chain with transition matrix for some parameter . Let be the expected hitting time matrix, where . How many entries of can be strictly greater than $2.5$ for some valid choice of ?

    1. A.

      3

    2. B.

      6

    3. C.

      7

    4. D.

      9

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: The chain is doubly stochastic, so diagonal hitting times are exactly 3, while off-diagonal hitting times are rational functions whose maximums are strictly less than 2.5.

    Exam route: Note . For off-diagonals, set up and , yielding . Check discriminant of to see it's never . Same for backward. Total = 3.

    Learning route:

    1. Key idea: This is a parameterized expected hitting time question, recognisable because it asks for entries of exceeding a threshold for a parameterized transition matrix.
    2. Why it applies: The matrix is doubly stochastic, which immediately gives . The off-diagonal entries require solving a system of linear equations parameterized by .
    3. Step-by-step:
    • Observe is doubly stochastic (each column sums to 1). Thus, the stationary distribution is uniform, , and the expected return time for any state is . Since , all 3 diagonal entries are valid.
    • Set up equations for off-diagonal hitting times. By symmetry, there are two types: "Forward" () and "Backward" ().
    • For Forward: and . Substituting yields .
    • For Backward: and . Substituting yields .
    • Check if Forward : . The discriminant is . Since the leading coefficient is positive, the quadratic is always positive, so the inequality is NEVER satisfied. (0 entries)
    • Check if Backward : . The discriminant is . This is also NEVER satisfied. (0 entries)
    1. Answer: Total valid entries = 3 (the diagonals) + 0 + 0 = 3.

    Wrong path: A student sets up the inequality for the Backward entry: . They make a sign error when moving terms, writing . This incorrect quadratic has a positive root at , leading them to believe the inequality holds for . They make a similar sign error for the Forward entry, getting a valid interval. Believing both off-diagonal types are valid for some , they incorrectly count all 9 entries.

    Generalization: When evaluating conditions on parameterized Markov chain properties, explicitly compute the algebraic form, check the discriminant of the resulting quadratic, and verify the valid parameter range without assuming algebraic shortcuts.

    Verification: Test . . . The maximum of occurs at (value 2) or (value 1). The maximum of occurs at , yielding . Thus, only the 3 diagonal entries (which are constantly 3) exceed 2.5. Count is robustly 3.

    Question 2 · Probability Theory MSQ

    Consider a randomized search algorithm on an array of size containing copies of a target value , where . The algorithm samples indices uniformly with replacement until is found. Which of the following statements is/are correct?

    1. A.

      The expected number of iterations is maximized when .

    2. B.

      The expected number of iterations is a linear function of .

    3. C.

      The probability of finding the target on the first iteration is .

    4. D.

      The worst-case number of iterations is exactly 50.

    Correct Answer:

    ["A","C"]

    Step-by-Step Solution

    Insight: This is an observation question, recognizable because it requires evaluating multiple conceptual statements about the behavior of a randomized search algorithm as parameters change.

    Exam route: Evaluate each statement using the core formula and the definition of sampling with replacement.

    Learning route:

    Step 1: Evaluate Statement A. The expected number of iterations is . Since , this fraction is maximized when the denominator is minimized, i.e., at . Thus, Statement A is TRUE.

    Step 2: Evaluate Statement B. The function is inversely proportional (hyperbolic), not linear. Thus, Statement B is FALSE.

    Step 3: Evaluate Statement C. The probability of success on any single independent trial is . Thus, Statement C is TRUE.

    Step 4: Evaluate Statement D. Because sampling is with replacement, the algorithm could theoretically guess incorrectly forever. The worst-case number of iterations is unbounded (infinite), not 50. The value 50 is the worst-case for deterministic linear search. Thus, Statement D is FALSE.

    Verification: The true statements rely strictly on the geometric distribution properties and the distinction between randomized (with replacement) and deterministic (without replacement) search.

    Question 3 · School Level Mathematics MSQ

    A vertical gnomon of height $10$ cm is placed on a horizontal sundial. At a certain time, the sun's altitude (elevation angle) is $45^\circ$ and its azimuth (angle measured clockwise from North) is $120^\circ$. At a later time, the sun's altitude is $30^\circ$ and its azimuth is $150^\circ$. What is the distance (in cm) between the tips of the two shadows on the dial?

    1. A.

      5

    2. B.

      10

    3. C.

      10\sqrt{2}

    4. D.

      10\sqrt{3}

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a 3D projection problem disguised as a shadow problem. The shadow tip on a horizontal plane is determined by the polar coordinates , where is the shadow length and is the azimuth.

    Step 1: Calculate the length of the first shadow (). For a vertical object of height and sun altitude , the shadow length is .

    cm.

    Step 2: Convert the first shadow tip to Cartesian coordinates using the azimuth .

    .

    .

    Step 3: Calculate the length of the second shadow () with altitude .

    cm.

    Step 4: Convert the second shadow tip to Cartesian coordinates using azimuth .

    .

    .

    Step 5: Find the distance between the two tips and .

    Since , the distance is simply the absolute difference in their y-coordinates:

    cm.

    Answer: 10

    Question 4 · Probability Theory MSQ

    Let be a random variable with mean $0$ and variance $1$. Define . Using Chebyshev's inequality, what is the minimum guaranteed value of ?

    1. A.

      0.75

    2. B.

      0.95

    3. C.

      0.25

    4. D.

      0.05

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a <linear transformation + Chebyshev concentration> question. The trigger is finding the probability of a transformed random variable falling within an interval around its mean.

    Step 1: Find the mean and variance of .

    .

    .

    So, .

    Step 2: Identify the deviation from the mean for the interval.

    The interval is , so the deviation is .

    Step 3: Calculate .

    Step 4: Apply Chebyshev's concentration form.

    .

    Answer: 0.75

    Common trap: Forgetting to square the coefficient when calculating the variance of . If a student uses , they get , , and a bound of .

    Question 5 · School Level Mathematics SUB

    Common Description:

    Questions (3) and (4) are based on the following information

    Let be a continuous function that satisfies

    and that . The following two questions are based on this information.

    Assuming that holds for all real , determine all values of for which is strictly increasing.

    Correct Answer:

    none

    Step-by-Step Solution

    Insight: With granted, the problem reduces to asking when (with ) is strictly increasing, which happens exactly when .

    Exam route: Set . Positivity forces . The exponential is strictly increasing iff .

    Learning route:

    This is an exponential-type functional equation question, recognisable by with and the explicit assumption .

    Step 1: Let . The problem grants for all real .

    Step 2: Prove . From . If for some , then , contradiction. Hence for all , so .

    Step 3: Classify monotonicity of for :

    • : , so is strictly increasing.
    • : for all , constant, not strictly increasing.
    • : , so is strictly decreasing.

    Step 4: Conclude is strictly increasing if and only if .

    Wrong path: Writing . The boundary gives the constant function , which is not strictly increasing.

    Verification: . : strictly increasing. : constant, not strictly increasing. Confirmed.

    Question 6 · Probability Theory MSQ

    Let be the number of records in a uniformly random permutation of . Let be the indicator that position is a record. Rank the conditional second central moments for in increasing order.

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a language-to-math translation question testing the conditional variance given a specific record, recognisable because it requires translating a structural property of the permutation into conditions on the independent indicators.

    Why this method applies: By Renyi's record theorem, the indicators are mutually independent. Therefore, conditioning on simply removes from the sum, leaving the other indicators with their original unconditional distributions.

    Step 1: Express the conditional variance.

    Step 2: Let and . The conditional variance is . To rank these in increasing order, we must rank in decreasing order.

    Step 3: Compute for :

    • :
    • :
    • :
    • :

    Step 4: Rank in decreasing order:

    .

    Step 5: Therefore, the conditional variances in increasing order are:

    .

    Common trap: A student might make a sign error or wrong formula mistake by using the expectation instead of the variance . Since is strictly decreasing, this would lead to the reverse ranking: (Option A).

    Answer:

    More CMI Data Science tests