2008 SAPIENT Placement paper pattern (EXCLUSIVE)


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 Techical +business interview.It was cool...they were very friendly.....so it was not a problem.

Program 1. Reservation. there are 67 seats in train . there are only 5 seats in a row & 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 taken 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 & 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 & 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. question for interview: 1. draw class digram,& use appropriate data structure. 2. write function replacestring()

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:


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 & 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


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 & many more requirements.

.to compress the data send across the company

& 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


& 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



describe deployment of one full project any


why sapient

what can u bring on table

conflicts in team & how were they ressolved


what questions I have


The test contained 3 questions:

1. design a class diagram or date model for this


A company has some clients & some officers. Also it has some rooms to be used for meetings between client & officers. one officer is responsible for each room. & room has unique room id. a meeting will be aranged only when the officer & client are free & room is also free. the officer & 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.

Remember a lotta these questions with detailed explanation can be found Here


priyanka said...

please give answer of given question. thanks

charu said...

please mail me the answers of given sapient papers....


sunny said...

Plz mail me all d sol. of Sapient plz...

kusum said...

Leave ur emails at the top left hand box as we have already mailed the answers there

shashank said...

pls send me solution of this paper.this paper may help me a lot.
thank you

charu said...

please mail me the solutions fast...its urgent,..

Anonymous said...

please send answer as early as possible.

Anonymous said...

please send answers to papers present on the site

bhawna said...

please please cn u mail me the answers of these questions...

it wud be so nice of u

at gorgeous.bhawna@yahoo.com


Anonymous said...

these r a gr8 set of questions.thanks for ur effort.can u also mail da solutions.i'll be grateful.


vicky khurana.

Anonymous said...

please send the solutions



Anonymous said...

plz i need the proper solutions of these questions urgently plz send me vishu20sikka@gmail.com

DHANU said...

pls send me solution of this paper.this paper may help me a lot.
thank you

my mail id is umeshraimiet@yahoo.co.in

MINALI said...

plzzz...does any one has the sol to all these programs.kindly mail me at minali_cool@yahoo.co.in.this may help me to get into sapient.i'll b very grateful to u.

Nitika said...

can anyone please mail me the solutions to above problem.... i will b very grateful to u

tanu said...

Plzz send me the answers to these questions asap.....
my id is

Anonymous said...

Please send me solutions of these questions
my id is h_kemkar@yahoo.com


Anonymous said...

WE need the solution of these papers
as they are so important
mail me
the solutions on

Malloc said...

can any body please mail me the solutions of sapient programs to


onesnone said...

in paper 1
for stringreplace
as it was mentioned to replace abusive language with beap....
we hav to use that syntax of sound here.Nd also we hav to pass words in a string or some other way is there..
initiallizing string mus b there naa.
plz reply ..i want to know that.

haaris said...

hi guys
pls mail me the sloutions of all the sapient papers to my mail id


Pradeep said...

hello every one m going to appear for sapient on 20th march kindly help me 2 solve da paper..or mail me da solutions of questions in java...

Anonymous said...

please send me answer to these questions

Anonymous said...

Plz mail me all d sol. of Sapient plz...
my email id is

Anonymous said...

hello this is vandana kindly send me the solution of sapient papers
at vandana224009@yahoo.com

rishita said...

hi this is rishita..
kindly mail me the solution of sapient papers as soon as possible at

Anonymous said...

Hi...This is Sonalika please mail me the
Sapient papers and solution
I will be eagerly waiting for your as
sapient is going to visit soon I mean in 2 days please mail it me by tommorrow.


Anonymous said...

plz send me the solutions... i am going to appear for 2nd round on this very sunday...plz help me out.

Nirjhar said...

hey mail me solutions of this questions
its very very very urgent

kusum said...

answers sent again

nishant said...

hi kusum can you please send me the answer of above question
to my mail id-

nishant said...

hi kusum its urgent can you please mail me the answers of above question today itself i have interview tomorrow .

nishant said...

anyone have answes of above sapient question can mail me the answer on my id
i have interview round tomorrow.

sunny said...

plz mail me(nirmoy.bhowmik@gmail.com) the solutions of this paper day after tomorrw i have interview in Sapient.PLZZZZ it's urgrnt

pk said...

Please send the solution to pankajagr@gmail.com

manpeet said...

plz mail me the solutions..its urgnt..

Anonymous said...

Please send me the solution to modigagan2000@gmail.com

I have interview on this Saturday. I will be grateful to you all.

Anonymous said...

plz send me solutions at vishal_sonu2489@yahoo.com

interview on 26 sep 2010...urgent

pummy said...

plz send me the solution of these ques i hv interview tomorrow its urgent

kailas said...

Plese mail me solution of this paper on kailas_matsagar@rediffmail.com

Take Advantage Of 25 of the finest Articles to help u prepare for the Placement Papers and Interview questions
You’d Never Guess How easy it is to get a job after reading these placement preparation articles

Here are 25 Placement Preparation Articles

We Update our site frequently and we want to keep you guys informed so enter your email in the top left hand box and click subscribe,so that whenever we post new papers it gets delivered right to your mail.


© New Placement papers | Latest Placement Papers