Anda di halaman 1dari 10

Quantitative Analysis

1) Calculate average of all prime numbers between


30 to 50.

6) In how many ways the letter of the word "APPLE"


can be arranged

A) 40

A) 20

B) 39.8

B) 40

C) 41

C) 60

D) 40.5

D) 80

2) A and B can finish a piece of work in 20 days. B


and C in 30 days and C and A in 40 days.

7) 4 mat-weavers can weave 4 mats in 4 days. At the


same rate, how many mats would be woven by 8 mat
weavers in 8 days?

In how many days will A alone finish the job


A) 34 2/7
B) 48
C) 44
D) 45
3) How long will a train 100m long travelling at
72kmph take to overtake another train 200m long
travelling at 54kmph

A) 12
B) 14
C) 16
D) 18
8) A clock is started at noon. By 10 minutes past 5,
the hour hand has turned through:
A) 145

A) 1min

B) 150

B) 70sec

C) 160

C) 1min 15sec

D) 155

D) 55sec
4) If a boat is moving in upstream with velocity of
14kmph and goes downstream with a velocity of
40kmph then what is the speed of stream?

REASONING

C) 13

1) Five persons A, B, C, D and E are sitting in a row


facing you such that D is on the left of C and B is on
the right of E. A is on the right of C and B is on the
left of D. If E occupies a corner position, then who is
sitting in the center?

D) None of these

A) B

5) How many terms are there in 2, 4,8,16,....,1024

B) D

A) 7

C) C

B) 8

D) A

A) 26
B) 34

C) 9
D) 10

percentage of total number of males in U.P., M.P. and


Goa together to the total population of all the given
states?
A) 25%
2) Complete the following series 10, 4, 7, 40, ?

B) 27.5%

A) 8

C) 28.5%

B) 9

D) 31.5%

C) 16

5) What is the ratio of the number of females in T.N.


to the number of females in Delhi?

Study the following graph and the table and answer


the questions given below.
Data of different states regarding population of
states in the year 1998

Total population of the given States = 3276000.

State
s

M.P

3) If A +
B means
A is the
brother
of B; A B means
A is the
sister of
B and A
x
B
means A
is
the
father of
B. Which
of
the
following
means
that C is
the son
of M?

Sex and Literacy wise


Population Ratio

A) M - N
xC+F

Sex

B) F - C
+NxM

Literacy

M F Literate Illiterate
A.P

D) 32

3 2

1 1

Delhi 2

3 2

Goa

5 3

Bihar 3

4 4

U.P.

2 7

T.N.

4 9

C) N +
M - F x
C
D) M x N
-C+F

4) What
will be
the

A) 7: 5
B) 9:11
C) 13:11
D) 15:14
6) What was the total number of illiterate people in
A.P. and M.P. in 1998?
A) 876040
B) 932170
C) 981550
D) 1161160
VERBAL
Solve the following comprehension
Nationalism, of course, is a curious phenomenon
which at a certain stage in a country's history gives
life, growth and unity but, at the same time, it has a
tendency to limit one, because one thinks of one's
country as something different from the rest of world.
One's perceptive changes and one is continuously
thinking of one's own struggles and virtues and
failing to the exclusion of other thoughts. The result
is that the same nationalism which is the symbol of
growth for a people becomes a symbol of the
cessation of that growth in mind. Nationalism, when
it becomes successful sometimes goes on spreading
in an aggressive way and becomes a danger
internationally. Whatever line of thought you follow,
you arrive at the conclusion that some kind of
balance must be found. Otherwise something that
was good can turn into evil. Culture, which is
essentially good become not only static but
aggressive and something that breeds conflict and
hatred when looked at from a wrong point of view.

How are you find a balance, I don't know. Apart from


the political and economic problems of the age ,
perhaps, that is the greatest problem today because
behind it there is tremendous search for something
which it cannot found. We turn to economic theories
because they have an undoubted importance. It is
folly to talk of culture or even of god. When human
beings starve and die. Before one can talk about
anything else one must provide the normal essentials
of life to human beings. That is where economies
comes in. Human beings today are not in mood to
tolerate this suffering and starvation and inequality
when they see that the burden is not equally shared.
Others profit while they only bear the burden.

