Chennai Mathematical Institute

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

CHENNAI MATHEMATICAL INSTITUTE

M.Sc. Data Science Entrance Examination


1st August 2021

D − −
Enter your Admit Card Number :

IMPORTANT INSTRUCTIONS

• Part (A) consists of multiple-choice questions. There may be multiple correct choices. You have to select all
the correct options and no incorrect option to get full marks. There is no partial credit.

• For questions in part (A), you have to provide the answers on the computer. You only have to choose the
appropriate answer(s) from the choices provided. If the answer is parts (a) and (c), choose only (a) and (c).

• For questions in part (B), you have to write your answer with a short explanation in the space provided for
the question.

• Part(A) will be used for screening. Part (B) will be graded only if you score a certain minimum in part
(A). However, your scores in both parts will be used while making the final decision.

• For numerical answers, the following forms are acceptable: fractions, decimals, symbolic e.g.: nr , n Pr , n!.


Notation and terminology


• A function f from a set A to a set B is said to be injective (or one-to-one) if f (x) = f (y) implies x = y
for all x, y ∈ A.

• f is said to be surjective (or onto) for every y ∈ B there exists x ∈ A such that f (x) = y.

• f is said to be bijective if it is both injective and surjective.

• f is said to be invertible if there exists a function g from B to A such that f (g(y)) = y for all y ∈ B and
g(f (x)) = x for all x ∈ A.

• For a matrix A, AT denotes the transpose of A. For a square matrix A, |A| denotes the determinant of A
and trace(A) denotes the trace of A — namely the sum of the diagonal elements of A.

• A diagonal matrix is a square matrix D with all off-diagonal entries equal to zero, i.e., dij = 0 for all i 6= j.

• An upper triangular matrix is a square matrix A for which all entries below the diagonal are zero, i.e., aij = 0
for i > j.

• A symmetric matrix is a square matrix S for which sij = sji for all i 6= j.

1
Part A - Multiple-choice questions

For questions in part (A), you have to provide the answers on the computer. Choose only the appropriate answer(s)
from the choices provided. If the answer is parts (a) and (c), choose only (a) and (c). There is no partial credit.

1. There are two longest subsequences, not necessarily contiguous, common to the strings “ARTIFICIAL” and
“INTELLIGENCE”. They are “IIC” and “TIC” which are of length three.
Consider two strings S1 = “CORONAVIRUS” and S2 = “SARSCOVID”. Let x be the length of a longest
common subsequence between S1 and S2 and let y be the number of such longest common subsequences of
length x between S1 and S2. What is x + 5y?

(a) 13
(b) 15
(c) 14
(d) 16

2. The roots of the polynomial p(x) = x4 − 2x3 − 2x2 + 8x − 8 are:

(a) 1, − 1, 2, 2 + 3i
(b) 1 + i, 1 − i, 2, − 2
(c) 1, − 1 + i, 2, 2 + 3i
(d) 1 + i, − 1 + i, 2, − 2

3. Consider the following code, in which A is an array indexed from 0.


function foo (A , n ) {
m = A [0];
x = 0;
for i = 0 to n -1 {
x = x + A [ i ];
if ( m < x ) {
m = x;
}
if ( x < 0) {
x = 0;
}
}
return ( m );
}

If A = [-12,-3,5,10,8,-16,-23,12,-5,7], what will foo(A,10) return?

(a) 23
(b) 17
(c) -17
(d) 35

2
4. A student has an average score of 80 from her first four Mathematics tests, and 88 from her first five Physics
tests. How much must she score in her upcoming tests to raise her average score in Mathematics and Physics
to 82 and 89, respectively?

(a) 92 in Mathematics and 100 in Physics.


(b) 86 in Mathematics and 90 in Physics.
(c) 88 in Mathematics and 92 in Physics.
(d) 90 in Mathematics and 94 in Physics.

5. A binary tree starts with a single root node at the top of the tree. Each node can have either a left child or
a right child, or both, or neither. The children of a node are drawn below it, connected by edges. Here are
the five possible binary trees with three nodes.

Note that the directions left and right of the children matter. In the second tree, the root has a left child
that has a left child, while, in the fourth tree, the root has a left child that has a right child, and so on.
How many different binary trees can be constructed with four nodes?

(a) 13
(b) 15
(c) 14
(d) 30

3
6. Consider the following code, in which A is an array indexed from 0.
function foo (A , n ) {
x = 0;
for i = 0 to n -1 {
x = A [ i ]^ x ;
}
return ( x );
}

