You are on page 1of 18

SAPIENT PATTERN - 13 FEB 2005 - GURGAON

Hi Chetanaites

Here is the Format of Sapient's Pre Screen Test dated 13-02-


2005 at Gurgaon Center.

Paper - I
---------
There was a main question writing the Test cases for the given
problem:

A form having the following fields:

First Name
Last Name
Login Id
Password
Email Id

The questins were to :

1 Test case before the successful regiatration on the site.


2 Checks for validating each above mentioned fields.
3 Any Two negative scenario.
4 Any other two checks of your own choice.

You also have to specify the assumptions you have taken in solving
the above problems.

Paper - II
----------

Anoter paper was on the reasoning, data interpretation and analytical


skills.

Paper - III
-----------

Write a Passage on a Given Topic.

SAPIENT PATTERN - 05 DEC 2004


hello Chetanaites,

I have attended the sapient written test on 5th Dec-04. Paper was on also 4th dec. There were
around 3000-4000 guys attend this. 4th Dec paper had the same pattern- 2 programming ques.
but... next day we had the different pattern.

Pattern was
English-45 ques
Quantative Aptt.-15
Technical Skills-15
Total time -1 hour
In Eng.

10 synonyms and 10 antonyms


5 odd man out- They were tough one
10 ques- arrange 5 sentences in meaningful way- easy
10 ques- Find same relationship as given-They were also tough one

In QA- ques like


http://www.ChetanaS.com
on interest, probability, train, work & time from R.S.Agarwal
1. A family has 3 childrens one of them at least girl. Find the probability of having both girls.
2. 4 pairs of husband wife.Find the no. of ways they can play mixed double match.

In Tech part

ques from C & C++ must have thorogh knowledge- not a tough one.

that was all. Result will be declared within 2 weeks

)
SAPIENT PATTERN - 17 JAN 2004 - HYDERABAD
Hi Chetanaites

I have given sapient test on 17th jan in hyderabad. I applied thru mafoi consultants
(advertisement in accent 3rd dec). They had 3 different kinds of test.

The test contained 3 questions:

1. design a class diagram or date model for this problem:


A company has some clients and some officers. Also it has some rooms to be used for meetings
between client and officers. one officer is responsible for each
room. and room has unique room id. a meeting will be aranged only when the officer and client
are free and room is also free. the officer and clients must be
registered to the system which will give them unique email ids. arrange the meetings. dont write
ode.

2. write a program to find the occurance of charachers '!', '$' '?' '.' ',' etc. Also write a function to
replace all odd occurance of '?' to '.'.

3. there was a given program to insert a value at the proper postion in a doubly linked list. there
was some logical error in that due to which it was not working
properly. find out that error. it was easy.

(Paper Submitted By : Abhinav Bhatt)


SAPIENT PATTERN - 12 DEC 2003 - MUMBAI
Venue : Oberoi, Nariman Point , 12th december 4pm

The Test was quite simple .

Instruction :
1. You have to write code for the following program.
2. You can use any language but ( java , c++ preferable)
3. Do not write any input function or main function.
4.Please complete feed back form
5.Make required assumption.
6.Do write comment where necessary.
7.Follow flowchart and algorithm if required.

Program 1.
Reservation.
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats.
One person can reseve only 5 seat at a time.
If person reserving seat , the care is atken that he may get all in row. if seats are not available in
row then the arrangement is so that person group get nearby seats.

the following class is given


public class seat
{
char name;
int seat;
boolean isSeatempty
}

1.Draw require class digram and object diagram.


2.Write function seatallot(int noofperson)
to allocate seat with seat nuber printed for the each name.

Program 2.
Stringreplace

The forum is going on and administartor find that some people use abusing or bad lnaguage in
discussion.so he decided that when he uses such language it was replacedc with beap.

like
some string is given and it contain word idiot and bla bla ba....
you have to replace the word with ###

the word is listed in some look up table.


in Max_list_word

I think u got idea.

question:
1. draw class digram,and use appropriate data structure.
2. write function replacestring()

(Paper Submitted By : Harshad Mokal)


SAPIENT PATTERN - DEC 2003
Hi Chetanaites