A) breeds threat to international relations


B) leads to stunted growth
C) endangers national unity
D) isolates a country

5) Select the word which is OPPOSITE in the


meaning of the given word: INDISCREET
A) Reliable
B) Prudent

1) The greatest problem in the middle of the passage


refers to the question
A) how to mitigate hardship to human beings
B) how to contain the dangers of aggressive
nationalism.

C) Hones
D) Stupid
6) Select the word or phrase that is SIMILAR in
meaning to the given word: NONCHALANCE
A) Neutrality

C) how to share the economic burden equally

B) Ignorence

D) how to curb international hatred

C) All-knowing
D) Indifference
E) Untimeliness

2) Negative national feeling can make a nation


A) Selfish
B) Self-centred

TECHNICAL
1)What is the output of the following program?

C) Indifferent

main()

D) Dangerous

{
int x=6;

3) Suitable title for this passage can be

switch(x)

A. Nationalism breeds unity

B. Nationalism - a road to world unity

defalut:x+=2;

C. Nationalism is not enough

case 4: x=4;

D. Nationalism and national problems

case 5: x++;
}

4) Aggressive nationalism

printf("%d",x)

A) 8

B) 6

A)
B)
C)
D)

C) 5
D) 4

2) What is the output of the following program?


void main()

013
0123Hello
012Hello
Syntax Error

4) #include<stdio.h>
#include<string.h>

{
int const *p=5;
printf("%d",++(*p));

int main()
{
int i, n;

char *x="Alice";
n = strlen(x);

A) 6
B) Syntax error

*x = x[n];
for(i=0; i<=n; i++)

C) 5
D) Compiler error

{
printf("%s ", x);

3) Predict the output

x++;
}

main(){

printf("\n", x);

int i;
for(i=0;i<5;i++)

return 0;
}

A. Alice

if(i==2)
continue;
printf(%d,i);

B. ecilA
C. Alice lice ice ce e
D. lice ice ce e

if(i==3);
printf(Hello);
if(i==3)
break;

5) #include<stdio.h>
int main()
{

int *x;

5, 4, 3, 2, 1, 0

*x=100;

5, 4, 3, 2, 1, 0

return 0;
}

7) #include<stdio.h>

A. Error: invalid assignment for x

int main()

B. Error: suspicious pointer conversion

C. No error

float a = 0.7;

D. None of above

if(0.7 > a)
printf("Hi\n");

6) #include<stdio.h>

else

int main()

printf("Hello\n");

return 0;

int i = 5;

while(i-- >= 0)

A.Hi

printf("%d,", i);

B.Hello

i = 5;

C.Hi Hello

printf("\n");

D.None of above

while(i-- >= 0)

8) #include<stdio.h>

printf("%i,", i);

int main()

while(i-- >= 0)

printf("%d,", i);

static int a[20];

return 0;

int i = 0;

a[i] = i ;
printf("%d, %d, %d\n", a[0], a[1], i);

A)

4, 3, 2, 1, 0, -1

return 0;

4, 3, 2, 1, 0, -1

B.

5, 4, 3, 2, 1, 0

A. 1, 0, 1

5, 4, 3, 2, 1, 0

B. 1, 1, 1

C.

Error

C. 0, 0, 0

D.

5, 4, 3, 2, 1, 0

D. 0, Garbage Value, 0

printf(%c %d,j);
9) #include<stdio.h>

j++;

int main()

int i;

A) Compile Time Error


B) Runtime Error
C) Prints all ascii values from 1 to 255 with
integer
D) No Output

i = printf("How r u\n");
i = printf("%d\n", i);
printf("%d\n", i);

12)main()

return 0;

Static int a[5]={3,56,78};

A. How r u

int i;

for(i=0;i<=4;i++)

printf(%d,i[a]);

B. How r u

A)
B)
C)
D)

2
C. How r u
1
1
D. Error: cannot assign printf to variable

Syntax Error
3 56 78 0 0
3 56 78 Garbage value Garbage value
3 56 78

13) int main()


{
Chas s[] = Rendezvous!;
Printf(%d\n,*(s+strlen(s)));

10) Is null pointer same as an uninitialized pointer?

