# Placement Papers - Virtusa

## Why Virtusa Placement Papers?

Learn and practice the placement papers of Virtusa and find out how much you score before you appear for your next interview and written test.

## Where can I get Virtusa Placement Papers with Answers?

IndiaBIX provides you lots of fully solved Virtusa Placement Papers with answers. You can easily solve all kind of placement test papers by practicing the exercises given below.

## How to solve Virtusa Placement Papers?

You can easily solve all kind of questions by practicing the following exercises.

Posted By : Harshamaddineni Rating : +87, -22

Hai Friends

This is ROHINI KUAMAR. I attended pre-qualification test at Virtusa in Hyderabad. I want to share the paper pattern with u. So let me giv u the details of the test.

HERE I HAVE GIVEN ALMOST 90% OF THE QUESTIONS IN THE PAPER

There were 3 sections:(In which they tested 4 skills)

Analytical&Logical skills
Programming skills
Writing skills

All the 4 skill tests are fully brain teasers.

The duration of the test was 2hours,and the L&A
Reasoning has a minimum cutoff u should clear that to evaluate ur other sections.

The questions are as follows
(These are not in serial order and the information may not be accurate, when specified)

SECTION 1 (Analytical and Logical)

1.1 2 3 2 5 6 7 8 3 find the next term in the series
Ans:
Reason:

2.How can u place 4 coins in 2 lines so that each line should contain 3 coins

Ans:I wrote, it maynot be possible

3.Find the odd word

ALPHA DELTA SIGMA BETA  Ans:I think it is Delta,
Reason: as it has specific meaning(addition)and others don't have such meaning, just used for representation purpose.(i think so)

4.There was an addition given as follows
SATURN + URANUS = PLANETS
the solution is not encoding the entire problem but to find coding for 3 alphabets

Ans:
Key Steps:

