Mscds 2024
Mscds 2024
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! etc.
• 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 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 ̸= 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 ̸= j.
1
Part (A) - Multiple-choice questions
A = 1234679580, B = 1234789560.
(a) Let f (x) = x3 + x − 1 for x ∈ R. Then the equation f (x) = 0 has at least one root in [−1, 0).
(b) Let f (x) = x3 + x − 1 for x ∈ R. Then the equation f (x) = 0 has at least one root in [0, 1).
(c) Let f (x) = x3 + x + 1 for x ∈ R. Then the equation f (x) = 0 has at least one root in [0, 1).
(d) Let f (x) = x3 + x + 1 for x ∈ R. Then the equation f (x) = 0 has at least one root in [−1, 0).
3. 26 children participated in a chess tournament. A child got two points for winning, zero for losing and
one point for a draw. Each child played against every other child. After the tournament was over no
child had an odd score. There were no draws in the entire tournament and no two players had the
same score. For convenience assume that the children are named A, B, C, . . . , Z, by the 26 letters of the
English alphabet in increasing order of scores, so A has lowest score, Z has highest score. Thus we have
A < B < C < · · · < X < Y < Z. Pick all statements which are true.
(a) K lost to Q
(b) K lost to B
(c) M lost to N
(d) If L lost to M then N lost to M.
4. 14 teams participate in a volleyball tournament. Each team plays the other exactly once. There are no
draws. Assume the teams are labeled by j, 1 ≤ j ≤ 14. Let xj denote the number of games team j wins
and yj the number of games that team j lost. Pick the correct alternative(s):
x2j = yj2 .
P P
(a) j j
x2j > yj2 .
P P
(b) j j
P P
(c) j xj = j yj .
P P
(d) j |xj | = j |yj |.
(a) If x2 = y 2 then x = y.
(b) If x3 = y 3 then x = y.
(c) If x < y then x2 < y 2 .
(d) If x < y then x3 < y 3 .
2
6. Suppose that A is an n × n matrix with n ≥ 6. For an n × 1 vector b consider the equations
where AT is the transpose of the matrix A. Which of the following statements are correct?
(a) If equation (??) admits a solution for all b, then A−1 exists.
(b) If equation (??) admits a solution for all b, then equation (??) also admits a solution for all b.
(c) If equation (??) admits a solution for some b, then A−1 exists.
(d) If equation (??) admits a solution for some b, then equation (??) also admits a solution for that b.
9. Let x be a variable that takes real values, and let f (x), g(x), h(x) be three polynomials with real-valued
coefficients. Further, let f (x) be a polynomial of degree 1, g(x) a polynomial of degree 2, and h(x) a
polynomial of degree 3. Which of the following statements is/are always true for any three polynomials
of these types?
(a) The graphs of f (x) and g(x) intersect at one or more points.
(b) The graphs of f (x) and h(x) intersect at one or more points.
(c) The graphs of g(x) and h(x) intersect at one or more points.
10. A spherical ball of ice of radius 20m is dropped in a vat of hot water. The ice melts in such a way that
(i) the shape of the ball remains spherical, and (ii) the radius of the ball decreases at a constant rate of
0.5ms−1 . At what rate does the volume of the ice ball decrease, when the radius of the ball is 15m?
11. Let x be a real-valued variable. What is the range of the function f (x) = sin2 x − sin x + 2?
(a) [0, 2]
(b) [1, 2]
(c) [1, 4]
(d) [ 74 , 4]
3
12. In the following code, A is an array indexed from 0 whose elements are all positive integers, and n is the
number of elements in A. It is given that n is at least 2. The operator * denotes multiplication.
function foo (A , n ) {
if A [0] > A [1] {
first = A [0];
second = A [1];
} else {
first = A [1];
second = A [0];
}
If A = [15, 7, 16, 12, 17, 14, 16, 4, 13, 12], what will foo(A, 10) return?
(a) 28
(b) 144
(c) 180
(d) 272
4
13. In the following code, A is an array indexed from 0 whose elements are all positive integers, and n is the
number of elements in A.
function foo (A , n ) {
max = 0;
curr = 0;
(a) 2
(b) 3
(c) 4
(d) 5
14. A prominent newspaper conducted a survey among a carefully chosen sample of 1,00,000 voters under
the age of 25. A randomly chosen subset of 60% of this sample were asked the following question: “Have
you ever voted in a general election?” The remaining 40% were asked the following, different question:
“Is it true that you have never voted in a general election?”
The editor in charge of collating the data from the survey, accidentally deleted some of the contents of the
survey database. The only information that survived this mishap was that a total of 54,000 respondents
replied Yes to the question that they got. Specifically, it is not known how many of these Yes answers
correspond to the first question, and how many to the second.
Assume that the sampling was done properly and that the respondents answered truthfully. What
estimate can we derive from just the total number of Yes answers, about the percentage of voters under
the age of 25 that have voted in some general election?
5
15. Let f, g be two real valued functions defined on the set of real numbers. Which of the following statements
are true?
(a) If f (x) is continuous and g(x) discontinuous then the function f (x)+g(x) is necessarily discontinuous.
(b) If f (x) is continuous and g(x) discontinuous then the function f (x)·g(x) is necessarily discontinuous.
(c) If the functions f (x), g(x) are discontinuous at a point c in the domain the function f (x) + g(x) is
also discontinuous at c.
(d) If the functions f (x), g(x) are discontinuous at a point c in the domain the function f (x) · g(x) is
also discontinuous at c.
16. In the following code, A is an array indexed from 0 whose elements are all positive integers, n is the
number of elements in A, and x is a positive integer. The call abs(z) returns the absolute value of integer
z.
function foo (A ,n , x ) {
max = 0;
return ( max );
}
(a) 2
(b) 4
(c) 6
(d) 9
17. One day, Captain Haddock receives a mysterious letter with a confusing paragraph. Captain Haddock and
Tintin are investigating the matter. There are two possible suspects: Professor Calculus and Thomson
& Thompson. Based on their past experience:
• The probability that Professor Calculus sends a letter is 60%, while the probability that Thomson
& Thompson send a letter is 40%.
• When Professor Calculus sends letters, there is an 80% probability that the letter contains a con-
fusing paragraph.
• When Thomson & Thompson send letters, there is a 5% probability that the letter contains a
confusing paragraph.
What is the probability that the letter was sent by Professor Calculus?
(a) 0.96
(b) 0.80
(c) 0.50
(d) 0.48
6
18. Let f be a function on the positive real numbers such that f (xy) = f (x) + f (y). If f (2024) = 2 then
which of the following statement(s) is/ are true?
1
(a) f ( 2024 )=1
1
(b) f ( 2024 ) = −1
1
(c) f ( 2024 ) = −2
1
(d) f ( 2024 )=2
19. We shuffle the deck [3, 6, 11, 4, 7, 9, 2, 8, 5, 10, 12, 1]. What are the neighbours of 4 after the shuffle?
(a) 1
(b) 5
(c) 10
(d) 12
20. After shuffling once we obtain a deck with cards [15, 6, 4, 1, 13, 9, 8, 7, 12, 11, 5, 10, 3, 14, 2, 16]. What were
the neighbours of 2 before the deck was shuffled?
(a) 3
(b) 6
(c) 7
(d) 14
7
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. In the Easy Round, all questions are easy, and each prize is |1000. Guest Chatur knows all the answers.
What is the expected earnings for Chatur in this round? Explain your answer.
2. To proceed to the next round, a guest must earn at least |7000 in the Easy Round. What is the
probability that guest Chatur, who knows all the answers of the Easy Round, progresses to the second
round? Explain your answer.
r r
x y 5
+ =
y x 2
x y 9
√ +√ = .
y x 2
8
Questions 4 and 5 are based on the following description.
The following question appeared in a quiz:
“Write the code for a function SecondBest(A,n) that takes an array A and a positive integer n
as arguments. The elements of A are all integers, and n is the number of elements in A. The call
SecondBest(A,n) should return the second largest element in A. If A has no second largest element,
then the function should return the special value None.”
A student submitted the code below as the answer to this question. In the code the array A is indexed from 0.
function SecondBest (A , n ) {
if n == 1 {
return ( None );
}
first = A [0];
second = A [1];
if first != second {
return ( second );
} else {
return ( None );
}
}
This answer turned out to be wrong; this function gives the correct answer for some valid inputs, and wrong
answers for other valid inputs. Answer the next two questions about this function.
4. What do the following function calls return? Briefly explain your answer.
(a) SecondBest([2,2,3], 3)
(b) SecondBest([3,2,2], 3)
5. Give one example of an input array A with exactly 3 elements for which the call SecondBest(A, 3)
returns a wrong answer. What is this wrong answer? What is the correct answer?
6. Let F be the set of points on the plane with coordinates (x, y) such that ||x| − |y|| + |x| + |y| = 4. What
is the number of points in F with integer coordinates?
7. We select three points at random on the circumference of a circle. What is the probability that ∆ABC
contains the centre O in the interior?
8. Let α be a fixed real number and let f be a function from R2 to R2 defined as
Write down an expression for f 10 (x, y), where f 10 denotes the function obtained by composing f with
itself 10 times.
9
9. “I’ve defeated more than 10 FIDE masters,” a chess player boasted. “Surely, it must be fewer than 10,”
said the referee. “Well, I suppose it was at least one,” said the Grand Master. If exactly one of them
spoke the truth, how many FIDE masters did the chess player actually defeated?
10. A supplier of art material has four reams of handmade paper, three boxes of acrylic colors and two
printing blocks. The two artists in the shop want to buy one item each, but insist on having the same
kind of art material. How many items does the supplier have to take out to be sure that the artists’
demand is met?
11. In a farmer’s stable three animals, a donkey, a cow and a horse had to share two types of feed bags, one
containing hay and the other containing grain, as follows:
• If the donkey ate grain then the horse ate what the cow ate.
• If the horse ate grain then then donkey ate what the cow did not eat.
• If the cow ate hay, then the donkey ate what the horse ate.
Among all the assignments of feedbags that satisfy the above condition which animal always gets to eat
from the same feedbag?
12. There are 7 elevators in a large shopping mall, each stopping at ground floor and at most six other floors.
If at least 3 elevators stop at each floor and if it is possible to go from any floor to any other floor without
changing elevators, what is the maximum number of floors in the mall?
√ √
q q
x + 2 x − 1 + x − 2 x − 1.
Find two real numbers a, b such that the above expression is constant for a ≤ x ≤ b.
14. You are given a strange, analogue wall clock whose hour and minute hands are identical. Both the hands
move continuously and there is no second hand. How many times are there from noon to midnight when
it is not possible to tell what time is it by looking at the clock at that instant? For example, at 06 : 00
pm one can be sure that the upper hand is the minute hand, for otherwise at 12 : 30 pm the top hand
is between 12 and 1. However, a bit after 1 : 15 pm and 3 : 06 pm the clock looks identical and you
wouldn’t be able to tell the exact time.
15. Does there exist a polynomial q(x) with integer coefficients such that q(1) = 2 and q(3) = 5? Given an
example if there is one. Justify, if there is not.
16. Find the number of all 4-digit natural numbers formed with exactly two distinct digits.
17. An electronic card shuffling machine always rearranges the cards in the same way relative to the order
in which they are placed in it. One iteration of shuffling means that the cards are placed in the machine
and they are taken out after the rearrangement. Two iterations means that you place the cards in the
machine immediately after the first iteration. The ace through the king of hearts are arranged in order
with the ace on top and the king at the bottom. After 2 iterations the order of the cards, from top to
bottom, is
10, 9, Q, 8, K, 3, 4, A, 5, J, 6, 2, 7.
10
Questions 18–20 are based on the following description.
In June 2017, a cyberattack named NotPetya spread all over the world. Big companies like Marex, Merck, and
FedEx’s TNT Express lost a lot of money because of this attack.
18. Which company experienced the smallest percentage decrease in total revenue over a one month period
relative to its estimated total revenue loss over the same period?
19. Calculate the overall percentage decrease in revenue across all three companies in one month period
following the NotPetya attack.
20. Assuming the monthly revenue of Marex follows a Gaussian distribution with a standard deviation of 75,
(i) what is the probability that Marex’s revenue will be less than $850 million in the pre-attack scenario,
and (ii) what is the probability that Marex’s revenue will be more than $850 million in the post-attack
scenario?
z P (Z ≤ z)
-2 0.0227
-1 0.1586
0 0.5000
1 0.8413
2 0.9772
11