Nov 14, 2010

7. Find the length of the wire.

A copper sphere of diameter 9 cm is melted and drawn into a wire of 2 mm diameter. The length of the wire is???

Answer:  
1093.5 mm or 1.1m (approx)
Explanation:
Volume of Sphere = Volume of wire(cylinder)
4(pi*R^3)/3 = pi*r^2*h
R=4.5 & r=1mm
h=1093.5 mm or 1.1m(approx)

Nov 13, 2010

6. Predict the output

main()
{
static int var = 5;
printf("%d ",var--);
if(var)
main();
}


Answer:
5 4 3 2 1
Explanation:
When static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function, which can be called recursively.

5. Find the missing no?

Find the next term in the following series:
3, 5, 5, 19, 7, 41, 9, ?


Answer: 
71
Explanation:
The actual series is in this form
3, 3*2-1, 5, 5*4-1, 7, 7*6-1, 9, so the next term must be 9*8-1=71

Nov 12, 2010

4. How many bananas did he eat on the first day?

A man ate 100 bananas in five days,each day eating 6 more than the previous day. How many bananas did he eat on the first day?

Answer: 
8

3. What's the man's age?

A man is three times as old as his son. Five years later he will be two and a half times as old as his son.What's the man's age?

Answer: 
Age of the man = 45
Explanation:
Let the age of son & father be x & 3x.
After 5 yrs
son=x+5
father=3x+5
Also given,
2.5(x+5)=3x+5,
solving gives x=15.
fathers age=3x=45

Nov 10, 2010

2. Find the length of the wall.

If 20 men build a wall of length 56m in 6 days , what length of a similar wall can be build by 35 men in 3 days?

Answer: 
49m

1. Find the number.

What will be the 18th term in the following series?
0, 6, 6, 20, 20, 42,...?


Answer: 
342

Explanation: 
The series is of the form
(1*1)- 1
(2*2)+2
(3*3)- 3
(4*4)+ 4
(5*5)- 5
So the 18th term will be 
(18*18)+18=342
.

Nov 8, 2010

Find the next letter

What is the next letter in this sequence OTTFFSS?

Answer: E

Explanation:
One
Two
Three
Four
Five
Six
Seven
Eight


So the intial of the letters is given,thefore answer is E

Nov 7, 2010

Find the no. of zeros.

A certain street has 1000 buildings. A sign maker is contracted to number the houses from 1 to 1000. How many zeros will he need?

Answer: 
192 zeros.

Age calculation

Rohit was 4 times as old as his son 8 years ago. After 8 years, Rohit will be twice as old as his son. What are their present ages?

Answer: 
Son's present age = 16 years
Rohit's present age = 40 years


Explanation:
Let son's age 8 years ago be x years. Then, Rohit's age 8 years ago = 4x years.
Son's age after 8 years = (x+8)+8 = (x+16) years.
Rohit's age after 8 years = (4x+8)+8 = (4x+16) years.
2(x+16) = (4x+16)  <=> 2x = 16 <=> x = 8.
Hence, son's present age = (x+8) = 16 years.
           Rohit's present age = (4x+8) = 40 years.