Test Code: CS (Short Answer Type) 2009 M.Tech. in Computer Science
Test Code: CS (Short Answer Type) 2009 M.Tech. in Computer Science
Test Code: CS (Short Answer Type) 2009 M.Tech. in Computer Science
GROUP B
Mathematics
(B.Sc. Hons. level)
In addition to the syllabus for Mathematics in Group A, the syllabus
includes:
Calculus and real analysis real numbers, basic properties; convergence
of sequences and series; limits, continuity, uniform continuity of
functions; differentiability of functions of one or more variables and
applications. Indefinite integral, fundamental theorem of Calculus,
Riemann integration, improper integrals, double and multiple integrals and
applications. Sequences and series of functions, uniform convergence.
Linear algebra vector spaces and linear transformations; matrices and
systems of linear equations, characteristic roots and characteristic vectors,
Cayley-Hamilton theorem, canonical forms, quadratic forms.
Graph Theory connectedness, trees, vertex coloring, planar graphs,
Eulerian graphs, Hamiltonian graphs, digraphs and tournaments.
Abstract algebra groups, subgroups, cosets, Lagranges theorem; normal
subgroups and quotient groups; permutation groups; rings, subrings,
ideals, integral domains, fields, characteristics of a field, polynomial rings,
unique factorization domains, field extensions, finite fields.
Differential equations solutions of ordinary and partial differential
equations and applications.
Statistics
(B.Sc. Hons. level)
Notions of sample space and probability, combinatorial probability,
conditional probability, Bayes' theorem and independence, random
variable and expectation, moments, standard univariate discrete and
continuous distributions, sampling distribution of statistics based on
normal samples, central limit theorem, approximation of binomial to
normal. Poisson law, multinomial, bivariate normal and multivariate
normal distributions.
Sample Questions
GROUP A
Mathematics
A1. If 1, a1, a2,, an-1 are the n roots of unity, find the value of
(1 - a1) (1 - a2)(1 - an-1).
A2. Let
S = {( a1 , a 2 , a3 , a 4 ) : ai , i = 1, 2, 3, 4 and a1 + a 2 + a3 + a 4 = 0}
and
= {( a1 , a 2 , a3 , a 4 ) : ai , i = 1, 2 , 3, 4 and a1 a 2 + a3 a 4 = 0}.
Find a basis for S .
c 2 c3
c c
2
3
c c
0
1
c0 =
1+ 3
c2
c0
c1
c3
c3
c1
c0
c2
3+ 3
3 3
1 3
, c2=
, and c 3 =
.
4 2
4 2
4 2
2
2
2
2
(Hint: What is c0 + c1 + c 2 + c3 ?)
where
4 2
c1 =
A4. For any real number x and for any positive integer n show that
[x] + x + 1 + x + 2 + L + x + n 1 = [nx]
n
n
n
b = 2 j b j , bj = 0 or 1, for j = 0, 1, , q.
j =0
q
Show that b is divisible by 3 if b0 b1 + b2 K +(1) bq = 0 .
1
1
+
+ ... +
lim
2
n
n2 + 2
n2 + n
n +1
A8. Find the total number of English words (all of which may not have
proper English meaning) of length 10, where all ten letters in a word
are not distinct.
a1 a 2
a
+
+ ..... + n = 0, where ais are some real constants.
2
3
n +1
2
n
Prove that the equation a 0 + a 1 x + a 2 x + ... + a n x = 0 has at least one
solution in the interval (0, 1).
A9. Let a0 +
A10. Let (n) be the number of positive integers less than n and having no
common factor with n. For example, for n = 8, the numbers 1, 3, 5, 7
have no common factors with 8, and hence (8) = 4. Show that
(i) ( p ) = p 1 ,
(ii) ( pq) = ( p) (q) , where p and q are prime numbers.
A11. Let Tn be the number of strings of length n formed by the characters
a, b and c that do not contain cc as a substring.
(a) Find the value of T4.
(b) Prove that Tn 2 n +1 for n > 1.
A12. Let f be a real-valued function such that f(x+y) = f(x) + f(y)
x, y R. Define a function by (x) = c + f(x), x R, where c is a
real constant. Show that for every positive integer n,
n ( x) = (c + f (c ) + f 2 (c) + ..... + f n 1 (c)) + f n ( x);
where, for a real-valued function g, g n (x ) is defined by
g 0 ( x) = 0, g 1 ( x) = g ( x), g k +1 ( x) = g ( g k ( x)).
A13. Consider a square grazing field with each side of length 8 metres.
There is a pillar at the centre of the field (i.e. at the intersection of
the two diagonals). A cow is tied to the pillar using a rope of
8
length 3 metres. Find the area of the part of the field that the cow
is allowed to graze.
1
A14. Let f : [0,1] [-1,1] be such that f(0) = 0 and f(x) = sin x for x > 0.
Is it possible to get three sequences {an}, {bn}, {cn} satisfying all
the three properties P1, P2 and P3 stated below? If so, provide an
example sequence for each of the three sequences. Otherwise,
prove that it is impossible to get three such sequences.
an = 0, lim bn = 0, lim cn = 0.
P2: nlim
n
n
f (an ) = 0, lim f (bn ) = 0.5, lim f (cn ) = 1.
P3: nlim
n
n
A15.
a - a
i
i odd
i even
is divisible by 11.
GROUP B
Mathematics
x n +3
, n = 1,2,3,
3x n +1
5x n +3
, n = 1,2,3,
(i) Show that xn+2 =
3x n +5
xn exists.
(ii) Hence or otherwise, show that nlim
xn .
(iii) Find nlim
Let
( x 1) ( x 4 + 4 x + 7)
f ( x) =
4
(1 x) ( x + 4 x + 7)
if x is rational.
if x is irrational.
converges,
also converges.
0 a 0
b c a
10
A,
whose
columns
|| Ax ||
.
|| x ||
S1. (a) X and Y are two independent and identically distributed random
variables with Prob[X = i] = pi, for i = 0, 1, 2, Find
Prob[X < Y] in terms of the pi values.
(b) Based on one random observation X from N(0, 2), show that
/2 |X| is an unbiased estimate of .
S2.
X1 X 0 , X 2 X 0 ,
, X n1 X 0 , X n > X 0 , n = 1, 2, 3,
S3.
S4.
2
(b) Write down the likelihood equation.
(c) Write down the successive iterations for if we want to solve
the likelihood equation by the Newton-Raphson method. What is
an initial choice for and why?
S5.
T ( X 1 ,...., X n ) = 1
(u 0 X ) ,
n 1
S6.
Treatment A
a
c
13
Treatment B
b
d
1
2
against H1 : =
2
3
, with
14
(a) For testing H0: 0 against H1: 0, any test is UMP at level
for which E 0 ( ( X )) = , E 0 ( ( X )) for 0 , and (x) =
1 when max ( x1 ,...., x n ) > 0.
(b) For testing H0: = 0 against H1: 0, a unique UMP test
exits, and is given by (x) = 1 when max ( x1 ,...., x n ) > 0 or max
( x1 ,...., x n ) 0 1 / n and (x) = 0 otherwise.
S10.
2c
(Y N Y 1 nc)
V (Y ) = (1 f )
N 1
n
where f =
1 N
n
2
(Yi Y ) 2 , comment on the choice
and S =
N 1 i =1
N
of c.
S11. Suppose X1,, Xn are i.i.d. exponential variables with locations
parameter > 0 and scale parameter 1. Let X (1) = min{ X 1 ,..., X n } .
(a) Show that the distribution function of T = X(1), denoted by F (t),
is a decreasing function of .
(b) Given (0 < < 1), use (a) to obtain a (1-) confidence interval
for .
S12. Let X1, X2,,Xn (Xi= (xi1, xi2, , xip), i=1, 2, , n) be n random
samples from a p-variate normal population with mean vector and
covariance matrix I.
15
1 n
xij ,1 j p.
n i =1
'
k
Obtain the distribution of l Sl where l , l 0.
xj =
S13.
1
11 12 13
~
= 21 22 23
= 2 ,
3
31 32 33
Show that E(X1,X2,X3) = 1 2 3 + 1 23 + 2 31 + 3 12 .
Physics
A
4
(b) The nucleus BZ decays by alpha ( He2 ) emission with a half-life
T to the nucleus C ZA24 which in turn, decays by beta (electron)
T
A 4
to the nucleus DZ 1 . If at time t = 0 ,
emission with a half-life
4
the decay chain B C D had started with B0 number of B
nuclei only, then find out the time t at which the number of C
nuclei will be maximum.
P2.
(a) Consider a material that has two solid phases, a metallic phase
and an insulator phase. The phase transition takes place at the
temperature T0 which is well below the Debye temperature for
either phase. The high temperature phase is metastable all the
way down to T = 0 and the speed of sound, cs, is the same for
each phase. The contribution to the heat capacity coming from
the free electrons to the metal is
C e = e V T
= 3 2
k
4T F
a 03
r
a0
cos(t )
(ii) If the wave function for the ground state of the hydrogen
atom is given by
17
a 03
r
a0
P7.
P9.
(b)
In the circuit shown below, the peak current flowing through the
different branches are indicated. Derive the value of the total
power delivered by the source.
P10. Two heavy bodies A and B , each having charge Q , are kept
rigidly fixed at a distance 2a apart. A small particle C of mass m
and charge + q ( << Q ), is placed at the midpoint of the straight
line joining the centers of A and B . C is now displaced slightly
along a direction perpendicular to the line joining A and B , and
then released. Find the period of the resultant oscillatory motion of
C , assuming its displacement y << a .
20
P12.
B
0
0
1
1
0
0
1
1
C
0
1
0
1
0
1
0
1
T
1
0
0
1
0
1
0
1
21
(b) Find the value of R and the current flowing through R shown in
the figure when the current is zero through R.
P14.
P15.
B( )
where B( ) is a
V V2
function of temperature only. The gas is initially at temperature
and volume V0 and is expanded isothermally and reversibly to
volume V1 = 2V0 .
(a) Find the work done in the expansion.
(b) Find the heat absorbed in the expansion.
P
S
(Hint: Use the relation V = where the symbols have
V
(a)
Calculate the output voltage v0 for the (i) common-mode
operation and (ii) difference mode operation.
22
(b)
Also calculate the value of the common-mode rejection
ratio for R'/R = R1/R2.
P16.
C1.
A Bb
B Cc
C Aa
Aa
Bb
Cc
A B, B C and CA.
(i) Identify the key attributes.
(ii) Explain whether R is in BCNF.
(iii) If R is not in BCNF, decompose to create a set of
normalized relations satisfying BCNF.
(iv) If R does not support the functional dependencies B C,
but the other two are maintained, would R be in BCNF? If not,
decompose R to normalized relations satisfying BCNF.
C4.
C5.
C6.
25
26
C9.
(a)
Control signals
C1 , C2 , C3 , C4 , C5 , C6 ,
I2
C1 , C3 , C4C6 ,
I3
C2 , C5 , C6 ,
I4
C4 , C5 , C8 ,
I5
C7 , C8 ,
I6
C1 , C8 , C9 ,
I7
C3 , C4 , C8 ,
I8
C1 , C2 , C9 ,
27
29
(b)
at most O(n log(log n)) time. (You have to justify the time
complexity of your proposed algorithm.)
Let A be a real-valued matrix of order n x n already stored in
memory. Its (i, j)-th element is denoted by a[i, j]. The
elements of the matrix A satisfy the following property:
Let the largest element in row i occur in column li. Now, for
any two rows i1, i2, if i1 < i2, then li1 li2 .
2
5
4
6
3
6
3
2
4
7
4
7
10
5
6
5
2
7
9
8
3
4
8
7
12
(a)
Row I l(i)
1
2
2
3
3
3
4
4
5
5
(b)
Figure shows an example of (a) matrix A, and (b) the
corresponding values of li for each row i.
Write an algorithm for identifying the largest valued
element in matrix A which performs at most O(nlog2n)
comparisons.
30
For each of the following code fragments, what will be the output?
(i) #include "abc.h"
main()
{ int y = 4; printf("%d\n", SQR(y+1)); }
(ii) #include "abc.h"
BeginProgram
int y=3; printf("%d\n", SQR(ADD1(y)));
EndProgram
E1.
E2.
31
E3.
E4.
E5. The truss shown in the figure rotates around the pivot O in a vertical
plane at a constant angular speed . Four equal masses (m) hang from
32
E6. If the inputs A and B to the circuit shown below can be either 0 volt
or 5 volts,
(i) what would be the corresponding voltages at output Z, and
(ii) what operation is being performed by this circuit ?
Assume that the transistor and the diodes are ideal and base to
emitter saturation voltage = 0.5 volts.
34
36
E21. A logic circuit operating on Binary Coded Decimal (BCD) digits has
four inputs X1, X2, X3, and X4, where X1X2X3X4 represents a BCD
digit. The circuit has two output lines Z1 and Z2. Output Z1 is 1 only
when the decimal digit corresponding to the inputs X1, X2, X3, X4 is
0 or a power of 2. Output Z2 is 1 only when the decimal digit
corresponding to the inputs is 1 or a power of 3. Find a minimum
cost realization of the above circuit using NAND gates.
E22. (a) Using the minimum number of flip-flops, design a special
purpose counter to provide the following sequence:
0110, 1100, 0011, 1001
(b) Find the currents I1 and I2 in the following circuit.
37
38