Here, a^b represents the bitwise Exclusive OR function over variables a and b.
Given integers a and b, we write them in binary, padded by zeros to the left to make them of equal length.
We then apply Exclusive OR to these binary representations bitwise. The operation a^b denotes the in-
teger value obtained by performing bitwise Exclusive OR on the binary values of a and b. For example,
3^4 = 011^100 = 111 = 7, and 9^5 = 1001^0101 = 1100 = 12. The truth table for the Exclusive OR
function is provided below.

a b a^b
0 0 0
0 1 1
1 0 1
1 1 0

If A = [2,3,7,2,3], what will foo(A,5) return?

(a) 0
(b) 2
(c) 3
(d) 7

7. Fifteen telephones are received at a service center. Of these, 5 are mobile, 6 are cordless, and 4 are wired.
These 15 phones are randomly numbered from 1 to 15 to establish the order in which they are serviced.
Which of the following statement(s) is/are correct?

(a) The probability that among the first 3 serviced, the first and third are mobile and the second is not, is
5 × 10 × 4
.
15 × 14 × 13
1
(b) The probability that the first four serviced are all the wired phones, is 15 .
4
(c) The probability
 that after servicing ten of these phones, only one of the three types remain to be
6
5
serviced, is 15 .

5
5 6 4
  
2 + 2 + 2
(d) The probability that two phones of each type are among the first six serviced, is 15
 .
6

4
8. Which of the following statement(s) is/are true?
x1 + x2 + · · · + x2k 1
(a) For k = 69597 and x1 , x2 , . . . , xk ∈ (0, ∞), k
≤ (x1 x2 · · · x2k ) 2k .
2
(b) For any three real numbers x, y, z, |x − z| ≤ |x − y| + |y − z|.

X 37
(c) For |r| < 1, 37 · rn = .
1−r
n=0
(d) (n3 − n) is divisible by 3 for all positive integers n.

9. Which of the following statement(s) is/are true for an arbitrary n × n matrix A?

(a) Exchanging two rows of A does not change its determinant.


(b) Exchanging two rows of A does not change its trace.
(c) Replacing each diagonal element of A with a 1 does not change its determinant.
(d) Exchanging two columns of A negates its determinant.

10. Let A, B be n × n matrices. Which of the following properties of A and B is/are preserved under matrix
multiplication?

(a) Being upper triangular.


(b) All diagonal elements being zero.
(c) Being diagonal.
(d) Being symmetric.

5
11. The proportion of visitors to an e-commerce website in a week who would purchase a product follows the
beta distribution with the probability density function
Γ(α + β) α−1
f (x) = x (1 − x)β−1 for 0 < x < 1,
Γ(α)Γ(β)
where Γ is the gamma function, α > 0, β > 0 and (α + β) > 2. The mean and mode of the beta distribution
α α−1
are E(X) = α+β and Mode(X) = α+β−2 . From historical data the mean and mode of the proportion of
1 1
buyers are estimated as 4 and 5 respectively. Which of the following statement(s) is/are correct?

(a) α = 3 and β = 9.
(b) The probability that in a given week the proportion of visitors who buy the product is between 10%
and 20% is given by
Z 0.2 Z 0.1 
Γ(α + β)
xα−1 (1 − x)β−1 dx − xα−1 (1 − x)β−1 dx .
Γ(α)Γ(β) 0 0

(c) The mean proportion of buyers can be calculated as follows


Z 1
Γ(α + β) α−1
x (1 − x)β−1 dx.
0 Γ(α)Γ(β)

(d) The probability that in a given week the proportion of visitors who buy the product is less than 20%
is given by Z 1
Γ(α + β) α
1− x (1 − x)β dx.
0.2 Γ(α)Γ(β)

12. There are 1010 functions from {1, 2, . . . , 10} to {1, 2, . . . , 10}. Pick one such function f at random. Let p1
be the probability that f −1 (3) has exactly four elements, and p2 the probability that f −1 (2) has exactly six
elements. Which of the following statement(s) is/are true?

(a) p1 > p2
(b) p1 < p2
(c) p1 = p2
(d) p1 = 34 p2
 
a 1 0
13. For a non-zero real number a, the inverse of J = 0 a 1 is
0 0 a
 −1 −2 −3 
a a a
(a)  0 a−1 a−2 
0 0 a−1
 −1
−a−2 a−3