regarding query of sapient pattern, even i appeared for that, but could not clear beyond first
round. I appeared around 4 monhs ago and the first round
included the Group discussion and the Technical test.
-In group discussion, there were around 20 guys and the topics were around 25 and everyone
had to select one topic from there.
-The persons in sequence are given a chance to choose
the topic from the list.
No two person can not have the same topic for GD.
Topic were general like
1.If i were Atal Bihari Vajpayee.
2.The icon of my life.
3 ..

In the GD everyone was given around 3 minutes to speak and the other guys got teh chance to
ask anything related with GD from him.

After teh GD there was technical test consisting of 3 questions.


2 questions were related with the Data structure and u have the choice to do it in either c, c++, or
java.
3rd question is related with what do u feel abt the company and why do u want to join this
company.

(Paper Submitted By : Ashish Tiwari


Hi Chetanaites

I have attended second round of written and interviews for sapient at banglore. The written was
similar to first round.

Written
--------

1) Write a program for the problem: the array of inetegers indicating the marks of the students is
given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a
student is the %of no of student having marks less then him. For eg: suppose

Student Marks
A 12
B 60
C 80
D 71
E 30
F 45

percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him)

percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him)

percentile of A = 0/5*100 = 0%.

2) The code was given for a problem and u have to identitfy the logical error in it. That was
simple. The code was to merge the Danagrams of 2 words. The danagram of a word is the letters
of word arranfed in sequential order. eg danagram of abhinav is aabhinv. merging of
danamagram is to merge the danagrams of 2 or more words such that the highest no of
occurance are coming for each alphabet.eg
merging of aabhinv and abbhhixz is aabbhhinvxz.

Technical interview:
--------------------
discussion on the written paper. how did u solved the problem? expain him about that. small
discussion on yr project for a while. simple techinal questions related to project. simple langugae
question : Collections in java.. types of joins in SQL. if u want to ask something about sapient
etc?

HINT: ask something good. eg kind of projecst they are doing.. processes they follow .. how do
they capture the requirements .. etc..

Business Inteview:
------------------
Hr inteview.. behaviorial questions.. how will u react in some conditions.. how how did u reacted..
1) give an example when yr boss is not aggreed with u. what did u do?
2) give an example when u had a clash with yr peer. what did u do?
3) give an example when u faced some ambigious situation.(when u are not understanding the
things properly ) what did u do?
4) give an example when u faced some stressful situation.what did u do?
5) did u make some decision of yr own to carray out something. and suggested this to yr boss
and yr boss aggreed?
etc..

what do u want to ask.

HINT : ask some good ques. like how open the envrionment is? is a junior person part of
design?? what is the responsibility of a member for the proper
working of project?

Busines Interview 2
-------------------
This was more of type 2 only. but they will tell about sapient. and u may ask as many quest as u
want. now u can again ask the same ques ased in previous 2
interviews.

(Paper Submitted By : Abhinav Bhatt)


SAPIENT PATTERN - DEC 2003
round1: write 2 programs on paper in 1 hour
{
.based on chair char in trains function to allot seats to people with some conditions like try to
give them consecutives one etc
.based on strings like give string remove toxic words like stupid etc by ###
}

round2: write 2 programs on paper in 1 hour


{
.based on postal system,how to decide the amt payable to companies sending post
everyday, sorting them,discount and many more requirements.
.to compress the data send across the company and filter out the corrupted data.
}

round3: technical discussion for abt 45 mins on 2 programs of round 2


additional 2 programs to seach an element immediately gr8r then all present in an array
without sorting and a modified version of it to handle all
error conditions. etc
what questions I have

round4: behavioual interview 1(HR) for abt 45 mins


{
tell abt urself
strengths
weaknesses
describe deployment of one full project any
one
why sapient
what can u bring on table
conflicts in team and how were they ressolved
etc.
what questions I have
}

round4: behavioual interview2(HR) for abt 30 mins


similar to round3
{one extra question based on ur technological skills one thing u want to do to change the
nation altogether} what questions I have

round5: Director's meeting(HR) for abt 15 mins


Describe abt all the ppl u have met earlier in the process
What questions I have + what I know abt sapient

round6: President's meeting for abt 10 mins + close of process including all negotiations

