Gs2016 QP Css
Gs2016 QP Css
CLARIFICATIONS
1. Suppose the following statements about three persons in a room are true.
Chandni, Sooraj and Tara are in a room. Nobody else is in the room.
Chandni is looking at Sooraj. Sooraj is looking at Tara. Chandni is mar-
ried. Tara is not married. A married person in the room is looking at an
unmarried person.
4 1 5
3 2
The following experiment is performed using this graph. First, an edge e = {i, j} of
the graph is chosen uniformly at random from the set of nine possibilities. Next, a
common neighbour k of i and j is chosen, again uniformly from the set of possibilities.
(Note that the set of possibilities is always non-empty.) Thus, {i, j, k} is a triangle
in the graph. What is the probability that the triangle finally picked is {1, 2, 3}?
1 1 1 2 5
(a) 6
X (b) 4
(c) 3
(d) 3
(e) 6
CSS 2016 Common Part Page 2 of 19
(a) S is empty
4. There are n balls b1 , . . . , bn and n boxes. Each ball is placed in a box chosen inde-
pendently and uniformly at random. We say that (bi , bj ) is a colliding pair if i < j,
and bi and bj are placed in the same box. What is the expected number of colliding
pairs?
n−1 n
(a) 2
X (b) 0 (c) 1 (d) n/4 (e) 2
6. Which of the following statements about the eigen values of In , the n × n identity
matrix (over complex numbers), is true?
(a) The eigen values are 1, ω, ω 2 , . . . , ω n−1 , where ω is a primitive n-th root of unity
(c) Both 0 and 1 are eigen values, but there are no other eigen values
7. Let S be the 4 × 4 square grid {(x, y) : x, y ∈ {0, 1, 2, 3}}. A monotone path in this
grid starts at (0, 0) and at each step either moves one unit up or one unit right. For
example, from the point (x, y) one can in one step either move to (x + 1, y) ∈ S or
(x, y + 1) ∈ S, but never leave S. Let the number of distinct monotone paths to reach
point (2, 2) starting from (0, 0) be z. How many distinct monotone paths are there
to reach point (3, 3) starting from (0, 0)?
8. Let A and B be finite sets such that A ⊆ B. Then, what is the value of the expression:
X
(−1)|C\A| ,
C:A⊆C⊆B
where C \ A = {x ∈ C : x 6∈ A}?
(a) Always 0
(b) Always 1
9. Suppose a rectangular farm has area 100 square metres. The lengths of its sides are
not known. It is known, however, that all the edges are at least 2 metres in length.
Which of the following statements about the rectangle’s perimeter p (in metres) is
FALSE?
11. In one of the islands that his travels took him to, Gulliver noticed that the probability
that a (uniformly) randomly chosen inhabitant has height at least 2 metres is 0.2.
Also, 0.2 is the probability that a (uniformly) randomly chosen inhabitant has height
at most 1.5 metres. What can we conclude about the average height h in metres of
the inhabitants of the island?
12. There are two rocks A and B, located close to each other, in a lily pond. There is a
frog that jumps randomly between the two rocks at time t = 0, 1, 2, . . .. The location
of the frog is determined as follows. Initially, at time t = 0, the frog is at A. From
then on, the frog’s location is determined as follows. If the frog is at A at time t,
then at time t + 1, with probability 2/3 it jumps to B and with probability 1/3, it
jumps on the spot and stays at A. If the frog is at B at time t, then at time t + 1,
with probability 1/2 it jumps to A and with probability 1/2 it jumps on the spot
and stays at B. What is the probability that the frog is at B at time 3 (just after its
third jump)?
1 31 14 61 2
(a) 2
(b) 54
X (c) 27
(d) 108
(e) 3
.
13. Let n ≥ 2 be any integer. Which of the following statements is not necessarily true?
n n−1 n−1
(a) i
= i
+ i−1
, where 1 ≤ i ≤ n − 1
14. A diagonal in a polygon is a straight line segment that connects two non-adjacent
vertices, and is contained in the interior of the polygon (except for its end points).
Two such diagonals are said to cross if they have a point in common in the interior
of the polygon. In one such polygon with n vertices, a certain number (say k) of
non-crossing diagonals were drawn to cut up the inside of the polygon into regions,
each of which was a quadrilateral. How many diagonals were drawn, that is, what is
k?
(d) n − 4
(e) n2 − 9.5n + 22
CSS 2016 Common Part Page 6 of 19
15. In a tournament with 7 teams, each team plays one match with every other team.
For each match, the team earns two points if it wins, one point if it ties, and no points
if it loses. At the end of all matches, the teams are ordered in the descending order
of their total points (the order among the teams with the same total are determined
by a whimsical tournament referee). The first three teams in this ordering are then
chosen to play in the next round. What is the minimum total number of points a
team must earn in order to be guaranteed a place in the next round?
(a) 2-SAT is in NP
(e) 2-SAT is in P
CSS 2016 Computer Science Page 8 of 19
4. In the following, A stands for a set of apples, and S(x, y) stands for “x is sweeter
than y”. Let
Ψ ≡ ∃x : x ∈ A
Φ ≡ ∀x ∈ A : ∃y ∈ A : S(x, y).
Which of the following statements implies that there are infinitely many apples (i.e.,
A is an infinite set)?
int mc91(int n)
{
print n
if (n > 100) {
return n - 10;
}
else {
return mc91(mc91(n+11));
}
}
Let
(b) {n : 0 ≤ n ≤ 101}
(c) {n : 0 ≤ n ≤ 110}
(d) {n : 0 ≤ n ≤ 111} X
6. A subset X of Rn is convex if for all x, y ∈ X and all λ ∈ (0, 1), we have λx+(1−λ)y ∈
X. If X is a convex set, which of the following statements is necessarily TRUE?
(a) For every x ∈ X, there exist y, z ∈ X −{x} and λ ∈ (0, 1) so that x = λy+(1−λ)z
(e) If x, y ∈ X, then x − y ∈ X
(c) m = Θ(log2 n)
(e) m = Θ(log1.5 n)
9. Which of the following graphs DOES NOT have an Eulerian circuit? (Recall that an
Eulerian circuit in an undirected graph is a walk in the graph that starts at a vertex
and returns to the vertex after travelling on each edge exactly once.)
(a) K9,9 X
(b) K8,8
(c) K12,12
(d) K9
10. A vertex cover in an undirected graph G is a subset C ⊆ V (G) such that every edge
of G has an endpoint in C. An independent set in G is a subset I ⊆ V (G) such that
no edge has both its endpoints in I. Which of the following is TRUE of every graph
G and every vertex cover C of G?
11. Let n ≥ 4 be an integer. Regard the set Rn as a vector space over R. Consider the
following undirected graph H.
(c) H is connected
12. A computer program computes a function f : {0, 1}∗ × {0, 1}∗ → {0, 1}∗ . Suppose
f (a, b) has length |b|2 , where |a| and |b| are the lengths of a and b. Suppose, using
this program, the following computation is performed.
x = "01"
for i = 1,...,n do
x = f("01", x)
Suppose at the end, the length of the string x is t. Which of the following is TRUE
(assume n ≥ 10)?
(a) t ≤ 2n
(b) n < t ≤ n2
(a) G is |V |-colourable
14. Consider a family F of subsets of {1, 2, . . . , n} such that for any two distinct sets
A and B in F we have: A ⊂ B or B ⊂ A or A ∩ B = ∅. Which of the following
statements is TRUE? (Hint: what does the Venn diagram of this family look like?)
(c) |F| ≤ 2n2 and there exists a family F such that |F| = 2n2
(d) |F| ≤ 2n−1 and there exists a family F such that |F| = 2n−1
15. Let G be an undirected graph. For a pair (x, y) of distinct vertices of G, let
mincut(x, y) be the least number of edges that should be deleted from G so that
the resulting graph has no x-y path. Let a, b, c be three vertices in G such that
mincut(a, b) ≤ mincut(b, c) ≤ mincut(c, a). Consider the following possibilities:
(c) (i) and (iv) are possible but neither (ii) nor (iii)
(d) (ii) and (iv) are possible but neither (i) nor (iii) X
(e) (iii) and (iv) are possible but neither (i) nor (ii)
CSS 2015 Systems Science Page 13 of 19
y(t) = x(t2 ).
R 4R
V1
2R
V2 −
Vo
+
V1
(a) − 2
+ V2
V1 V2
(b) − 4
+ 2
(c) − (V1 + 2V2 )
(d) − (4V1 + 2V2 ) X
(e) None of the above
6. What is the Laplace transform F (s) of the signal f (t), t ≥ 0 defined below? In
t ∈ [0, 1),
1, t ∈ [0, 21 )
f (t) =
0, t ∈ [ 12 , 1)
7. Suppose X and Y are independent Gaussian random variables, whose pdfs are rep-
resented below.
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
0 0
−2 0 2 4 −2 0 2 4
0.6
(a) 0.4
0.2
0
−2 0 2 4
0.6
0.4
(b)
0.2
0
−2 0 2 4
0.6
0.4
(c) X
0.2
0
−2 0 2 4
0.3
0.2
(d)
0.1
−2 0 2 4
0.3
0.2
(e)
0.1
−2 0 2 4
CSS 2015 Systems Science Page 17 of 19
8. In terms of their frequency responses, which of the following is the odd one out?
C C
(a)
L/2
C C
(b)
L L
L L
(c)
C C
(d) 2C 2C X
10. Let U1 , U2 , U3 be independent random variables that are each uniformly distributed
between zero and one. What is the probability that the second highest value amongst
the three lies between 1/3 and 2/3?
2 1 13 1 7
(a) 9
(b) 27
(c) 27
X (d) 3
(e) 18
11. Suppose that a random variable X has a probability density function (pdf) given by
f (x) = c exp(−2x)
for x ≥ 1, and f (x) = 0, for x < 1, where c is an appropriate constant so that f (x)
is a valid pdf.
What is the expected value of X given that X ≥ 5?
(a) 5 12 X (b) 7 (c) 10 (d) 8 12 (e) 6
12. Recall that the Shannon entropy of a random variables X taking values in a finite
set S is given by X
H[X] = − Pr[X = x] log2 Pr[X = x].
x∈S
(We set 0 log2 0 = 0.) For a pair of random variables (X, Y ) taking values in the
finite set S × T , we write
X
H[X | Y = y] = − Pr[X = x | Y = y] log2 Pr[X = x | Y = y]
x∈S
X
and H[X | Y ] = − Pr[Y = y]H[X | Y = y].
y∈T
Now, consider an 1024 × 1024 chess board. Suppose 1024 rooks are placed one after
another randomly at distinct locations on a 1024 × 1024 chess board so that no rook
attacks another: that is, the i-th rook (i = 1, 2, . . . , 1024) is placed at a location
chosen uniformly from among the available possibilities so that it does not attack
any of the previously placed rooks. Let Ri be the row number of the i-th rook and
Ci its column number. What is H[R513 , C513 | R1 , R2 , . . . , R512 ]?
(a) log2 513 (b) 9 (c) 10 (d) 19 X (e) 81
CSS 2015 Systems Science Page 19 of 19
13. Suppose m and n are positive integers, m 6= n, and A is an m × n matrix with real
entires. Consider the following statements.
15. What is
√
√3 2 x
max x y
x,y 2 2 y
subject to
x2 + y 2 = 1?
√
(a) 1 (b) 2 (c) 2 (d) 3 (e) 4 X