a
(b)  0 a−1 −a−2 
0 0 a−1
 −1 
a 1 0
(c)  0 a−1 1 
0 0 a −1
 −1 −2 
a a 0
(d)  0 a−1 a−2 
0 0 a−1

6
Description for following two questions: In the 2019-2020 season of the English Premier League (EPL),
380 matches were played in a home and away format. The figure below describes the number of goals scored
by the home team and the away team against the number of matches played. For example, the home team
scored one goal in 125 matches.

(a) (b)

14. Which of the following statement(s) is/are correct?

(a) The average number of goals scored by the home team over 380 matches is less than 1.5, and for away
teams are less than 1.
(b) In the whole season of the EPL, a total of 1034 goals were scored.
(c) The probability that away team failed to score any goal is 22.11%.
(d) The probability that home team scored more than 3 goals is 6.6%.

15. Which of the following statement(s) is/are correct?

(a) In more than 50% matches, the home team scored at most one goal.
(b) In more than 10% matches, the away team scored more than two goals.
(c) In more than 15% matches, the home team scored three or more goals.
(d) In more than 90% matches, the away team scored less than three goals.

16. You are given a sequence of N digits. From this you can generate N -digit numbers as follows: pick up each
digit in the given order, starting from the first one. Place it either to the left or to the right of the number
you have generated so far. For instance, if you start with the sequence [4, 3, 2, 5, 2], you can generate 53422
through the steps 4 → 34 → 342 → 5342 → 53422, and 22345 through the steps 4 → 34 → 234 → 2345 →
22345.
Which of the following sequences could have generated 51324?

(a) [2, 1, 3, 4, 5]
(b) [2, 3, 1, 5, 4]
(c) [2, 3, 4, 1, 5]
(d) [2, 4, 1, 3, 5]

7
17. Which of the following is/are true?
1 1 1 1
(a) 2 2 < 3 3 and 3 3 > 4 4 .
(b) 2r−1 r! ≥ (2r − 2)! for all natural numbers r.
(c) sin(2x) ≥ cos(x) for all values of x in π6 , π2 .
 

(d) |x − 1| − 1 ≤ ||x − 1| − 1| for all real numbers x.

 
A11 A12
18. Let A11 , A12 , A21 , A22 , B11 , B12 , B21 , B22 be n×n matrices. Consider the 2n×2n matrices A =
A21 A22
 
B11 B12
and B = . The product AB is given by:
B21 B22
 
A11 B11 A12 B12
(a)
A21 B21 A22 B22
 
A11 B21 + A12 B11 A11 B22 + A12 B21
(b)
A21 B21 + A22 B11 A21 B22 + A22 B21
 
A11 (B11 + B21 ) A12 (B12 + B22 )
(c)
A21 (B11 + B21 ) A22 (B12 + B22 )
 
A11 B11 + A12 B21 A11 B12 + A12 B22
(d)
A21 B11 + A22 B21 A21 B12 + A22 B22

19. Consider right angled triangles with integer side lengths a, b, c where c is the hypotenuse. Call a right angled
triangle special if a and b are odd integers. How many special right angled triangles exist?

(a) 23
(b) infinitely many
(c) 0
(d) 12

20. Given a sequence of numbers [x1 , x2 , . . . , xn ], we say that xi is left-visible if each number in [x1 , x2 , . . . , xi−1 ]
is strictly smaller than xi . Similarly xi is right-visible if each number in [xi+1 , xi+2 , . . . , xn ] is strictly smaller
than xi . For instance, in the sequence [13, 37, 24, 55, 46], the numbers 13, 37, 55 are left-visible and 55, 46
are right-visible.
Suppose we construct a sequence from the set {17, 22, 38, 49, 53} such that 4 numbers are left-visible and 2
numbers are right-visible. In addition, we are told that 22 is at the second position from the left. What are
the possible numbers at the third and fifth positions?

(a) {38, 53}


(b) {38, 49}
(c) {17, 49}
(d) {17, 38}

8
Part (B) - Short-answer questions

For questions in part (B), you have to write your answer with a short explanation in the space provided for the
question in your answer sheet. If you need more space, you may continue on the pages provided for rough work.
Any such overflows must be clearly labeled.

1. Consider the following code.


function foo ( n ) {
answer = 0;
x = n;
while ( x > 0) {
y = x % 10;
answer = ( answer * 10) + y ;
x = x // 10;
}

x = answer ;
answer = ( answer * 10) + 1;

while ( x > 0) {
y = x % 10;
answer = ( answer * 10) + y ;
x = x // 10;
}

return ( answer );
}

