My Quote

Quote of the Day

sapient-3

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
'!', '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.





Sapient test 2nd round

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:



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 Paper


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




Sapient

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. '?' '.' ',' 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.






Sapient test 2nd round


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:




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 Paper

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




Sapient

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.