Professional Documents
Culture Documents
Apti 1
Apti 1
Apti 1
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
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
A.40
B.50
C.35
D.45
Answer : A
A. 1327
B. 1447
C. 1277
D. 1337
ANSWER : C
ANSWER : C
11.#include<stdio.h>
void main(){
char a=77;
char b=20;
printf("%d",a+b);
}
a. 97
b. compile time error
c. g
d. run time error
ANSWER :A
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
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