Here,

• a % b represents the remainder when a is divided by b. For example, 23 % 10 = 3.


• a // b represents integer division. For example, 23 // 10 = 2.

What will foo(2021) return?

2. Food delivery agents Aman, Boni, Chan, Dong and Eman were assessed on five parameters P1 to P5. They
received an integer rating between 1 and 5 for each parameter. None of them received the same rating in
four or more parameters. Everyone received a score of 1 in P2 or P5. All of them received the same rating
in at least two parameters. The partial information related to the ratings are given in the table below.

Name P1 P2 P3 P4 P5
Aman 3
Boni 4
Chan 5
Dong 2
Eman 1

Considering the above information, answer the following questions:

(a) What is the maximum average rating Boni could have achieved across all the five parameters?
(b) What is the minimum average rating Chan could have received across all the five parameters?

9
3. Consider the following code where A is an array indexed from 0.
function foo (A , year , n ) {
l = 0 , r = n - 1 , c = 0;
while ( l <= r ) {
c = c + 1;
m = l + ( r - l ) // 2;
if ( A [ m ] == year ) {
return ( c * m );
}
if ( A [ m ] < year ) {
l = m + 1;
} else {
r = m - 1;
}
}
return ( -1);
}

function bar () {
A = [2016 , 2017 , 2018 , 2019 , 2020 , 2021 , 2022];
result = foo (A , 2021 , 7);
print ( result );
}

Here, a // b represents integer division. For example, 23 // 10 = 2. What will be printed when bar() is
executed?

4. The CMI MSc DS 2021 batch of 60 students is holding an online event to celebrate their joining CMI. Student
Aruni is in charge of organizing the musical section, and she sends out an online form where each student has
to mark whether they agree or decline to performing two activities during the event: singing, and playing a
musical instrument. Each student can mark one of four sets of choices: (i) agree to both singing and playing
an instrument, (ii) agree to sing and decline to play an instrument, (iii) agree to play an instrument and
decline to sing, or (iv) decline to do either activity.
All the students respond within the deadline, and Aruni sits down to tabulate the results so that she can
plan the musical events. She finds that thirty five students agreed to sing or play an instrument, of whom
twenty students agreed to do both.
How many students agreed to do exactly one activity, and how many declined to participate?

5. Show that every selection of 503 numbers from {1, 2, 3, . . . , 987} has two numbers with g.c.d. 1. Recall that
the g.c.d. of two positive integers x, y is the largest positive integer smaller than x, y which divides both x
and y.

10
6. Let S be the sphere given by the equation x2 + y 2 + z 2 − 6x + 4y − 4z − 272 = 0. What are the centre and
radius of S? What is the minimum distance between S and the plane 2x + 2y + z = 214?

7. We draw two rows of n points with labels {1, 2, . . . , n}, as shown in the figure below.

1 2 3 n

1 2 3 n

We connect each point on the top with a point on the bottom at random, making sure that no two points
on the top are connected to the same point on the bottom. We say point j on the top is special if it gets
connected to point j below.
Let X be the number of special points. What is E(X), the expected value of X?

8. Let Tn denote the set of all sequences over {0, 1, 2} of length n. If we pick an element x in Tn uniformly at
random what is the expected number of 1’s in x?
n
X 1
9. What is the smallest possible value of , if the di ’s are constrained to be non-negative real numbers
di + 1
i=1
n
X
and satisfy di = N .
i=1

 
a b c
10. Let A be the 3 × 3 real matrix d e f  . Suppose xT Ax ≥ 0 for every x ∈ R3 . Then show that all of a, e
g h i
and i are non-negative.

11. In the finale of the Indian Idol programme, Ladies Special, there are four women contestants — Arunima,
Priyamani, Razi and Shriya. The organisers send all participants a list of 7 songs, asking each one to pick
one song for the finale. All the four girls pick the same song, Pyar Hua Chupkese from the film 1942 A Love
Story. To resolve the tie, two days before the finale, the organisers prepare 7 sheets of paper and fold them.
Exactly one of the 7 songs from the list is written on each folded sheet and the folded sheets are identical
in all other aspects. First Arunima is asked to pick one sheet out of 7, then Priyamani is asked to pick one
sheet out of the remaining 6, then Razi is asked to pick one out of the remaining 5 and finally Shriya is asked
to pick one out of the remaining 4.