Return 0;

A) True
B) False

}
A) No output
B) Rendezvous11

11)main()
{

C) compile time error


D) 0

int j=1;
while(j<=255);
{

14) #include <iostream>


using namespace std;

class polygon

return (width * height / 2);

protected:

int width, height;

};

public:

int main ()

void set_values (int a, int b)

rectangle rect;

width = a; height = b;}

triangle trgl;

};

rect.set_values (4, 5);

class output1

trgl.set_values (4, 5);

rect.output (rect.area());

public:

trgl.output (trgl.area());

void output (int i);

return 0;

};

void output1::output (int i)

a)compile time error

b)10

cout << i << endl;

20

c)20

class rectangle: public polygon, public output1

10

d) None of the mentioned

public:
int area ()

15) #include <iostream>

using namespace std;

return (width * height);

#define MAX 10

int main()

};

class triangle: public polygon, public output1

int num;

num = ++MAX;

public:

cout << num;

int area ()

return 0;

D) both A and B

a)11
b)10

18) int main()

c)compile time error

d)none of the mentioned

int x=5,y=10,z=15;
printf("%d %d %d");

16) #include <iostream>

return 0;

using namespace std;

void copy (int a, int b, int c)

A) No output

B) 5 10 15

a *= 2;

C) Garbage value

b *= 2;

D) Syntax error

c *= 2;
}
int main ()
{
int x = 1, y = 3, z = 7;
copy (x, y, z);

19) #include<iostream>

cout << "x =" << x << ", y =" << y << ", z =" << z;

using namespace std;

return 0;

int x = 10;
void fun()
{
int x = 2;
{
int x = 1;
cout << ::x << endl;
}
}

}
a)1 3 7
b)2 4 5
c)2 6 14
d)none of the mentioned

17) Inline functions are invoked at the time of


A) Compile time

int main()
{
fun();
return 0;
}

B) Run time

A) 2

C) Depends how it is invoked

B) 1

C) 10

int i;

D) Compile time error

for(i=1;i++<=5;printf(%d,i));
return 0;

20) #include <iostream>

using namespace std;

A)
B)
C)
D)

struct a
{

12345
23456
2345
Compile Time Error

int count;
};
struct b
{
int* value;
};
struct c : public a, public b
{
};
int main()

22) #include<stdio.h>
int main(){
static int i;
for(++i;++i;++i) {
printf("%d ",i);
if(i==4) break;
}
return 0;
}

{
c* p = new c;
p->value = 0;

A)
B)
C)
D)

infinite loop
Syntax error
34
24

cout << "Inherited";


return 0;
}
a) Inherited
b) Error
c) Runtime error
d) None of the mentioned

21) int main()


{

23) Which of the following functions below can be


used Allocate space for array in memory?
A) calloc()
B) malloc()
C) realloc()
D) both a and b

24) Which of the following statement is false?


i. Arrays are dense lists and static data structure

ii. Data elements in linked list need not be stored in


adjecent space in memory
iii. Pointers store the next data element of a list

B) a b c d + - *
C) a b + c d * D) a b + - c d *

iv. Linked lists are collection of the nodes that


contain information part and next pointer
A) only i

28) The disadvantage in using a circular linked list is

B) i and ii

A)It

C) only iii

B)Last

D) i and iv

C)Timeconsuming

is

possible

to

get

node

points

into

infinite

loop.

to

first

node.

D) Requires more memory space


25) Which classes allow primitive types to be
accessed as objects?
A) Storage
B) Virtual
C) Friend
D) Wrapper

29)The time
A)O(n)

complexity of quicksort is

B)O(n2)
C)O(logn)
D) O(n log n)

26) A sorting algorithm which can prove to be a best


time algorithm in one case and a worst time
algorithm in worst case is
A) Merge sort
B) Heap sort
C) Quick sort
D) Insert sort

30) The correct order of the efficiency of the


following sorting algorithms according to their
overall running time comparison is
A) Insertion>selection>bubble
B) Bubble>selection>insertion
C) Insertion>bubble>selection

27) The postfix expression for * + a b c d is ?


A) a b + c d - *

D) Selection>bubble>insertion

Anda mungkin juga menyukai