CMI Data Science
    Test Series
    Verified Solutions Included

    Algebra & Number Theory, Sets, Logic & Relations, Probability & Random… Test for CMI Data Science: 40 Questions with Solutions & Analysis

    Attempt the Algebra & Number Theory, Sets, Logic & Relations, Probability & Random… test for CMI Data Science: 40 exam-level questions, detailed solutions and

    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

    Let be a continuous random variable with probability density function

    where is the normalizing constant. Find the expected value .

    Question 2

    Let be a real orthogonal matrix such that and . Find the value of .

    Question 3

    Let . A relation on has an adjacency matrix that satisfies the matrix equation , where is the matrix of all 1s and is the identity matrix. If is also known to be transitive, how many such relations are possible?

    Question 4

    Let . The Poisson approximation with mean $1$ assigns probability to the event . Which of the following statements are correct?

    Question 5

    Let be invertible matrices of real numbers. Let . We can conclude that

    Question 6

    Let and be real symmetric positive definite matrices. Which of the following matrices is ALWAYS positive definite?

    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, Sets, Logic & Relations, Probability & Random… Test for CMI Data Science: 40 Questions with Solutions & Analysis

    Attempt the Algebra & Number Theory, Sets, Logic & Relations, Probability & Random… 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, Sets, Logic & Relations, Probability & Random…

    Question 1 · Probability Theory MSQ

    Let be a continuous random variable with probability density function

    where is the normalizing constant. Find the expected value .

    1. A.

    2. B.

    3. C.

      $1$

    4. D.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is a piecewise PDF expectation question. While you could compute the integrals directly, observing the symmetry of the density function around provides a much faster and safer path to the answer.

    Step 1: Verify the symmetry of the PDF.

    Notice that and .

    Since for all , the distribution is perfectly symmetric around .

    Step 2: Use the property of symmetric distributions.

    For any continuous random variable whose density is symmetric about a point , the expected value is exactly (provided the integral converges, which it does here since the support is bounded).

    Therefore, .

    Step 3: (Optional check) Compute and verify via direct integration.

    Answer: $1$

    Question 2 · School Level Mathematics SUB

    Let be a real orthogonal matrix such that and . Find the value of .

    Correct Answer:

    -4

    Step-by-Step Solution

    Key idea: This question requires determining the eigenvalues of an orthogonal matrix from its trace and determinant, and then using them to find the determinant of a shifted matrix.

    Step 1: Let the eigenvalues of be .

    Since is real orthogonal, its eigenvalues have magnitude 1. They are either real () or complex conjugate pairs ().

    Step 2: We are given .

    Step 3: We are given .

    Step 4: Since the matrix is , there must be at least one real eigenvalue. Let .

    The other two must be a complex conjugate pair (which multiply to 1) OR both real.

    Case A: All three are real. They must be from . To get a product of -1, we need an odd number of -1s.

    • Three -1s: sum is -3 (doesn't match trace -1).
    • One -1 and two 1s: sum is 1 (doesn't match trace -1).

    So they cannot be all real.

    Case B: One real , and a complex pair .

    The product is .

    The trace is .

    This implies .

    So the complex pair is .

    The eigenvalues are .

    Step 5: We need to find .

    The eigenvalues of are .

    They are: , , .

    Step 6: The determinant is the product of these eigenvalues:

    Answer: -4

    Question 3 · Discrete Mathematics SUB

    Let . A relation on has an adjacency matrix that satisfies the matrix equation , where is the matrix of all 1s and is the identity matrix. If is also known to be transitive, how many such relations are possible?

    Correct Answer:

    24

    Step-by-Step Solution

    Key idea: The matrix equation defines a specific type of graph called a tournament. Adding transitivity restricts this to a strict total order.

    Step 1: Analyze the diagonal entries.

    The diagonal of consists of all 0s.

    Therefore, .

    This means is irreflexive (no self-loops).

    Step 2: Analyze the off-diagonal entries.

    For , the entry in is 1.

    So, .

    Since adjacency matrix entries can only be 0 or 1, exactly one of or must be 1, and the other must be 0.

    This means for any distinct , either or , but not both. This property is known as being asymmetric and total (or connected). A relation with these properties is a tournament.

    Step 3: Apply the transitivity condition.

    We are given that is transitive.

    A relation that is irreflexive, asymmetric, total, and transitive is the exact definition of a strict total order (or linear order).

    Step 4: Count the number of strict total orders.

    A strict total order on a set of elements corresponds to a unique permutation of those elements.

    The number of permutations of 4 elements is .

    Answer: 24.

    Question 4 · Probability Theory MSQ

    Let . The Poisson approximation with mean $1$ assigns probability to the event . Which of the following statements are correct?

    1. A.

      .

    2. B.

      .

    3. C.

      .

    4. D.

      .

    Correct Answer:

    ["A","B","C"]

    Step-by-Step Solution

    Key idea: this is an exact-binomial-versus-Poisson approximation question. For rare events with and , the Poisson mean is , but the exact binomial probabilities can be compared with using a standard inequality.

    Step 1: Compute the exact probability of zero successes:

    So statement A is correct.

    Step 2: Compute the exact probability of one success:

    So statement B is correct.

    Step 3: Compare these with . Use the standard bound, valid for integers :

    Take . Then

    Step 4: Invert the inequalities carefully. From

    we get

    Hence

    so statement C is correct.

    Step 5: From

    we get

    Hence

    so statement D is false.

    Answer: A, B, C.

    Question 5 · School Level Mathematics MSQ

    Let be invertible matrices of real numbers. Let . We can conclude that

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["C","D"]

    Step-by-Step Solution

    Key idea: This is a matrix transpose and inverse properties question, recognisable because it tests the algebraic manipulation of and .

    Step 1: Evaluate Options A and B. The inverse of a product of invertible matrices reverses the order: . Neither nor is generally equal to . Thus, A and B are false.

    Step 2: Evaluate Option C. We are given . Taking the transpose, we use the linearity of transpose and the reversal rule :

    .

    Since , Option C is true.

    Step 3: Evaluate Option D. We are given . Taking the transpose:

    .

    Since , Option D is true.

    Answer: C, D

    Question 6 · School Level Mathematics MSQ

    Let and be real symmetric positive definite matrices. Which of the following matrices is ALWAYS positive definite?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    ["A","C"]

    Step-by-Step Solution

    Key idea: This is a closure property question for positive definite (PD) matrices. We must check both symmetry and the condition for all .

    Step 1: Analyze Option A: .

    Symmetry: .

    Quadratic form: . Since and are PD, both terms are strictly positive for . Thus, is PD. (Option A is TRUE).

    Step 2: Analyze Option B: .

    Symmetry: . Since matrix multiplication is not commutative in general, , so is not necessarily symmetric. If it's not symmetric, it cannot be positive definite. (Option B is FALSE).

    Step 3: Analyze Option C: .

    Symmetry: The inverse of a symmetric matrix is symmetric. So and are symmetric, and their sum is symmetric.

    Quadratic form: Since is PD, is also PD. The sum of two PD matrices is PD (as shown in Option A). Thus, is PD. (Option C is TRUE).

    Step 4: Analyze Option D: .

    Symmetry: . It is symmetric.

    Quadratic form: . This can be negative if . For example, if and , then , which is negative definite. (Option D is FALSE).

    Answer: A, C

    More CMI Data Science tests