round7: final meeting where u get the offer cum joining letter

(Paper Submitted By : Sonam Singh))


SAPIENT PAPER - 28 NOV 2003 - BANGALORE
Hello Chetanaites

I have Taken the Sapient Test on 28th Nov. It was the Test in Java. The Questions Asked my
them are as follows.

There are 4 parts in 1 hour. It was held on Bangalore office.

part 1. They gave a Java Program to convert the numeric to Words, and there was a bug in it. we
have to solve it and give the comments. There is no Syntax error but only the logical error.
The program compiles without errors and runs, but the desired output is not got. for example
Input: 456
Output : four hundred and fifty six (correct)

Input :14000
Output : hundred and fourteen thousand.(wrong)
Desired output : fourteen hundred thousand.

Input :235126
output : hundred and two hundred and thirtyfive thousand hundred and one hundred and twenty
six(wrong)

I am not much clear about the question but frame it out.(15 minutes)

part 2. you have to write a program to calculate the sales price of the product for a given
conditions. it is very simple.(20 minutes)

part 3. You need to create a class diagram or data model for the given requirements. the
requirement is as follows
In a village there are only few families and there were only one newspaper/magazine agent.
there are lot of news paper and magazine available and every month a new magazine or
newspaper it introduced.
Every family is getting at least one newspaper or magazine.
Every month at the end the cost is calculated and collected.
Suppose if a family wants to cancel the subscription, they should be able to do it at any day of
the month.
The family should be billed only for the days which they got the newspaper or magazine.

The agent plans to buy a computer and proceed. Please create a class diagram or data model
which helps him in developing a new software for it. Do not write the code or Flowchart.(25
minutes)

part 4. Please describe in 50 words. explain a situation in which you helped a person to excel in
life in the field which you are more familiar and the person is nil about it.(3 minutes)

(Paper Submitted By : N.Arun)


SAPIENT PATTERN - NOV 2003 - GURGAON
Hello Chetanaites

I got job in Sapient, Gurgoan. Today was the second round of interview...

There was a test 2 programs to write ..

They are only looking at the logic. they don't care how u wrote the program,,,,ya..little bit they will
c..

then there is a Tech + business interview.

It was cool. they were very friendly so it was not a problem..

(Paper Submitted By : Shiji)


SAPIENT PATTERN - NOV 2003 - DELHI
Hello Chetanaites

i recently attended the first round for sapient at delhi. they asked to write 2 programs in any
language. better if in C++ / java. the programs are very simple and u can get thru easily if u know
a littile bit of programming.
1) in a trian compartment there are 67 seats..13 rows of 5 (3 by2) setats and the last row has 2
sets. a person cannot book more than 5 seats. if a person is bokin then it should be such that
maximum people of the group get to sit in the same row.

2) i'm writrng in a simple programming style here : in a sentece we have to compare each word
from a list and replce it with "###" if it exists in the list.

(Paper Submitted By : Sapeksh Madan)


SAPIENT PATTERN - 2003

SAPIENT HIRING TEST

TEST 1

part 1. They gave a Java Program to convert the numeric to Words, and there was a bug in it. we
have to solve it and give the comments. There is no Syntax error but only the logical error.

The program compiles without errors and runs, but the desired output is not got. for example
Input: 456
Output : four hundred and fifty six (correct)

Input :14000
Output : hundred and fourteen thousand.(wrong)
Desired output : fourteen hundred thousand.

Input :235126
output : hundred and two hundred and thirtyfive thousand hundred and one hundred and twenty
six (wrong)

I am not much clear about the question but frame it out.(15 minutes)

part 2. you have to write a program to calculate the sales price of the product for a given
conditions. it is very simple.(20 minutes)

part 3. You need to create a class diagram or data model for the given requirements. the
requirement is as follows

In a village there are only few families and there were only one newspaper/ magazine agent.

there are lot of news paper and magazine available and every month a new magazine or
newspaper it introduced.

Every family is getting at least one newspaper or magazine.

Every month at the end the cost is calculated and collected.

Suppose if a family wants to cancel the subscription, they should be able to do it at any day of
the month.
The family should be billed only for the days which they got the newspaper or magazine.