5.There was a set of words given as follows
SUN,MER,VEN,---,...........,SAT,---,NEP,PLU
(I don't remember exactly but, all are the names of planets in solar system with notation of each planet using 3 letters)
The question was to find out the appropriate words in the given blanks
***SOME CHOICES WERE GIVEN***

Ans:
Reason:

6.How can u get 81 using the digits 2,3,25,50,75,100 only once using any of the arithmatic operators Key Steps: 50+(100/75*3)+25+2

7.(This is a real sitter, takes a long time) A man have some three types boxes viz Huge,Large,Small He took 11 of huge boxes and put on a table.And at random he has taken some of them and placed 8 large
boxes in each of the boxes.And after that he has placed 8 small boxes in some large boxes at random.By the end if he found 102 boxes empty, how many boxes are there on the table?

Ans:
Key Steps:

8.If u have a large number of Knights and a chess board.The problem is to find the way of arranging the Knights on the board so that no Knight attacks the other. (He has given mathematical relations that represents how a knight can move on the chess board as we know it as 'L', i'm not giving such stuff)

Ans:
Key Steps:

9.You are given a bunch of threads each having differing length.No two thereads have same thickness and no thread has same thickness all its length. But it is certified that any thread when lit burns itself in exactly 12 mins. The question is you are asked to find an elapsed time of 9 minuites.How can u find it out and how manythreads do u want for this?

Ans:
Key Steps:

(I think most of the questions are covered here. But
there may be a couple of questions left which i can't
remember in this Analytical and logical reasoning, OK)

SECTION 2 (Writing)

The topic to Write was on "Connecting the rivers in India".

SECTION 3

You can write the programs in this section using any programing language

3.1) 1.There was a pyramid given as follows

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

The three dots are given as a part of the specification. The above pyramid is to be printed when input number 13 is given.
Write a program to print the above pyramid.

2.Write a function which returns a substring in the string 'Sigma' (character given)which starts with 'Alpha' and ends with 'Thita' 3.You have a job in which you have to take time stamps and store them. So Write a datastructure that can minimize the storage requirements of Year,Month,Date,Hour,Minuite.

4.Write a program to find the four digited numbers, which are perfect squares, and all the digits in that number are even. (i think there is another program given which i don't remember)

3.2) THIS CARRIES 15 MARKS

The types of problems such as prob #4 from the section
1, (SATURN+URANUS=PLANETS) are called cryptorithms or alphabeticalcoding.
Where an alphabet is assigned a code so that the problem is to be solved using given summation. Write a program to solve such questions, which prints the letter and its corresponding digit that satisfies the given addition.

************** THE END ***************

This is what i remember.What i can say is solving the entire paper may not be difficult but to solve the paper in the given limit of 2 hrs is a problem.Also
Virtusa people concentrate more on analytical and logical reasoning.
My sincere thanks to Mr.Rajashekar who with my request, responded quickly and sent a previous paper of Virtusa. Without it i was just unable to go to the exam atleast with some mental preparation.
Also my heartful thanks to Friends madam,who is behind all the scenes, whose efforts are making this group flourish and grow day-by- day making this much useful to the people,especially freshers. I say, without this group many freshers can't make something in the compititive exams like
satyam,wipro,TCS.....      So my sincere request is to make the best out of this group, and also to serve and help the people who come after you.
PROGRAMS
#include<stdio.h>
main()
{
int a,i=1,n,j;
clrscr();
printf("Enter a 2 digit number: ");
scanf("%d",&n);
a=n;
while(1)
{
n = n * 2;
if (n > 98) n = n % 100;
a[i++]=n;
for(j=0;j<i-1;j++)
if(a[j] == n)
{
printf("The number %d exist in %d location of array
",n,j+1);
for(j=0;j<i;j++)
printf("%d ",a[j]);
getch();
exit(0);
}
}
}

main()
{
int x,c=0;
printf("Enter x: ");
scanf("%d",&x);
while(x!=1)
if(x%2==0)
{
x/=2;
c++;
printf("%d ",x);
}
else {  x = x*3 + 1;
c = 0;
printf("%d ",x);
}
printf("
%d",c);
getch();
}

#include<stdio.h>
void maxsubstr(char s[],char start,char end);
main()
{
char s,start,end;
clrscr();
printf("Enter string: ");
gets(s);
printf("Enter starting char: ");
scanf("%c",&start);
printf("Enter ending char: ");
fflush(stdin);
scanf("%c",&end);
maxsubstr(s,start,end);
getch();
}

void maxsubstr(char s[],char start,char end)
{
int i,st=-1,en=-1;
for(i=0;s[i]!='';i++)
{
if(s[i] == start && st == -1)  st = i;
if(s[i] == end && st != -1)  en = i;
}
if(st!=-1 && en != -1)
{
printf("Max. Substring  is:");
for(i=st;i<=en;putchar(s[i]),i++);
}
else printf("Given chars are not exist");
}_

main(){
short flags={0};
int n,m;
clrscr();
printf("Enter the number :");
scanf("%d",&n);
if(n%2==0){
m=n/2;
flags[m/8] |= (1 << (m%8));
}
printf("%d ",n);
while(1){
n*=2;
n%=100;
m=n/2;
printf("%d ",n);
if((flags[m/8] & (1<<(m%8)))!=0)
break;
flags[m/8] |= (1 << (m%8));
}           getch();
}

#include<stdio.h>
char *func(char *str,char a,char b){
char *temp;
temp=str;
while(*str!='')
str++;
while(*str!=b)
{    *str='';
str--;
}
str=temp;
while(*str!=a)
str++;
return(str);
}

main(){
char str,*result,a,b;
printf("Enter the string:");  scanf("%s",str);
printf("Enter the alpa:");    fflush(stdin);
scanf("%c",&a);   printf("Enter the beta:");
fflush(stdin);    scanf("%c",&b);
result=func(str,a,b);   printf("%s",result);
getch();
}