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?
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.
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 was English-45 ques Quantative Aptt.-15 Technical Skills-15 Total time -1 hour
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
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.
Be the first one to comment on this Placement Paper