Apti 1

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

1.

Find the odd one out from these numbers


A. 4523
B. 6262
C. 7869
D. 5472
ANSWER : A

2. Alex, a famous criminal is standing at 9 positions from both ends of the row.
How many criminals were standing in total?
A. 17
B. 18
C. 16
D. 20
ANSWER : A

3. Two trains are running in opposite directions in the same speed. The length of
each train is 150 meters. If they cross each other in 15 seconds, the speed of
each train is (in km/hr)
A. 25
B. 36
C. 18
D. 10
Answer: B

4) 5 dogs eat 5 chewing bones in 5 minutes. 200 dogs eat 200 chewing bones in how
many minutes?
A) 200 minutes
B) 5 minutes
C) 10 minutes
D) 50 minutes
ANSWER: B

5) A can do a piece of work in 21 days and B alone can do it in 15 days. B works at


it for 5 days and then leaves. A alone can finish the remaining work in

A. 7 days
B. 10.5 days
C. 12.5 days
D. 14 days

ANSWER : D

6) Which one of the four is least like the other three: Potato, Tomato, Beetroot,
Peas
A) Potato
B) Tomato
C) Beetroot
D) Peas
ANSWER: B

7. How much 70% of 70 is greater than 30% of 30?

A.40

B.50
C.35

D.45

Answer : A

8.�If� 347 + 435 = 882 ; then what is 743 + 534 = ?

A. 1327
B. 1447
C. 1277
D. 1337

ANSWER : C

9.A stone struck me on the head

A.My head was struck by a stone.


B.�I had been struck by a stone on the head.
C.�I was struck on the head by a stone.
D.I was struck by a stone on the head.

ANSWER : C

10.Correct the given sentence.


If�I were you�I wouldn't speak to that lady again.

A.I was you


B.I were to be you
C.I am you
D.No correction required

11.#include<stdio.h>
void main(){
char a=77;
char b=20;
printf("%d",a+b);
}

what will be the output ?

a. 97
b. compile time error
c. g
d. run time error

ANSWER :A

12. What will be the output of the following program


int count=1;
while(count>0){
printf("%d" ,count++);
}
printf("%d",count);

a. 8
b. -32,768
c. 32,768
d. Run Time Error
answer:d

13.Which one of the following functions will convert a string to all uppercase in
PHP?
A.�strtoupper()
B.�uppercase()
C.�str_uppercase()
D.�struppercase()
ANSWER :A

14.Which data type is most suitable for storing a number 65000 in a 32-bit system?
A.Int
B.Long
C.Short
D.Double

Answer : short

15. �Does this compile without error?

int�main()
{
int�k;
{
int�k;
for�(k = 0; k < 10; k++);
}
}
A.�Yes
B.�No
C.�Depends on the compiler
D.�Depends on the C standard implemented by compilers

ANSWER : A

You might also like