SAPIENT PLACEMENT PAPER

Discussion in 'Latest Placement papers' started by Guest, Jun 2, 2007.

  1. Guest

    Guest Guest

    SAPIENT PLACEMENT PAPER -1


    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.



    question:

    1. draw class digram,and use appropriate data structure.



    2. write function replacestring()




    SAPIENT PLACEMENT PAPER -2


    Introduction to Sapient: We are a leading IT services firm that plans, designs,

    implements, and manages information technology to improve business

    performance for Global 2000 clients. Sapient was founded in 1991 based on a



    single promise: to deliver the right business results on time and on budget.

    Sapient's fixed-price/fixed-time model, combined with industry, design, technology,

    and process expertise, provides clients with the highest business value at the

    lowest total cost of ownership. Sapient's integrated delivery centers are located

    across the United States and in Canada, the United Kingdom, Germany, and

    India. More information about Sapient can be found at



    Our unique culture lends itself to a progressive management approach. Our

    leaders are unassuming and non-hierarchical. Everyone in the organization,

    including our co-CEO’s, share office space and there is an open door atmosphere

    in every office. While we are not penny-wise, pound-foolish, our leaders are highly

    cost-conscious as our market rewards such discipline. As a result, our executives

    are self-sufficient and approach their work with a "roll up your sleeves" work ethic.

    For their people, our executives provide an environment with challenging

    opportunities, strong leadership, and support for the team to grow. They must work

    to ensure that a trusted environment is created that promotes initiative,

    experimentation, and risk-taking. They proactively raise and openly address issues

    and problems quickly and constructively and are open-minded and adaptable to

    new ideas, approaches, and change.


    SAPIENT PLACEMENT PAPER - 3


    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




    SAPIENT PLACEMENT PAPER - 4


    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)

    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)

Share This Page