Professional Documents
Culture Documents
JNU MTech CSE Question Paper-2012
JNU MTech CSE Question Paper-2012
com
1ill.
26
120
A ilowc:d
3 hours
Wnt<- you, Name and Registration NumblT in the space p rovided for the purpose on the top of this
Qut~uo n Papcr and in the Answer Sheer.
(i) Please darken the appropriate Circle of Question Paper Series Code on the Answer Sheet.
\11i) All qtkstions arc compulsory.
(1v) i\nswcr <tll the l ?.O questions in the Answer Shr<'l p !>)vided for the p u rposc by darkening the correct choice,
i.e.: , \a) qr [h) or .(c) or (d) with BALLPOI NT PEN only a gains t each question in the corn:sponding Circle. Any
overwriting or alteration will be trcatc.:d as wron~ answer .
{v) Each c:orrcct answer carries 4 marks. There will be negative marking and 1 mark will be deducted for
ea.ch wrong answer.
(vi) Answer writlen by the candidates inside the Question Poper will not be evalua1ed .
(\ 1i) Cal<.:uh1 ors a n d Log Tab les mav be wwd.
(v11i) Pngcs at the end _h ave been provided fo r Rough Work.
10
2
J
Wrong
Wrong
Wro ng
Wrong
Correct
"
engistan.com
1/26
1.
103
(b)
76
(c)
67
(d) . - 67
2.
3.
1/7
(b)
2/7
(c)
5/7
(d)
6/7
le~p
1
'1..
4.
(a)
-E(l) .True
(b)
Ell). False
(c)
E( 2 ) .False
(d)
-(
+COSS
(b)
(c)"
no root in .(0, 2)
(d)
two imaginary
ront~
?/26
engistan.com
x)(ax 2 +bx+ tj dx
5.
Consider the following two theorems involving a language Land [, (complement of L)':
(i)
(ii)
If a language Land its complement L are both recursively enume.r able, then L (and
hence l) is recursive.
Which one of the following does not logically follow from theorems (i) and (ii)?
6.
7.
(a)
(b)
(c)
(d)
One of L and l is recursively enumerable but not recursive; the other is not
recursively enumerable
If Sis an optimal solution, then the components of Sare not necessarily optimal
(b)
(c)
(d)
optirn~
solutions to
'(',
f
e
d
c
a
(i)
(ii)
(c)
(d)
lnH;,...,,
3/26
engistan.com
8.
\~
9.
Consider a stochastic process X(t), t e T, defined by X(t) = acos(cot + <!J), where a and w
are real constants, and <l> is a random variate uniformly distributed in the interval
JO, 2n]. We obtain E{X(t)} as
(a)
1t
(b)
(c)
(d)
a cos wt
p/\q
(b)
pvq
(c)
-pAq
(d)
-pvq
.'
10.
11.
\
12.
Imagine a 3 x 3 x 3-inch opaque cube divided into twenty-seven 1-.i nch cub~s. What is
the maximum number of 1-inch cubes that can be seen by one person from any point?
(a)
(b)
IS
(c)
19
(d)
21
Among the following sets, identify the set which is neither open nor closed.
(a)
(b)
(c)
(d)
12 to 99 equivalent gates
_(d)
4/26
engistan.com
13.
14.
(b)
(c)
(d)
A car travels from point A to point B(a distance of one mile) aJ 30 miles per hour. How
fast would the car have to travel from point B to point C (also a distance of one mile) to
average 60 miles per hour for the entire trip?
15.
(a)
(b)
(c)
(d)
16.
=1
8i
(i)
(ii)
(iii)
(b)
(c)
engistan.com
5/26
{T(Xn)}
17.
AB
(bl
B'C
(c)
18.
19.
20.
A ladder was standing perfectly upright against a wall. Suddenly the foot of the ladder
slid away from the wall and came to a stop 15 feet from the wall. The top of the ladder
had moved one-fifth of the ladder's length before it came to rest firmly on a windowsill.
(b)
(c)
(d)
lnvalid question
Nine men and seven women pick as much com in five days as seven men .and eleven
women pick in four days . Who are the better corn pickers and by how much?
(a)
(b)
(c)
(d)
lb)
(c)
The trace of A is 8
(d)
The rank of A is 1
=[ ~ ~] ?
lF1]
i
engistan.com
6/26
21.
process?
(a)
sh
(b)
dev
(c)
login
(d)
kernel
How many distinct strings of length 10 can be constructed f~om the two digits 0 and 1
"\.t h the restriction that five characters must be 0 and five must be 1?
(a)
(b)
272
(c)
302
(d)
23.
24.
(a)
(b)
(c)
- 1
(d)
In memory
(b)
In stack
(c)
/.J I
In CPU Register
engistan.com
7/26
.
00
25.
\l
(a)
(b)
7t
3
7t
2n
. /rl\
\'-'}
26.
The letters A, B, C, D, E, F and G, not nec~ssarily in that order, stand for .:;even
consecutive integers from 1 to 1O such that(i)
D is 3 less than A
(iii)
(iv)
G is greater than F
27.
{l
(a)
. (b}
(c)
(d)
Cannot be determined
Among the SQL operations (i) Union, (ii) Union ALL, (iii) Select and (iv) Intersection
duplicates are preserved in
(a}
(b)
(c)
(d)
engistan.com
8/26
28.
Bl
Player A
B2
B3 .B4
~i.__~__o_ _ :__
-2_ _,I
is
29.
30.
31.
(a)
1/5
(b)
2/5
(c)
3/5
(d)
4/5
b_it D 0 to D 1
(b)
bit D 3 to D 4
(c)
bit D 7 to D 8
(d)
bit 0 8 to D1
81
(b)
90
(c)
175
(d)
225
(ii)
A group with the property that x 2 = e, for every element x from the group, wh ere e
is the identity element, must be Abelian.
(iii)
(b)
(c)
(d)
engistan.com
9/26
32.
(iij
'{iii)
(iv)
It is
unnece~sary
33.
34.
35.
(b)
(c)
(d)
Computers operate with a fixed. number of digits and any excess digits produced in
multiplication or division are lost. This type of error is called
ta)
run-time error
(b)
truncation error
(c)
round-off error
(d)
practical error
Heap sort
(b)
Quicksort
(c)
Ra~ix
(d)
Topological sort
-.
sort
Deficit
(b)
Revenue
(c)
Debt
(d)
Tax
.. Expenditure : ?
Expo_r t ..
engistan.com
10/26
36.
37.
38.
39.
suppose that the life of an industrial lamp (in thousands of hours) is exponentially
distributed with failure rate A. = l f.3. The probability that the lamp will last longer than
its mean life of 300_0 hours is/ given by
(a)
1 -e -1
(b)
e-1
(c)
e-3
(d)
1 - e -3
Modulation in which the two binary values are 'represented by two different amplitud es
of the capier frequency is known as
(a)
amplitude
(b)
amplitude modulation
(c)
(d)
ALOHA
{b)
(c)
(d)
.. .
Kav.eri
(b)
Krishna
(c)
Mahanadi
(d)
Narmada
engistan.com
11/26
40.
Th~
(a)
- 1
(b)
(c)
l+e- 1
integr~l J~ (1 + e-x
) dx
is
41.
Assume that an
upp~r
in.a lexicographical order. If a[O, OJ is stored in b(OJ, where is a [80, 90} stored in array b
for n = 100?
(a)
b(4851J
(b) . b[4855]
42.
(c)
b[4750J
(d)
How many terms are there in the series 197, 204, 211, ... , .4 58?
(a)
36
(b)
37
(c)
38
(d)
39
43.
The value of
11
c;
nc2
~'\
(a)
(b)
(c)
(d)
1
n+2
c;
n+2c
1
n+ 4
c;
is
n+4c
engistan.com
12/26
44.
The class 'Car' is derived from the class 'Vehicle'. The method start() is defined in the
I
.
Class 'Vehicle'. ~year is an instance of the class 'Car'. Assuming polymorphism, when
MyCar.start() is executed, Vehide.siart() is not called , when
{a)
{b)
{c)
Car.~tart()
(d)
user casts the M~Car object to 'Vehicle' class before . calling start()
45.
{a)
F(x, y)
(b)
(c)
The
x .,.- y
general
solution
of
the
differential
equation
dy
.
dx + y sec x
=O
= tan x
is
(d)
46.
(. e - 2r 1"-~ - ry
"x
"x
Jdx
.
- = 1 (x
dy
~ 0)
dy
1
when written in the form of- +Py= Q, then P = c
dx
. "x
47.
(b}
7192
(c)
9999
(d)
11264
The beginning and the ending address for the data segment
OS = EOOOH for microprocessor 808? will be
(a)
(b)
(d)
engistan.com
13/26
~ssuming
that register
48.
(a)
Epigram
(b)
Epithet
(c)
Acronym
(d)
49.
Antithesis
maximizing
= 1 OX + l SY
subject to
2X + Y :5 26
X + 2Y :5 28
Y-X:55
X;?: 0 , Y;?: 0
is obtained as
(a)
50.
si.
X= 8 , y = 10
(b)
X= 6 , y = 1
(c)
x = 6,
y = 10
(d)
x = 8,
Y =8
a syntax graph
(b)
(c)
a command
..... flow graph
(d)
~)
has
(a)
(b)
two solutions
(c)
a unique solution
(d)
no solution
engistan.com
14/26
52.
(a)
SVEFIXY
(b)
SWFGJYZ
(c)
SVEEIXX
(d)
SWFFJYZ
53.
Given the following pair of productions, where left-recurs ion exists in (i) and
does- not begin with symbol A :
(i)
A4Aa
(ii)
A4P
p in
(ii)
Then which one of the following will be used to eliminate the left-recursion?
' A4PA'
(a)
A' 4e
A4PA'
A'4A'a
A' 4 e
A4PA'
A'4aA'
A' 4A
(d)
-..
54.
ti
derivative exists, is
(a)
55.
'
= Ix I. an expression for
dx
lxl
(b) _
lxl
(c)
(d)
-i
lxl
In a certain code language, '851' means 'gooc;I sweet fntit'; '783' means 'good red rose'
and '341' means 'ros e and fruit'. Which of the following digits stands for 'sweet' in that
la nguage?
(a)
(b)
(c)
(d)
15/26
56.
f"\
In a S~queen problem in which one queen is in tht; first column and second row, how
many solutiorys a re possible?
(a )
. 57.
(b)
(c)
{d)
The
e notation
i =n
while (i<'!l)
for j
1 to n
x=x +
i = i/2
is
58.
(a)
tl (n)
(b)
~ (log 2
(c)
tl (rt / log 2 n)
(d)
B(n log 2 n)
In a complete graph of n. ve:tices (n is .odd and greater than 3), how many edge-disjoint
Hamiltonian circuits are possible?
(a)
59.
n)
(b)
n- l
2
(c )
(d)
n- 1
At the end of a cricket series, when five players were arranged in the ascending order of
runs scored by them , 0 was fourth whi.le N was first. When they were arranged in
descending order for wickets taken by them, K replaces 0 while 0 replaces L . .The
position of M remains unchanged. K has scored more runs than M. L has the first rank
in one ranking and fifth in tne other. Who has taken the lowest riumber of wickets?
(a)
{b}
(c)
(d)
engistan.com
16/26
60.
= ~ m~kes
4
with x-axis
an angle
(a)
(bl
61.
t<'
62.
63.
rt
4
n
(c)
rt
(d)
Which of the follo\Yihg gives the least upper bound for th e value of /(N), where f is a
solu tion to the recurrence f(2N + 1) = /(2 N) = f(N) +log N for N ~ 1 with f(l) = 0?
(a)
O((log N) 2 )
(b)
O(log N) + 0(1)
(c)
O(Nlog N)
(d)
Let a, b, c be given numbers with at 0. Then the value of d, . so that the matrix
.
..
be
(b)
ab
(c)
ac
(d)
lr ac . ablJ
A snail is at the bottom of a 20-meter deep pit. Everyday the snail climbs 5 meters
upwards, but at night it slides 4 meters back downwards. How many days does it take
20
(b)
19
(c)
17
(d)
16
engistan.com
17/26
64.
typ~
fi~st
Tis
(a)
(b)
you must precede each function call with the word int or double
(c)
instantiation with double is not perl'!litted once you instantiate with int
?'-
(ii)
(iii)
66.
\
\~
67.
~
(a)
(b)
(c)
(d)
The average of 9 numbers is 61. If the average of first 5 numbers is 58 and that of last
5 numbers is 63, what is the fifth number?
(a)
66
(b)
61
(c)
56
(d)
53
The number of clock cycles needed for execution of the 'i nstruction LXI H, 2500H"using
microprocessor 8085 will be
(a)
(b)
10
(c)
14
(d)
engistan.com
18/2~
68.
I
It
Suppose_P and Q ar'e two n x n matrices such that PQ = Q 2 P. Then (PQ) 2 equals
. (a)
Q2p2
(b)
Q4p2
(c)
Q6p2
(d)
p2Q2
'.
69.
'
I \
12
numbers?
{a)
20, 30
(b)
24, 26
(c)
28, 22
(d}
36,_ 14
. I
70.
~v\'
If 4 + 7 + 3 = 281294) 8 + 6 + 3
what is 9 + 5 + 4?
= 482466,
3 +9+5
= 271527 and
7 + 2 + 5 = 143542, then
71.
{a)
364516
(b}
453661
{c)
453656
(d)
563672
\A
(a)
Only one-one
(b)
Only onto
{c)
(d)
19/26
x2 +1
/2.
73.
The probability that a squirrel passes the road safely without getting run over is 1/ 4.
The probability of the squirrel passing the road safely and a bird falling off her nest is
1 /6. What is the probability that the bird falls off her nest?
(a)
1/24
(b)
2/3
(c)
2/5
(d)
1/3
./
(a)
failure
(b)
mistake
(c)
fault
(d)
consequence
74.
Five jobs. are to be processed on three machines A , Band C in the order A-B- C. The
timings of the five jobs J 1 , J 2 , J 3 , J 4 and J 5 in machines A, Band C respectively are
known to be (30, 40, 70), (80 , 50, 90), (70, 10, 50), (50, 20, 60) a nd (40 30, 100) . The
optimal sequence would be
75.
In how many ways can 7 persons be seated as Adi would not sit on the middle seat or
on either ends?
(a)
720
(b)
2160
(c)
2720
(d)
2880
engistan.com
20/26
76.
( I
77.
\~
78.
79.
A code word 0010001 is received at the receiver . The receiver does not know what was
transmitted. If even parity is used and only one bit is assumed to be in error, the bit
position of the erroneous bit using Hamming code error detection method is
(a)
(b)
(c}
(d)
null matrix
(b)
skew-symmetric matrix
(c)
symmetric matrix
(d)
None of t h e above
Which of the following is the correct declaration for "A pointer to a function which
receives an int pointer and returns float pointer"?
(a)
float*(ptr)*iht; .
(b)
float*(*ptr) (int)
(c)
floa t*(*ptr)(in t *)
(d)
float(*ptr)(int)
Consider dy
dx
(a)
e6 +1
(b)
e 6 +4
(c)
e 6 +9
2
(d)
es
= ~- 2 Y
'
when x
= 5, y = 0.
When y
= 3,
engistan.com
21/26
the value of X is
80.
81.
(b)
(c)
(d)
a TCP /IP high-level protocol for transferring files from one machine to ano'ther
:.
If y = 2 6+ O 7x is the least-squares l_ine for the dat a points (0 , 3), (1 , 3), (-1, 2), (2, 4)
and (x 5 , 1), then the value of x 5 is
.
~
(a)
228
(b)
_'.228
(c)
(d)
-2
;..
82. . In a departmental store prize box, 40% of the slips give the ~inner a dreamy vacation;
the other slips are blank. What is the approximate probability t hat 3 out of 5 people
~\ I
that draw the s lips one after the other, and immediately return the slips into the box get
the dreamy vacation?
83.
(a)
023
(b)
03 5
(c)
0-45
(d)
065
The formula
y(x)
n
J- 1~l-x2
dx = - L y(x .) is
.
n i=l
1
7t
{a)
Simpson's formula
(b)
Gauss-Hermit formula
(c)
Gauss-Laguerre formula
(d)
Gauss-Chebyshev formula
22/26
84.
..
85.
Using IEEE 754 single precision representation for - 0 75, the bit values in the bits
representing the exponent reads
(a)
01111110
(b)
00000001
(c)
11110001
(d)
11111111
xf
+ x~
subject to
x2
x 1 -2
x{ - x2
-4 ~ 0
will be
86.
'
87.
~
(a)
(1, 0)
(b)
(0, -1)
(c)
(d)
If n is the number of vertices, e the edges and r the faces in a graph, then which of the
follo_w,ing holds true for a planar graph?
=2
(a)
n- e+r
(b)
n + e- r = 2
(c)
e + r- n
(d)
=2
A binary tree is called full if every internal verdx has exactly two children. Then
determine the height of a full balanced binary tree with 4095 vertices .
(a)
10
(b)
11
(c)
12
(d)
..
engistan.com
23/26
..j
88.
#include<stdio.h>
# includ e<s tdlib.h >
int main()
{
{d)
89.
.
II =
Eva luate the mtegra
!;'!
90.
91.
(a)
4 lr1:(.JX + 1) + c
(b)
x -4.JX + c
(c)
x - 4.JX + 4 ln
(d)
')
fx-.JXdx (x
x + .JX
> 0) . .
('.JX + 1) + c
11 + c
Consider a relation. Star (name, street, city, birthdate) with key underlined. The
functional dependency name ~ birthdate holds for the relation. The normal form of Star
is
(a)
lNF
(b)
2NF
(c)
3NF
(d)
Cannot
oe
Consider t!'1e set A containing n elements . Then the total m~m~er of injective functions
from A onto itself is
(a )
2n
(b)
n2
(c)
n * (n - 1)
(d)
n!
engistan.com
24/26
92.
The minimum number of nodes in an AVL tree (height-balanced binary tree) of height 9
is
(a)
85
{b)
88
(c)
143
..
(d)
54
93.
t
:::.
94.
95.
If f(x)
x<K
mx
+ !, if
- ~ is continuous at x
.
s1nx + n , if x>2
:==
= ~,
2 .
true?
mrc
(a)
n=-
(b)
m=n=-
(c)
m=-+1
2
(d)
m = 1, n=O
7t
n 7t
{b}
{c)
(d)
The correct representation in first-order logic for the sentence "Everyone who loves all
animals is loved by someone" is
{a.)
{b}
(c)
[VxVyAnimal (y)
Loves(x, y)]
(d)
_[3y Loves(y, x} ]
engistan.com
25/26
96.
97.
64
(b)
46
(c)
32
(d)
Let A be a matrix of order 3 s u ch that its eigenvalues are 0, 1, 2. Then the eigenvalues
of A(A - I) (A - 21) will become
(a)
(b)
(c)
0, 1, 2
. Q, -1 , - 2
0, i , 2i
98.
"f
99.
ABCDEF * - + * +
(b)
AB+CDE-+F**
(c)
AB+ CD+ EF * - *
(d)
'
The normal density func!ion is defined by f(x)
1
(x - ) 2
rrc expl -
-v2n
J~ x f(x) dx is
00
(a)
1
(J
(b)
(c)
(d)
(J 2 +2
engistan.com
26/26
2cr 2
J, -
oo
<x <
oo.
Then'
100.
What would be the sequence of nodes in postorder traversal of a binary tree whose
inorder and preorder traversals are as under?
lnorder : A D E F C B
Preorder : A B C D E F
101.
(a)
FD EC BA
(b)
FED CB A
(c)
FED BC A
(d)
DE F C BA
(a)
primary k ey
(b)
superkey
(c)
candidate key
(d)
unique key
102. Let (X, d) be a metric space, where Xis 4 i1u11cmpty set a nd the metric d(., .) on Xis
defined as
for x, ye X
1 if x t y
d(x. y) = { 0 if x = y
Then Xis
(a)
.(b)
(c)
(d)
engistan.com
27/26
103.
struct s 1
char *z;
int i;
struct s 1 *p;
f;
static struct s 1 al]={ {"Nagpur", 1, a+ l},
{"Chennai", 2, a+2},
{"Bangalore", 3, a}};
struct s 1 *ptr = a;
printf("%s, ", ++(ptr->z));
printf("%s, ", a[ (++ptr)->i] .z);
printf("%s", a[--(ptr->p->i)J .z);
return O;
}
104.
(a)
(b)
(c)
(d)
A is a nonsingular
(b)
Adj
(c)
(AB)- 1
A=~
IAI
= B- 1A - l ,
{d l
105.
= 0,
(b)
(c)
engistan.com
28/26
}06.
'"
107.
108.
1
109.
positive definite
(b)
(c)
n egative definlte
(d)
indefinite
Given a context-free grammar G = (V, T, .P. S), which of the following statements does not
hold trLie for a derivation tree for G?
Vu M
(a)
(b)
(c)
(d)
If a vertex
E V
n has . label E, then n is a leaf and is the only child of its parent
n-k
(b)
e-k
(c)
n-e+k
(d)
n-(e+ k)
a~d
k the number of
=nc
(b)
=nc
(c)
to plot r(n) = t(n) / f (n), where t(n) is the actual running time of the algorithm on a
specific proble m instance siz~ n, r(n) the ratio function and f(n) the polynomial to
estimate the average running tim e
'
(d)
to plot r(n ) = f (n) / t(n), where t(n) is the actual running time of the algorithm on a
specific problem instan ce size n, r(n) the ratio function and f(n) the polynomial to
estimate the average running time
engistan.com
29/26
110.
Let f(x)
= sin2x
in [ 0,
~] .
111.
{Y'
(a)
f(x) is continuous in [ 0,
(b)
/(0)
(c)
(dJ
The tangent at x
= f(n)
is derivable in ( 0,
-1t2)
=~
is parallel to x-axis
The number of bits required for a direct-mapped cache with 16 KB of data and 4-word
blocks, assuming a 32-bit address, is
(a)
100 Kbits
(b)
147 Kbits
(c)
256 Kbits
(d)
1123 Kbits
112.
-7t2J
The value of
.
(a)
(b)
-2
(c)
-2-
-1
l2x - 11 dx,
where
Iyl
(d)
engistan.com
30/26
113.
...
'
(i)
The regular
(ii)
The set of strings accepted by a finite automaton. M with n states is firiite if and
only if the automaton accepts some string of length c, n St" s 2rL
(iii)
Moore machine is a finite automaton with output where the output is associated
with the state.
114.
115.
.p.
(a)
Only (i)
(b)
Only (ii)
(c)
(d) .
Arrivals to an airport are all directed to the same runway. At a certain time of the day,
these arrivals are Poisson distributed at the rate of 30 per hour. The time to land an
aircraft is a constant 90 seconds. The runway utilization is
(ar
3/4
(b)
225
(c)
375
(d).
1/3
Of the following sorting algorithms, which has a running time that is least dependent on
the initial ordering of the input?
(a)
Insertion sort
(b}
Selecdon sort
(c)
Shell sort
(d)
Merge sort
116.
. I\
(a)
assembler
(b)
micro-preprocessor
(c)
macro-processor
(d)
macro-preprocessor
engistan.com
31/26
117.
_<("-
(a)
(b)
(c)
(d)
~ ( ~ ~}
1 f8.
\l'I
(a)
(b)
(c)
(d)
119.
120.
10
(b)
15
(c)
19
(d)
It is a user-level thread
(b)
(c)
It is a process
(d)
~one
of the above
engistan.com
32/26
www.engistan.com