The agent plans to buy a computer and proceed. Please create a class diagram or data model
which helps him in developing a new software for it. Do not write the code or Flowchart.(25
minutes)

part 4. Please describe in 50 words. explain a situation in which you helped a person to excel in
life in the field which you are more familiar and the person is nil about it.(3 minutes)

SAPIENT PATTERN - 2003 - MUMBAI

Sapient test 2nd round :Oberoi - mumbai.

This is also technical round .Duration 1hr .


You have to write two programs in any language preferably c++ and java.

Program 1.

Name : Post - mails

Some conditions are given like if you cover some distance you have to pay this amount , if postal
weight is this then u have to pay this amount .

Thus five to six conditions are given , you have to write the program to get the distance of post -
mail / sort / print / the result .

Very simple program just use if and else loop .

Given : getdistance() is function which gives you the distance between two cities.

Program 2

Name : compress and decompress the string

One string is given like : aaabbbbbcddddeeee

You hav to compress the string like a3b5c1d4e4

And it may happen while transferring the compress string some non alphanumeric characters
can add in compressed string so compressed string can become a@3b%5c*1d$4e4 like this
you have to remove this extra characters.

Those who cleared this test hav technical interview round

Technical interview :
50 minutes technical interview
10 min:Debugging

q1 .They had given me one program for debugging. The program is in java .and don't hav any
syntax error. Just logical error.

10 min :
Then told me to correct the mistake I had done in 2nd round answer paper.

10 min :
About My project

10 min :
curriculum /academic subjects .

10 min :
Extra activity like IEEE membership / achievements / seminars / paper presentation /
competitions etc.

5 min:
Feedback .

Those who cleared this round set for business interview.

I suggest surf their web site www.sapient.com it helps.


Study some basic concepts of management information system. (MIS) Like CRM , DSS etc.

FINAL : HR Round :

Normal HR round .

(Paper Submitted By : Harshad Mokal)


SAPIENT PATTERN - EXPERIENCED - 19 MAY 2006 - BANGALORE
Hello Chetanaites

I had attended sapient test on 19/05/2006 in Bangalore for 1+ year experience

The test paper


We had two parts partA and part B----

PartA: spend 40 min here


We are developing a website for a plane Reservation, once the user enters the from and
To Destination and the Date.The web site should display all the planes on that day in a
list of 10 planes at a time. The details are given by a node []
Each node gives following details

Node []
Flight Name ()
Flight Time ()
FromToDestination ()
isDirect ()
isStartOver ()
Flight Rate ()

Assume all the data are in arrays, the following conditions as to be followed while displaying
the list of flights chetanas.com
1. the flights should be displayed in the ascending order of rate
2. If price are equal then it should display direct flight first
3. If there are more than one flight with same rate and they are direct then the flight which
starts early will take the priority
4. If there are more flight at the same time than the one with ascending order of Organization
will take priority
5. I forgot one more condition

Write the method for all the process, no need to write exact code write all the methods and
business application

PartB: spend 20 min here(its very easy)

This is an application which converts an English language to piniac language which is


understood by small kids The software program is written and executed ,the program as to
add 'ay' to all the words starting with vowel at the end, if the word is starting with consents
peal the first letter and add at the end along with'ay' chetanasinterview.com

The actual output


Erehay isay aay ayway ofay onvertingcay englishay toay iniacpay

Output of our software


Erehay isway away ayway ofway onvertingcay englishway toay iniacpay

Assume all the methods are ready and working don't change the logic or add additional
characteristic

Write the comments for the following code, and check for errors and bugs, we are
looking for your error correcting skills and code knowledge

Class piniac
{

is Vowel(char first)

{I'm not able to recall the exact code but its very easy with simple
methods}

addletter (first,' a');


addletter (first.'y');
addletter (first,'\0');
}

addletter (char first [],)


