Placement Papers - Virtusa

Virtusa Corporation
VIRTUSA PAPER - NOV 2004 - HYDERABAD
Posted by :
Mahaboob
(8)
Virtusa - NOV - 2004.

Apptitude: (12 q- 30 min).

1.  A container has 64 lit of alcohol. 8 Lit of which is removed and added with same amt of water. The same process is repeated 3 times. What is the percentage of alcohol after the end of the operations.
Ans- formula - intial vol - p lit(64).
         Vol of removed sol - q lit(8).
          No of oprs - n(3).
Concentration of first liquid afetr oprts is - ((p-q)/p)**n.
  ((64-8)/64)**3.

2.  A tank holds 25 gallons of fuel. Before going for a drive which is at a distance of 600 miles. The car goes at a speed of 60 miles per/ hr. However the tank has a hole and fuel leaks out . After travelling a distance of 300 miles, the tank gets emptied. Find rate at which fuel gets lost.

3.  X+y+z=0, find the value of (x**3+y**3+z**3)/xyz.


4.  3 Men n 2boys can do piece of work in 12 days. Same work is done by 6men n 1 boy in 6 days. Find how many days can a man alone can complete the work?


5.  In an exam the maximum marks is 500. A got 20% more than b, b got 25% less than c, c got 20% more than d. If b marks are 360 then how much did d score? (No. R different prob type is the same.).

6.

Programmig: ( 5q- 30 min).

1.  Write a prg / function to remove the duplicate from a sorted array. (8 M).
2.  Write a prg to genrate fibonacci series upto 100 recursively. (7 M).
3.  Predict the output of the following:

Char c[]={ " enter" , "first" , "print" , "new" }.;
char **cp[]={c+3, c+2, c+1, c};
char ***cpp[]=cp;
printf("%s", ++*cp);
printf("%s",--*++cp);
4.

Essay( 2 out of 3, 15 m each-30 min).

1.  Future of it industry in india.
2.  Indian education system - merits and demerits.
3.  Your role model.