Home »» Placement Papers »» All Papers »» Virtusa »» Placement Paper

whole-testpaper-Hyderabad


)find the next number in the sequence
1,2,3,2,5,6,7,8,3
2)4 coins arrange them in 2 lines ,such that each line contains 3 coins


3)Find the odd one out

rest,held,deaf,back
4)Find the odd one out

alpha,beta,sigma,omega

5)sun,ury,nus,----,ars,ter,---,une,uto

Answer: rth,nus

6)There are few ropes,which vary in size,length and thickness and all its characteristics.Each rope takes 12 minutes to burn irrespective of all its characteristics.
Find the number of ropes required,if the elapsed time is 9 minutes.

7)1,2,25,50,75,100 .With these numbers evaluate 81,each number can be used only once.

8)there are few huge,large and small boxes.Out of the 11 boxes I randomly select few of them,and then put in each of them 8 large boxes and select randomly few of these large boxes and put 8 small boxes in each of the selected large boxex.If 102 boxes are left empty on the table.Find the total number of boxes in the table.

Section 2:Writing Skills

Advantages of interlinking rivers in India,this article to be published in a journal to be read by computer professionals.Shud be only 1 page.

Section 3:Programming

1)Program to print all 4 digit perfect squares.Such that each digit in the perfect sqare is a even number.

2) print the following pyramid

1
2 3 
4 5 6
7 8 9 10
11 12 13 . ..

Input to the program is 13. 

3)Program which prints a substring of the give string.
A function which has a string, staring character and an ending character.
For example: madhuri
Starting character : a
Ending character: r
Output of the function shud be: adhur


4)SATURN + URANUS = PLANETS

Write a program ,a file which has the problem and a file which contains the solution to such cryptogorical problems.Find the value of each letter,no alphabet has the same value.Each alphabet has unique value.

  1. A problem from sum of  Alphabets are given numbers from 1 - 9 we hav to assign numbers to alphabets  and A+B+C= something like that we have to know value of E ( Ans : 4)

  2. x^y=2x+y and given that 2^a=a^3 find value of a?(Ans : a=1)

  3. In an exam consists of 150 questions, 50 questions are of mathematics and remaining are others. In which twice the time is to be given to mathematics bit when compared to others.total time is 3 hrs then how much time is to be given to each bit of mathematics? (Ans : 72 sec or 1 min 12 sec)

  4. In an multiple choice question paper, each correct answer carries 4 marks and each wrong answer deducts 2 marks. a person scores 480 marks in a 150 questions paper how many questions he did correctly? (Ans :130)

  5. A problem on mixtures

  6. A problem on ven diagrams. It was a little bit lengthy to read and  to remember ...sorry

  7. A simple problem on probability...............its direct question. A bag contain 5 red and 7 green balls and another bag contain some no. of red and green balls.He asked to find probability of finding a red ball.

  8. A problem on work and time. A can do a work in 6 days B can do same work in 8 days, C can complete the same in 12 days.A under took 3 works like that and did for 8 days and left. Then B started work and did for some days and left then in how many days C completes this work?

  9. y=inv(cos[cosx+4sinx]/sqrt17) then dy/dx=? (Ans :1)

  10. total M persons want to buy a gift of D Rs. Out fo which 3 members are dropped out so how much each person have to pay extra ? (Ans:3D/m(m-3) )(check)

  11. A problem is on series 1 + 1(1+1/n)+3(1+1/n)2(square)+5(1+1/n)3(cube)+.................find sum of n terms
    ( I not did this problem)

  12. A monkey trying to ascend a greesy pole.He ascends 20 mtrs in one minute and goes down 4 mtrs in next minute.how much time it will take to ascend pole of 96 mtrs? (Ans:10 min 48 sec)

  13. On a good if 25% discount is given, he will earn profit of 25% what will be profit if he gives 10% discount?
    (Ans:50%)

  14. I don't remember what this qustion is ...........sorry

  15. 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 3times. 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)*((64-8)/64)**3.

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

  17. 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?

  18. 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.).

  19. 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.


Section II      Duration :20 mins                Marks :20

This paper is on C language

  1. Write a program to know whether string is palindrome or not?

  2.  A C program is given and asked what will be output.............

  3. A Recursive function is given asked what will be output how and why?

  4. write a prg / function to remove the duplicate from a sorted array. (8 m)

  5. write a prg to genrate fibonacci series upto 100 recursively.  (7 m)

  6. 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);

  7. A program given and asked what are variables value1 and value2 stores?(ie, in that program they store GCD and LCM)

  8. Write a program to sort linked list.

  9. In how many different ways, a rectangle can be cut into 4 identical parts.  

  10. Using the numbers 1, 2, 25, 50, 75, 100 Exactly one time, give an expression which will give the answer as 383.

  11. Volume of sphere is (PI)*(Theta) Cubic-meters and Surface area is (PI)*(Epslon) Square-meters And both are digit integer numbers. What is the value of radius?

  12. In the figure given below, Replace '?' mark by any operator (+, -, *, /, =) and if we leave as it is, numbers are considered together and forms either 2 or 3 digit numer. Generate an expression using some symbols.

              ------------------------
                 | ? | 2 | ? | 3 |
             ------------------------
               | 2 | | ? |
              ------- ------
               | ? | | 1 |
             ------------------------
             | 6 | ? | 1 | ? |
          ------------------------

  13. Analise the Programe
      main()
        {
       int x=1,y=1;
       while( (x > 0) && (y > 0) )
          {
          printf("%16d%16d",x,y);
          x += y;
          y += x;
           }
         }

  14. Start from a random number, generate a sequence such that if number is odd multiply it 3 and add  1. If number is even, divide the number by 2. This Sequence will always cyclic with 4, 2, 1. In this   sequesce, find the maximum power of 2 generaged in the sequence and print only the power, not   the sequence.

  15. Start with a random 2 digit number, The series is generated by multiplying the number by 2 and placing the last 2 digits as the next number. Series continues until one of the element repeats. 

  16. write a function maxsubstring(str,alpha,theta) str is the source string and have to return maximum sub string which  starts with alpha and ends with theta.

      INTERVIEW

  17. what will this line will do? if it is legal?   B -= (B < 0) * 2 * B;

  18. what does this function do??
     int f(int p)
        {
       int i = 0, t = 1, s = 1;
       while( s <= p)                                                                                        
           {
              i++;
              t += 2;
             s += s;
           }
         return i;
        }

  19. Explain What is divide and conuer method? Travelling salse man problem What is greedy method

  20. How Neural Networks and A.I are related.

  21. Tell me something about your self

  22. Where will you see your self after 5 years   

  23. You want to shift your career to management side or be in technical side?

  24. What you do in free time

  25.  Interests other than studies   

  26. How do you rate your self in 'C' Programming

Comment

0 Answers