MTECHcs 2012
MTECHcs 2012
i=1
x
i
3
i
: x
i
= 0 or 2, i = 1, 2,
_
.
Show that
3
4
A.
(b) For two real numbers a, b (both greater than 1), evaluate
lim
n
_
a
1
n
+b
1
n
2
_
n
.
3. (a) For 0 x
1
x
2
1, let
f(x
1
, x
2
) =
x
2
1
+ (x
2
x
1
)
2
+ (1 x
2
)
2
max{x
1
, x
2
x
1
, 1 x
2
}
.
Determine the maximum value of f(x
1
, x
2
) and give all possible values of the pair
(x
1
, x
2
) for which this maximum value is achieved.
(b) Suppose that f : R R is a monotonic function such that
lim
x
f(2x)
f(x)
= 1.
Show that
lim
x
f(cx)
f(x)
= 1
for any c > 0.
4. (a) Let G be a simple graph with 23 vertices. The degree of every vertex is at least 11.
(i) Can G be a regular graph of degree 11? Justify your answer.
(ii) Argue whether G can be disconnected.
5
(b) Consider a simple connected planar graph with 10 vertices and 17 edges. Show that,
using two colours, its vertices cannot be properly coloured, i.e., no two neighbouring
vertices have the same colour.
(c) In how many ways can one distribute 8 identical chocolates among 5 children - A, B, C,
D and E?
5. (a) Given three matrices A
mn
, B
nk
, C
kp
, the product A B C can be computed in
two ways:
(i) (A B) C, and
(ii) A (B C).
Establish the conditions on m, n, k and p under which (i) requires fewer arithmetic
operations (additions and multiplications) than (ii).
(b) Let V be the linear space of all functions of the form
f(x) = a cos x +b sin x.
Consider the linear transformation T(f) = f
2f
3f from V to V . [f
and f
are
the rst and second order derivatives of f respectively].
(i) Find the matrix of the linear transformation T that transforms the basis (cos x, sin x)
to (T(cos x), T(sin x)).
(ii) Is T an isomorphism?
(iii) How many solutions f in V does the following differential equation have?
f
(x) 2f
2
, k = 1, 2, 3, 4,
where and are unknown parameters. Find the values of c
1
, c
2
, c
3
and c
4
for which
4
k=1
c
k
Y
k
is unbiased for and has the smallest variance among all linear unbiased estimators for
.
5. (a) X is a random variable having a normal distribution with mean 0 and variance 25. Let
Y be another random variable, independent of X, taking values 1 and +1 with equal
probability. Dene
Z = XY +
X
Y
and W = XY
X
Y
.
Find the probability distributions of (i) Z and (ii)
_
Z+W
10
_
2
.
(b) Let X
1
and X
2
be independent samples from the uniform distribution over (0, 1). Find
the probability distribution of the geometric mean of X
1
and X
2
.
6. (a) A researcher wishes to conduct an experiment to compare the effects of 4 different treat-
ments. He is given 20 experimental units for this purpose, which are not entirely ho-
mogeneous. Assuming that there is only one signicant source of heterogeneity among
the units, suggest a suitable experimental design, with proper justication. Also give the
analysis of variance for the design.
(b) A population contains 10 units, labeled U
1
, U
2
, , U
10
. For U
i
, the value of a character
Y under study, is Y
i
, 1 i 10. In order to estimate the population mean,
Y , a sample
of size 4 is drawn in two steps as follows:
7
(I) A simple random sample of size 2 is drawn without replacement from the units
U
2
, U
3
, . . . , U
9
;
(II) The sample drawn in step (I) is augmented by the units U
1
and U
10
.
Based on this sample, suggest an unbiased estimator of
Y and obtain its variance.
Physics
1. (a) An npn transistor shown in the gure below, is used in common-emitter mode with
= 49, V
cc
= 10 V , and R
L
= 2 K. A 100 K resistor R
B
is connected between
the collector and the base of the transistor. Calculate
(i) the quiescent collector current, and
(ii) the collector to emitter voltage drop between points A and B.
Assume base to emitter voltage drop is 0.7 V .
(b) The set of Boolean functions {OR, NOT} is functionally complete, i.e., the set can
implement any Boolean function. Prove algebraically that the set {XOR, AND} also
forms a functionally complete set of operations.
2. (a) Find the amount of pressure that is to be applied to change the boiling point of water by
3
K .
(b) Sketch the isotherms for a gas obeying Van der Waals equations of state and discuss the
phase transition.
(c) A classical system of N distinguishable non-interacting particles, each of mass m, is
placed in a three-dimensional harmonic well having potential energy
U =
x
2
+y
2
+z
2
2V
2/3
,
where V is a parameter. Find the partition function and Helmholtz free energy.
3. (a) Show that the rotational frequency spectrum of a diatomic molecule consists of equally
spaced lines separated by an amount r =
h
4
2
I
, where I is the moment of inertia of
the molecule.
(b) Express
L
S in terms of J, L, and S, where the symbols carry their usual meaning.
Hence, for L = 1, S =
1
2
, obtain the possible values of
L
S .
8
4. (a) Two spheres, each of radius R, carry uniform charge densities +q and q respectively.
The spheres are placed such that they partially overlap each other (see gure).
D denotes
the vector from the centre of the positive charged sphere to the centre of the negative
charged sphere. Derive the electrostatic eld at any point in the shaded (overlapping)
region.
(b) The potential V
0
() = sin
2
(/2) ( is a constant), is specied on the surface of a
hollow sphere of radius R. Find the potential inside the sphere.
(c) The electric eld of an electromagnetic wave in vacuum is given by:
E
x
= 0, E
y
= 30 cos(2 10
8
t
2
3
x), E
z
= 0.
Here E is in V olts/metre, t is in seconds and x is in metres. Determine
(i) the frequency of the wave, and
ii) the direction of propagation of the wave.
5. (a) From the reaction
meson.
(b) Explain why the reaction
0
0
+ is observed but not the decays
0
p +
or
0
n +
0
.
(c) Determine the mass difference between two mirror nuclei which have N and Z differing
by one unit.
(All the symbols carry their usual meaning in the above cases).
6. (a) Let
F =
k
r
|
r |
3
be a central force per unit mass.
(i) Show that for a particle of mass m moving under this force F, the angular momen-
tum is conserved.
(ii) Write the Lagrangian for the above particle.
(b) The mean distance of Mars from the Sun is 1.5 times that of the Earth from the Sun.
Find the time of revolution of Mars about the Sun with respect to that of the Earth about
the Sun.
(c) A rocket when moving parallel to a long platform measures the length of the platform to
be
9L
10
, where L is the length measured by a stationary observer. Find the time taken by
the rocket to cross the platform.
9
Computer Science
1. (a) Given the values of two nodes in a binary search tree, write an algorithmto nd their least
(nearest) common ancestor. For example, in the gure below, the least common ancestor
of the nodes 4 and 14 is 8. Your algorithm should take care of boundary conditions.
(b) Given a singly-linked list, devise a time and space efcient algorithm to nd the m
th
element from the end of the list.
If m = 0, then your algorithm should return the last element of the list. It should also
take care of boundary conditions. Analyze the time complexity of your algorithm.
[NOTE: An algorithm that has minimum additional storage overhead and does not make redundant
passes over the list will score full credit. Can you do it with constant additional space?]
2. (a) What is the output of the following program?
#include<stdio.h>
#define MUL(a,b) a
*
b
#define Pow(a) a
*
a
int main()
{
int a=3;
int b=2;
printf("Ans: %d\n", MUL (MUL(a+1,b), Pow(b+1)));
return 0;
}
(b) Consider the declaration below:
typedef char
*
Str_typed;
#define Str_defined char
*
Str_typed s1, s2;
Str_defined s3, s4;
Which one of the following statements is correct?
I. s1, s2, s3 and s4 are character pointers
10
II. s1, s2, s3 and s4 are characters
III. s1, s2, s3 are character pointers while s4 is a character
IV. None of the above
(c) Consider the following list of parameter passing conventions in any programming lan-
guage.
I. Call by name
II. Call by value
III. Call by reference
If the following piece of code in a certain programming language printed 16 for j, which
of the above parameter passing conventions may have been used? Justify your answer.
program test (input, output);
var i, j;
procedure calc (p1, p2: integer);
p2 = p2
*
p2;
p1 = p1 - p2;
p2 = p2 - p1;
end;
begin (main)
i = 2;
j = 3;
calc (i, j);
print (j);
end (main)
Assume that the program is syntactically correct.
(d) Write an efcient algorithm to nd the rst non-repeated character in a string dened
over the English alphabet set [a-z, A-Z].
For example, the rst non-repeated character in teeter is r.
Analyze the time complexity of your algorithm.
[NOTE: You will get partial credit if the time complexity of your algorithm is quadratic or more
in the length of the string.]
3. (a) A processor chip is used for applications in which 30% of execution time is spent on
oating point additions, 20% on oating point multiplications, and 15% on oating point
divisions. To enhance the performance of the processor, a design team examines the
following three options, each costing about the same in design effort and manufacturing.
I. The oating point adder is made four times faster.
II. The oating point multiplier is made three times faster.
III. The oating point divider is made twenty times faster.
If only two of the above options can be implemented, which one should be discarded
and why?
(b) Consider the following grammar with two missing productions:
11
S aS | ... (1)
A ... (2) |
X cS |
Y dS |
Z eS
Reconstruct the grammar by lling in the missing productions (1) and (2), using the
First and Follow sets for this grammar given below:
First Follow
S {a,b,c,d,e} {$} Follow(X) Follow(Y) Follow(Z)
A {c,d,e,} {b}
X {c,} (First(Y) \ ) First(Z)
Y {d,} First(Z)
Z {e} Follow(A)
a {a} First(S)
b {b} Follow(S)
c {c} First(S)
d {d} First(S)
e {e} First(S)
Note that you can dene only two productions. (Recall that X A | B represents two
productions). Justify your answer.
4. (a) Consider the languages L
1
, L
2
II. AT
+
B
III. AT(BIT)
+
12
IV. AT(BIT)
V. A(TBI)
+
5. (a) Consider a relation R(ABCD) as follows:
A B C D
A
1
B
1
C
1
D
1
A
1
B
2
C
1
D
2
A
2
B
1
C
2
D
1
A
3
B
3
C
1
D
3
A
2
B
3
C
2
D
3
A
4
B
2
C
3
D
2
A
3
B
4
C
1
D
3
A
5
B
1
C
1
D
1
Assume that the four attributes A, B, C, and D are atomic and (A, B) is the key of R.
(i) Show that the relation is not in 3NF.
(ii) Provide a lossless decomposition of R, so that the decomposed relations are in
3NF, and determine their primary keys.
(iii) Write the following query in SQL: nd the distinct values of A and the count of
such values, for each value of C.
(b) Determine the minimum number of elementary logic gates (AND / OR / NOT) required
to implement the Boolean expression
AB A
B
AC, where x denotes the complement of x.
(c) A logic circuit has three Boolean inputs X,Y and Z. Its output is F(X,Y,Z) such that:
F(X,Y,Z) = 1 if aX + bY +cZ > d
= 0 otherwise.
a,b,c,d are real constants.
For which of the following values of a,b,c,d does this circuit represent an implemen-
tation of a three-input NAND gate with inputs X,Y and Z?
I. a = b = c = 1; d = 2.5
II. a = b = c = 1; d = 1.5
III. a = b = c = -1; d = 0
IV. None of the above
6. (a) Consider a channel with a capacity of 1 MHz and an SNR of 63.
(i) What is the upper limit on the data rate that the channel can carry?
(ii) How many signal levels are needed to achieve the data rate of
2
3
of the upper limit
obtained in 6a(i) above?
(b) Consider the use of 1000-bit frames on a 1 Mbps satellite channel whose propagation
time from the earth to the satellite is 270 msec. Assume that headers and acknowl-
edgement frames are of negligible length. Calculate the maximum achievable channel
utilization for the following two cases:
(i) Stop-and-wait protocol where P = 10
3
is the probability that a single frame is in
error. Assume that acknowledgement frames are never in error.
(ii) Error-free operation of stop-and-wait protocol where acknowledgements are always
piggybacked onto the data frames.
13
(c) A virtual memory system is able to support virtual address space of 256 GB. An entry
in the page table is 4 bytes long.
(i) Calculate the minimum page size required for a three-level paging scheme.
(ii) Draw a diagram indicating how the bits of a virtual address will be interpreted by
the address translation mechanism. Indicate which bits (and how many) are used to
index the page tables at each level, and which bits form the page offset for the case
above.
Engineering and Technology
1. (a) A BCD seven segment decoder takes four inputs A,B,C,D and has seven outputs. The
inputs represent the binary equivalent of an integer between 0 and 9. Each of the seven
outputs a, b, c, d, e, f, and g corresponds to one of the seven LEDs in a seven-segment
display as shown below.
(i) Give the truth table for segment g.
(ii) Draw its K-map and write minimum SOP form.
a
b
c
d
e
f
g
(b) Prove algebraically that the set of XOR and AND operations form a functionally com-
plete set of Boolean operations.
2. (a) A perfectly spherical ice ball at rest at the top of a plane of length l, inclined at an angle
with the horizontal, is set to roll freely. If the rate of decrease of its volume V
t
at any
instance t is proportional to its surface at that instant, prove that V
t
= (V
1/3
0
k
l)
3
,
where V
0
is the initial volume of the ice ball and k is a constant. Assume that the ice ball
remains spherical all through its downward journey and it suffers no friction.
(b) A particle of mass m slides down from rest at the highest point of a smooth plane.
The plane is inclined at an elevation xed in an elevator which is going up with an
acceleration a
0
. The base of the inclined plane has a length b. Find the time taken by the
particle to reach the bottom.
3. (a) A uniform rod of mass M and length l lies on a smooth horizontal plane. A particle
of mass m moving on the plane with a speed v perpendicular to the length of the rod,
strikes it at a distance l/4 from the centre and stops after the collision. Find
(i) the velocity of the centre of the rod, and
(ii) the angular velocity of the rod about its centre just after the collision.
14
(b) A homogeneous wooden bar of length 10 cm, thickness 4 cm and weight 1 Kg is bal-
anced on the top of a semicircular cylinder of radius R as shown below. Calculate the
minimum radius of the semicircular cylinder if the wooden bar is at stable equilibrium.
R
Wooden Bar
10 cm
4 cm
4. (a) The mean distance of Mars from the Sun is 1.5 times that of the Earth from the Sun.
Find the time of revolution of Mars about the Sun with respect to that of the Earth about
the Sun.
(b) A cyclic heat engine receives 300 KJ from an energy reservoir at 900
K. It rejects
100 KJ to an energy reservoir at 300
C.
If the heat engine is supposed to deliver 2.5 KW, compute the minimumarea of the solar
collector.
15
5. (a) Find the capacitance across terminals A and B of the innite ladder shown below.
A
B
C
C
C
C C
C C
o
o
(b) Consider the portion of a circuit shown in the gure in steady state with the currents
owing in the branches having resistances as indicated. Calculate the energy stored in
the capacitor C.
6. (a) An npn transistor shown in the following gure is used in common-emitter mode with
= 49, V
cc
= 10 V , and R
L
= 2 K. A 100 K resistor R
B
is connected between
the collector and the base of the transistor. Calculate the quiescent collector current.
Assume that the base to emitter voltage drop is 0.7 V .
16
(b) Consider the circuit shown in the following gure. Derive the output voltage v
0
for the
circuit in terms of v and R.
7. A 7.92 KW, 220 V , 1000 r.p.m. shunt motor has a full-load efciency of 90%, an armature
resistance of 0.1 and a shunt eld resistance of 110 . The speed of this motor is reduced
to 500 r.p.m. by inserting an external resistance in series with the armature keeping the load
torque constant.
(i) Calculate the value of the external resistance, and the corresponding efciency of the
motor.
(ii) Assuming that the constant loss is proportional to the armature current, re-calculate the
efciency of the motor.
8. Consider the following C function (recall that & denotes bit-wise AND, and >>n denotes
right-shift by n bits):
int mystery(int x)
{
int y = 0;
while (x != 0)
{
if (x & 1) y++;
x = x >> 1;
}
return y;
}
(i) What does the function mystery compute when invoked on a positive integer x?
(ii) What is the value of y returned by mystery when it is called as mystery(65)?
(iii) Howmany times (denoted by k) is the while loop executed when called as mystery(65)?
(iv) Can you modify the code to reduce k, for example to 2 for x=65? If yes, present the
code for the new mystery function. If not, give reasons.
17