Aptitude Questions
Feb 24, 2011
24. Find the output.
void main()
{
int i=3, *j, k;
j = &i;
printf("%d\n", i**j*i+*j);
}
Answer:
30
Feb 23, 2011
23. A triangle is made from a rope. The sides of the triangle are 25 cm, 11 cm and 31 cm. What will be the area of the square made from the same rope?
Solution:
Add all sides 25+11+31 to get rope length rope length =67,rope is made in to as square. So side of square is 67/4=16.75 and so area is 16.75*16.75=280.5625.
Ans : 280.5625
Feb 22, 2011
22. If DDMUQZM is coded as CENTRAL then RBDJK can be coded as _____
Ans :
QCEIL
Feb 21, 2011
21. Four different integers are in increasing AP such that one number is equal to sum of the squares of the other three numbers.
Ans : 1,0,1,2
20. Rs 1,050 are divided among P, Q and R. The share of P is 2/5 of the combined share of Q and R. P gets ?
Ans : Rs 300
Dec 1, 2010
19. A train 130 metres long and travelling at 45 km/hr can cross a bridge in 30 seconds. Find the length of the bridge.
Answer:
245 m.
Explanation:
Speed =
45 x
5
m/sec
=
25
m/sec.
18
2
Time = 30 sec.
Let the length of bridge be
x
metres.
Then,
130 +
x
=
25
30
2
2(130 +
x
) = 750
x
= 245 m.
Nov 27, 2010
18. Pointing to a lady a person said, "The son of her only brother is the brother of my wife." How is the lady related to the person?
Answer:
Sister of father-in-law
Explanation:
Brother of person's wife → brother-in-law of the person. Hence, the son of lady's brother is brother-in-law of the person.
Therefore, the brother of the lady is the father-in-law of the person. Hence, the lady is the sister of the person's father-in-law.
Nov 26, 2010
17. The angle of elevation of the sun, when the length of the shadow of a tree 3 times the height of the tree, is??
Answer:
30º
Explanation:
Let AB be the tree and AC be its shadow.
Let
ACB =
.
Then,
AC
=
3
cot
=
3
AB
= 30º.
Nov 25, 2010
16. Find the output.
int main()
{
int ***r, **q, *p, i=8;
p = &i;
q = &p;
r = &q;
printf("%d, %d, %d\n", *p, **q, ***r);
return 0;
}
Answer:
8,8,8
Nov 22, 2010
15. Find the Next no
If
5+3+2=151012 ,
9+2+4=183662.
8+6+3=482466,
5+4+5=202504
then what ll be the answer of
7+2+5=??????
Answer:
143542
Explanation:
a+b+c = (a*b)&(a*c)&reverse[b(a+c)]
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)