{
hope it will help others

(Paper Submitted By : Hemalatha)


SAPIENT PATTERN - JAN 2005
Hi Chetanaites,

I have attended the interview in Sapient for Associate QA. There r five rounds in that

1. Aptitude Test and Technical Test :


They will give u a little aptitude test and a technical test related to software testing.

2. Technical Review :
In this round u have to explain the answers of your technical test in detail.Ch etanaS

3. 2 Business Rounds :
In these rounds communication skills and core values of a candidate r judged.

4. Director Round : This is a sort of HR round.

(Paper Submitted By : RUCHIKA MANCHANDA)


SAPIENT PATTERN - EXPERIENCED - JAN 2004
Hi Chetanaites

one of my friend got job in Sapient.

pattern is :
1. one pre screen test
2. one more test (WAP+debugging)
3. review of that test (asked to explain the programs)
4. tech interview
5. meeting with MD

This is for 2-5 yrs experience.

Question's Pattern:

1) Write a program for the problem: the array of


integers indicating the marks of the students is
given, U have to calculate the percentile of the
students according to this rule: the percentile of a
student is the %of no of student having marks less
then him. For eg:
suppose

Student Marks
A 12
B 60
C 80
D 71
E 30
F 45
percentile of C = 5/5 *100 = 100 (out of 5 students 5
are having marks less then him)

percentile of B = 3/5*100 = 60% (out of 5, 3 have


markses less then him)

percentile of A = 0/5*100 = 0%.

2) The code was given for a problem and u have to


identify the logical error in it. That was simple.
The code was to merge the Dana grams of 2 words. The
danagram of a word is the letters of word arranfed in
sequential order. eg danagram of abhinav is aabhinv.
merging of danamagram is to merge the danagrams of 2
or more words such that the highest no of occurance
are coming for each alphabet. eg

merging of aabhinv and abbhhixz is aabbhhinvxz.

(Paper Submitted By : Varsha Agarwal)


Pattern:

Sapient test 2nd round :Oberoi - mumbai.

This is also technical round .Duration 1hr .


You have to write two programs .in any language .preferably c++ and java.

Program 1.
Name : Post - mails
Some conditions are given like if you cover some distance you have to pay this amount , if postal weight is this
then u have to pay this amount .
Thus five to six conditions are given , you have to write the program to get the distance of post - mail / sort / print /
the result .
Very simple program just use if and else loop .
Given : getdistance() is function which gives you the distance between two cities.

Program 2
Name : compress and decompress the string .

One string is given like : aaabbbbbcddddeeee


You hav to compress the string like a3b5c1d4e4

And it may happen while transferring the compress string some non alphanumeric characters can add in
compressed string so compressed string can become a@3b%5c*1d$4e4 like this you have to remove this extra
characters.

Those who cleared this test hav technical interview round


Technical interview :
50 minutes technical interview .
10 min:Debugging
q1 .They had given me one program for debugging. The program is in java .and don't hav any syntax error. Just
logical error.

10 min :
Then told me to correct the mistake I had done in 2nd round answer paper.

10 min :
About My project

10 min :
curriculum /academic subjects .
10 min :
Extra activity - like IEEE membership / achievements / seminars / paper presentation / competitions etc.

5 min:
Feedback .

Those who cleared this round set for business interview.


I suggest surf their web site www.sapient.com it helps.

Pattern:
Pattern was
English-45 ques
Quantative Aptt.-15
Technical Skills-15
Total time -1 hour
In Eng.
10 synonyms and 10 antonyms
5 odd man out- They were tough one
10 ques- arrange 5 sentences in meaningful way- easy
10 ques- Find same relationship as given-They were also tough one
In QA-
ques like
on interest, probability, train, work & time from R.S.Agarwal
1. A family has 3 childrens one of them at least girl. Find the probability of having both girls.
2. 4 pairs of husband wife.Find the no. of ways they can play mixed double match.

In Tech part
ques from C & C++ must have thorogh knowledge- not a tough one.

Interview Pattern:

Technical interview:

discussion on the written paper. how did u solved the


problem? explain him about that. small discussion on yr
project for a while. simple technical questions related
to project. simple language question : Collections in
java.. types of joins in SQL. if u want to ask
something about sapient etc?

HINT: ask something good. eg kind of projecst they are


doing.. processes they follow .. how do they capture
the requirements .. etc..

Business Interview:

Hr interview.. behavioral questions.. how will u react