(a) What is the probability that the sheet chosen by Razi has the song Pyar Hua Chupkese?
(b) When Shriya is asked to choose a sheet, she argues that the three sheets chosen by the others should
be opened, and if Pyar Hua Chupkese is not chosen by anyone, she should be allowed to pick that song.
This is agreed to. What is the probability that Shriya gets to sing the song Pyar Hua Chupkese?

11
Description for following two questions: A Non-Banking Finance Corporation (NBFC) declares fixed
annual rates of simple interest on their auto and housing loans each year. The rates of interest offered by
the company differ from year to year depending on the variation in macro economic indicators like inflation,
RBI’s repo rate etc. The annual rates of interest offered by the company for the Auto and Housing sectors
over the years are shown in the figure.

12. In 2013, a customer took a housing loan and a car loan. The total loan amount was |60 lakhs. The interest
paid by the customer after one year was |7.36 lakhs. What was the housing loan amount?

13. In 2012, Customer A took a fixed interest auto loan of |5 lakh for 4 years, which meant he paid interest
according to the 2012 rate each year. Also in 2012, Customer B took a variable interest auto loan for |5
lakh for 4 years which meant his interest each year was calculated based on the prevailing interest rate for
that year. Which of them paid more interest over 4 years? How much more?

14. Let Y be a continuous random variable that takes values in [0, 1].

(a) g(y) is a probability density function that can be used to model Y ,

g(y) = c.y 2 (1 − y), 0 ≤ y ≤ 1

Determine c.

(b) Using g(y), find the probability that Y is greater than 0.8.

12
15. The state government has decided to regulate the sale and distribution of solar power. There are multiple
suppliers and consumers, as described in the tables below. The supplier table lists the amount of electricity
generated by each supplier, in megawatts (MW), and the supplier’s selling price per MW. The consumer
table lists the amount of electricity required by each consumer, in MW, and the price the consumer will pay
per MW.

Supplier ID Quantity Price Consumer ID Quantity Price


1 400 150 1 400 180
2 180 225 2 300 210
3 250 170 3 560 200
4 120 300 4 240 160
5 240 200

The government wishes to fix a uniform market price per MW for solar power. If this price is p, any seller
whose selling price is at most p will be willing to sell some or all of the electricity they generate at price p.
Similarly, any consumer who is willing to pay at least p can buy as much electricity as they need at price p,
upto their required quantity.
Find the value of p at which the maximum amount of solar power can be bought and sold on the market.

16. (a) If a polynomial f (x) has roots r1 , r2 , . . . rn , what are the roots of the polynomial f (x + 1)?
(b) Let f be a polynomial of degree three. Set g(x) = f (x − 1). Assume that −1 is not a root of f . What
are the roots of the polynomial x3 g(1/x)?

17. Is the following statement true?


Z ∞ Z ∞ Z ∞
2 2
If f (x) ≥ 0 for all x, and f (x) dx < ∞ then x f (x) dx ≥  f (x) dx, for all  > 0.
−∞ −∞ 

ln x
18. (a) Consider the function f (x) = x . Find the critical point(s) of f and say whether f has a maximum or
minimum at that point.
(b) Prove that for integers a > b ≥ 3, we must have ab < ba .

19. Recall that if h is a function from X to Y and g is a function from Y to Z then, g ◦ h is the function from
X to Z such that (g ◦ h)(x) = g(h(x)), for all x ∈ X.
Let S be the set of all functions f from {1, 2, 3, 4, 5, 6} to {1, 2, 3, 4, 5, 6} such that f ◦ f = f .

(a) Compute the number of functions f ∈ S whose range has three elements.
(b) What is the cardinality of S?

13
20. A pinhole camera is placed between an object and a sensor. Recall that images from a pinhole camera are
inverted (see figure below). Assume that the object lies on a plane. Also assume that the plane containing
the object, the plane containing the pinhole and the sensor plane are all parallel to each other.

¥¥É÷÷
Sensor

plane
I

pinhole


1,

(a) Show that straight lines are projected to straight lines. In particular, show that if A, B, C are three
collinear points on an object, then their corresponding images a, b, c are also collinear.
(b) Suppose two identical objects M and N having height 60cm are placed before the pinhole camera at
distances 90cm and 120cm respectively. Suppose also that the distance between the pinhole and the
sensor plane is 30cm. What are the heights of their images after projection through the pinhole camera?

14

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy