SAPIENT PAPER ON 15TH MARCH,2008 AT INDORE
Hi friends,
Let me tell u the eligibility criteria i.e. one should be graduating/post graduating in 2009 in B.E/B. Tech. (CSE, IT) with 60 % or MCA with 60%.Also you should not have any back logs at the time of writing the test.
Well beginning with the ………
Hiring Process:
Step 1: Technical Exercise
This consists of 2 problems which can be solved using C or C++ or JAVA. Our focus will be on your problem comprehension and problem solving ability and also your coding skills. You will have one hour to complete this test, so please factor in the time constraint and plan out your approach accordingly. You will be attempting this exercise on paper (not on a computer).
Step 2: Papers are evaluated and the students short listed
Step 3: Short listed students go through a second technical exercise followed by interview at a later date.
The company will be giving a compensation of 3.5 lacs p.a. and sapient offers tremendous career growth to graduates joining us straight from campus. Its a very good company.
Instructions:
1. Write appropriate comments for your code wherever required.
2. Focus on the approach & demonstrate problem comprehension & logic.
3. Assume anything required & clearly indicate your assumptions.
Ques:-
A organization named Simboisys(I don’t remember the exact name)…. conducts exams for student at its exam centers. The students enroll there exam date and centre from organizations website. There are three exam centers of this organization and given below are the details required of the students enrolling for the exams on the website. The students will be asked for his/her choice of exam centre in increasing order as mentioned below.
Exam Centers:-
Centre A
Centre B
Centre C
Student Attributes:-
Name
Date of exam
First choice
Second choice
Third choice
a) Define the class/structure
b) Write a function allotexamcenter() for allotting the exam center to the enrolling student and pass Candidate[] as a parameter to the function allotexamcenter ().
public float allotexamcenter (Candidate[])
Note: Don’t write any input functions such as main() & assume that the data structures have already been defined.
Remember:
Always while writing the solution in the paper mention the logic clearly before or after writing the code. Also give proper comments in the code and clearly mention the assumptions that you have taken while coding.
Best Luck to all those aspiring for SAPIENT……..
By Chitra