in some conditions.. how how did u reacted..
1) give an example when yr boss is not agreed with u.
what did u do?
2) give an example when u had a clash with yr peer.
what did u do?
3) give an example when u faced some ambiguous
situation. (when u are not understanding the things
properly ) what did u do?
4) give an example when u faced some stressful
situation. what did u do?
5) did u make some decision of yr own to carry out
something. and suggested this to yr boss and yr boss
agreed?

etc..

what do u want to ask.

HINT : ask some good ques. like how open the


environment is? is a junior person part of design??
what is the responsibility of a member for the proper
working of project?
Busines Interview 2

This was more of type 2 only. but they will tell about
sapient. and u may ask as many quest as u want. now u
can again ask the same ques asked in previous 2
interviews.

Overview

Sapient is a leading business consulting and technology services firm that helps Global 2000
clients plan their investments in technology, design and implement projects that drive competitive
advantage, and manage critical applications to improve business performance. Based in
Cambridge, Massachusetts, we have locations in Canada, Germany, India, the United Kingdom,
and the United States.

Company History

More than 14 years ago, we founded the company to address what we saw as fundamental
problems in the way IT initiatives were delivered. While technology offered enormous potential for
improving the way companies do business, it was clear that this potential was not being realized.
Technology initiatives were consistently late and over budget. And, even worse, they almost
always missed the mark on achieving business objectives.

We designed and built Sapient from the ground up by challenging industry norms and delivering
superior return for our clients’ investments. We knew that if we built a company focused on
delivering the right results on time and on budget, we could make a tremendous impact on our
clients' businesses, set a new standard for business consulting and technology delivery, and
change the way people live and work in the information age.

Sapient currently has offices in Canada, Germany, India, the United Kingdom, and the United
States.

Careers

The world needs a better kind of consulting, and we're on a mission to deliver it. The work we do
requires a certain type of person — passionate about raising the bar on what's possible and
focused on doing whatever it takes to help our clients succeed. These are the qualities that drive
us, qualities that point to a company bent on delivering value and impact.

We've built our reputation by giving our clients what we say we will, when we say we will. We do it
in an environment of shared ideas, shared efforts, and shared responsibilities, and in an
atmosphere of openness that recognizes each individual's need to grow professionally.

Working at Sapient

In our project teams and in our relationships with clients, we operate in an environment that
places a high value on collaboration. If there is a "Sapient way," it's about creating value for
clients in an environment of shared ideas, shared efforts, and shared responsibilities. Our mission
is to provide a better kind of consulting.
Hello Chetanaites

I had attended sapient test on 19/05/2006 in Bangalore for 1+ year experience

The test paper


We had two parts partA and part B----

PartA: spend 40 min here


We are developing a website for a plane Reservation, once the user enters the from and
To Destination and the Date.The web site should display all the planes on that day in a
list of 10 planes at a time. The details are given by a node []
Each node gives following details

Node []
Flight Name ()
Flight Time ()
FromToDestination ()
isDirect ()
isStartOver ()
Flight Rate ()

Assume all the data are in arrays, the following conditions as to be followed while displaying
the list of flights chetanas.com
1. the flights should be displayed in the ascending order of rate
2. If price are equal then it should display direct flight first
3. If there are more than one flight with same rate and they are direct then the flight which
starts early will take the priority
4. If there are more flight at the same time than the one with ascending order of Organization
will take priority
5. I forgot one more condition

Write the method for all the process, no need to write exact code write all the methods and
business application

PartB: spend 20 min here(its very easy)

This is an application which converts an English language to piniac language which is


understood by small kids The software program is written and executed ,the program as to
add 'ay' to all the words starting with vowel at the end, if the word is starting with consents
peal the first letter and add at the end along with'ay' chetanasinterview.com

The actual output


Erehay isay aay ayway ofay onvertingcay englishay toay iniacpay

Output of our software


Erehay isway away ayway ofway onvertingcay englishway toay iniacpay

Assume all the methods are ready and working don't change the logic or add additional
characteristic

Write the comments for the following code, and check for errors and bugs, we are
looking for your error correcting skills and code knowledge

Class piniac
{

is Vowel(char first)

{I'm not able to recall the exact code but its very easy with simple
methods}

addletter (first,' a');


addletter (first.'y');
addletter (first,'\0');
}

addletter (char first [],)


{

hope it will help others

(Paper Submitted By : Hemalatha)

You might also like