Sapient Interview questionsAbout the Company: SapientSapient is a global consulting and marketing company which provides various services to clients such as Business, Marketing and Technology services. Sapient was founded on November 6, 1990 and headquartered in Boston, Massachusetts, United States. Sapient Operates in three division, which are SapientNitro, Sapient Global Market, and Sapient Government Services. SapientNitro deals with digital Marketing strategies, Sapient Global Market provides business and technology-based services to clients, and Sapient Government Services are the partners with government, health, and educational Organization and offers strategic, digital, and creative services. Sapient works with approximately more than 11,900 employees all over the world. Key People:
Sapient Recruitment ProcessThe complete recruitment process of Sapient consists of three main rounds. Candidates need to clear one round to go for the next, and so on. The main rounds are:
Academic Criteria
First Round: Written RoundDescription: The first round consists of an online written exam which has four sections:
The first round is a screening round where candidates are checked on the basis of their logical ability, quantitative ability, and basic technical concepts. This round has average difficulty level but requires a good speed. See the topics in each section with marks and time allotted for that section:
Note: Written Paper pattern may vary from college to college for campus recruitment.Verbal ability Questions:1) Find the word for the following analogyProbe: Wound :: Anemography:?
Answer: b 2) Find the antonym for the word "FLAGITIOUS"?
Answer: d 3) Find the antonym for word "NADIR"?
Answer: d 4) What will be the Synonym for word "FORAY"?
Answer: c 5) Find the odd one out from the following:
Answer: b 6) Sujit and Udit are twins brother, but they do not look_________
Answer: a 7) It's very kind of you to ________ to speak at the lecture hall.
Answer: d 8) Complete the sentence with appropriate phrase:Rohan always stammers in public meetings, but his today's speech_____________
Answer: c Quantitative Aptitude Questions1) Two trains are running with the speed of 60 km/hr and 40 km/hr respectively in the same direction. The Fast moving train completely passes a man sitting in slower train in 9 sec. Find the length of the fast moving train.
Answer: b Explanation: Relative speed of both train = (60-40) km/hr = 20 km/hr 20km/hr= 20*(5/18) m/sec = 100/18m/sec So the length of fast moving train= (100/18)*9= 50m. 2) If log 27= 1.431, then what will be the value of log 9?
Answer: d Explanation: log(3)3 = 1.431 3 log 3= 1.431 log 3 = 0.477 log 9= log(3)2= 2 log 3 = 2*0.477= 0.954 3) The balls in a bag are numbered from 1 to 20 and mixed up. If one ball is drawn out randomly then what is the probability that the drawn ball has a number, which is a multiple of 3 or 5?
Answer: c Explanation: Total number of multiple of 3 upto 20 = 20/3= 6 (only taking whole number) Total number of multiple of 5 upto 20= 20/5 = 4 Total number of 3*5 upto 20= 1 So total multiple upto of 3 or 5 upto 20= 6+4-1= 9 So required probability = 9/20 4) In how many different ways the letter of words OPTICAL can be arranged so that all the consonants come together?
Answer: b Explanation: The word OPTICAL has 7 letters which have 4 consonants PTCL, so if all consonants always come together then, OPTICAL can be arranged as (PTCL) OIA, where all consonants can be considered as a single letter Hence we can arrange it in !4 ways = 4*3*2*1= 24 ways Again PTCL also arrange in !4 ways= 4*3*2*1= 24 ways So total no of ways OPTICAL letters can be arranged = 24*24= 576. 5) To complete a piece of work A takes twice the time of B and thrice the time of C. If all working together can finish the same work in 8 days, then how many days are required to finish the work by B alone?
Answer: b Explanation: As per the question, Suppose, A takes X days to finish a piece of work, so B will take X/2 days, and C will take X/3 days Then, (1/X+2/X+3/X) = 1/8 Solving the above equation: 6/x= 1/8 X= 48 days So B alone can finish the work in 48/2= 24 days. 6) If log 2= 0.30103, then what will be the number of digits in 2^64?
Answer: a Explanation: To find the number of digits in 2^64 take the log of the number log(2^64)= 64*log 2= 64*0.30103= 19.26592 Its characteristic is 19 hence to obtain the digit we need to add in characteristic. Hence total number of digits= 19+1= 20. 7) Rahul purchased 12 dozens of toys at the rate of Rs.300 per dozen. He sold each of toys at the rate of Rs.29. What is his percentage profit?
Answer: c Explanation: Cost price of 1 toy = 300/12= Rs.25 Selling price of 1 toy = Rs.29 Gain = S.P.-C.P. =29-25= Rs.4 Profit %= 4*100/25= 16% 8) In how many ways can letter of word CORPORATION can be arranged so that all vowels always come together?
Answer: a Explanation: The word CORPORATION have 5 vowels which are 'O', 'O', 'A', 'I', 'O'. So grouping all vowels together, we can consider all the vowels as 1 letter So it can be arranged as CRPRTN(OOAIO) It has 7 letter so can be arranged as !7 in which R is 2 times so !7/!2 And again we can arrange all the vowels in !5/!3 ways So total number of ways = (!7/!2)*(!5/!3) = 50400 9) Find the smallest number which leaves a remainder of 2, when divided by 3, 4, 5, and 6?
Answer: c Explanation: Taking L.C.M of 3, 4, 5 and 6 = 60 Hence, 60 is the number which is completely divisible by these number, but we need that number which leaves the remainder of 2 while dividing by these number, so the required number is 62. 10) A running train passes a pole in 15 seconds and a platform of 100 m long in 25 seconds. Find the length of the train.
Answer: a Explanation: Let's suppose train is running with a speed of X m/sec having a length of x meters, so Speed = length/time s= x/15 (while passing a pole) ........... (i) s= (x+100)/25(while passing the platform)...........( ii) Equating both equations, we get x/15= (x+100)/25 5x=300+3x 2x=300 x=150 meters Logical Reasoning Questions1) If in a coding language A=1 and FAT = 27, then ACT =?
Answer: a Explanation: As A= 1 so F=6, And T= 20 So FAT = 1+6+20= 27 Hence, ACT = 1+3+20= 24 2) Pointing towards a girl, Rahul said, "She is the only daughter of my grandfather's only child," then how that girl is related to Rahul?
Answer: a 3) Statement:People who speak too much about corruption at every place are those who have taken it somewhere. Conclusion:I. It is easier for those to speak about corruption, who have done it.
Answer: c 4) Arrange the following words in a significant order1. Recommendation
Answer: d 5) Statement:I. All roads are park Conclusion:I. All malls are park
Answer: d 6) What is Shubham's birthday?I. Shubham's father was born on 25th April, 1965.
Answer: d 7) Find the missing number in the series.1, 2, 6, 24, ?, 720.
Answer: c Explanation: In the given Sequence, each number follow the pattern of: 1*1=1, 1*2=2, 2*3=6, 6*4=24, 24*5= 120, and 120*6= 720. 8) Arrange the following words in a significant order:1. Elephant
Answer: c Explanation: All are arranged in increasing order of body size. 9) Find the missing number in the series.5760, 960, ?, 48, 16, 8.
Answer: a Explanation: The given series follows a pattern of, 5760/6=960, 960/5= 192, 192/4= 48, 48/3=16, and 16/8= 2. 10) PLAY is related to ACTOR, so CONCERT is connected to?
Answer: b Technical Aptitude Questions:1) An assembler converts an assembly code to machine language code:
Answer: a 2) Which is not a derived data type from below options:
Answer: b 3) Find the output for the following program:function fun(){ int a =1; switch (a){ case 1 : print "5"; case 2 : print "6"; case 3 : print "7"; }
Answer: c Explanation: The code will print 5 6 7 as there is no break statement. 4) How to calculate the square of a variable 'x' in C?
Answer: d 5) The default parameter passing technique is
Answer: b 6) Choose the correct option about bipartite Graph
Answer: d 7) Which of following traversal of Binary search tree give the output values in sorted order?
Answer: c 8) The retrieval of items in the stack is which type of operation?
Answer: d 9) If new data needs to be inserted into data-structure, but there is no more space then this situation is called as:
Answer: d 10) Binary search can have maximum comparisons of ________?
Answer: a Second Round: Technical Interview RoundThe second round of Sapient recruitment process is a technical interview. In this round, candidates are asked questions to check their technical skills. The interview questions in this round can be from C, C++, Data Structure, Java OOPs Concepts, etc. 1) Differentiate between for loop and while loop in C?In C language, both 'for' loop and 'while' loop are used to repeatedly executing a set of instructions. The main differences between both the loops are given below:
2) Define Null pointer and where can we use it?In reference to the computer memory, a Null pointer is a pointer which points to an empty location. Or Null pointer is a pointer which points to nothing. Following are the primary uses of the NULL pointer in C language:
3) What is static and dynamic binding?Binding is a process of associating a method call with method definition. The Binding in Java is of two types:
Static Binding: If the type of object can be determined at compile-time by compiler then it is known as static binding. Dynamic Binding: If the type of object can be determined at runtime by compiler then it is called as dynamic binding. 4) Explain polymorphism in Java?Polymorphism in Java is one of the OOPs concepts, which defines that an action can be performed in different ways. In Java, Polymorphism enables a method or object to be used in various forms. Polymorphism is of two types:
We can achieve polymorphism in Java by method overloading and method overriding. 5) What are the various types of Polymorphism?Polymorphism in Java is of two types:
Static Polymorphism: Static polymorphism is also termed as compile-time polymorphism because static polymorphism can be resolved at compile time. We can achieve static polymorphism through method overloading. Which means in a class there are more than one method which has the same name but different parameter, or return type or the number of parameters. Dynamic Polymorphism: Dynamic polymorphism is also known as dynamic method dispatch or runtime polymorphism. Dynamic polymorphism is a process in which call to an overridden method can be resolved at runtime instead of compile time, hence it is also known as late binding. In dynamic polymorphism, an overridden method is called through the reference variable of the superclass. 6) Differentiate between malloc () and calloc () function?The malloc() and calloc(), both functions are used for dynamic memory allocation in C language but there are some differences between them:
7) Write a program to swap two numbers without using any third variable?Output: Before Swapping: a= 30, b= 20 After Swapping: a = 20, b = 30 8) Differentiate between Set and List?The Set and List, both are the interfaces which extend the Collection interface. The primary differences between Set and List are given below:
9) What is copy constructor and assignment operator?Copy Constructor: Copy constructor is a constructor which creates an object by initializing it with a previously created object of same class. It is called as a copy constructor because it has the same name as class name and it creates a copy of the previously created object. SyntaxAssignment Operator: Assignment operator is an operator which is called when an already initialized object is assigned a new value from another previously created object. Syntax10) What do you understand by Data Definition Language in SQL?The SQL is a database language, by which we can perform various operations on an already created database. We can also create a new database with the help of various commands. These commands are categorized into four ways, one of them is DDL, which is termed as data definition language. DDL contains such commands which are used for defining the database schema. It deals with the description of database schema and specifies the way of putting data in the database. Following are some commands used by DDL:
11) What do you understand by TRUNC and ROUND function?TRUNC() function: The TRUNC() function is used to truncate or delete the certain number right to the decimal without rounding off. SyntaxWhere, n = return a truncated number decimal_number= nth of decimal place to truncated. ExampleROUND () function: The ROUND() function is used to round-off any input value to its nearest integer value or the defined number of decimal points. Syntax:Where n= return a rounded number decimal_number= It specifies the nth decimal place. Example12) Define inheritance in Java?Inheritance in Java is an OOP's concept by which one class can inherit the property (fields and methods) and behaviour of other class. With the help of inheritance in Java, we can increase the reusability of methods and fields as one class can use the methods and fields of another class. Inheritance shows the IS-A relationship which is a parent-child relationship. Following are some important points of inheritance in Java:
Syntax:13) Differentiate between overloading and overriding?
14) What do you understand by normalization?Database normalization is a mechanism of organizing data in database tables in an easier way that there should be no data redundancy. It increases data integrity. It is a multistep process which puts data in tabular form in the relational database and removes duplicate data. 15) Write code to check that a number is palindrome or not?Output: The number 181 is palindrome 16) Can we achieve runtime polymorphism in Java only?No, we can achieve runtime polymorphism in other languages also such as C++, C#, etc. 17) What do you understand by virtual function?A virtual function in C++ is a member function of the base class, which is redefined in the derived class. To create a virtual function, 'virtual' keyword is used. The purpose of the virtual function is to tell the compiler to perform the dynamic dispatch on function. 18. Write a program to add two numbers without using arithmetic addition operator.Output: Addition of a and b is 30 19) What is Default case in the Switch statement?The default keyword in switch case is a special term. If in a switch statement, no case satisfies the input condition then the default case will be executed and will give the corresponding output. 20) Differentiate between the Switch Statement and if else statement?Both switch statement and if-else statement are used for selection of statement for a particular condition. Main differences between both are given below:
21) Why database is considered as self- describing?One of the characteristics of the database is that it is self-describing. It is considered as self-describing because it contains data with metadata which describes the relationship between data and tables in the particular database. Hence, database self-describes itself with the help of metadata. 22) What do you understand by ConcurrentMap?The ConcurrentMap is an Interface, which extends Map interface. The ConcurrentMap interface is a member of the Java Collections framework. It is capable of handling concurrent access and provide thread safety. SyntaxWhere K and V are the parameters, which represents K= the type of Keys V= the type of value mapped with Keys 23) What do you understand by Paging in OS?In Operating System, Paging is a technique used for memory management. By this technique, OS stores and retrieve the data from secondary memory to main memory in same sized blocks, which are termed as pages. Paging is used for the following benefits in OS:
24) What do you understand by Hashtable?In Java, Hashtable is a class which implements hash table data structure. It maps keys to value. For retrieving and storing objects from a Hashtable, every object which is used as a key, must implement the hashcode method and equals method. Following are some main points for Hashtable:
Syntax25) What is the difference between DBMS and RDBMS?The DBMS and RDBMS both are used for storing the information. RDBMS is an advanced version of DBMS but there are some differences between both the databases:
26) What is join in SQL? What are its types?A Join statement in SQL is used to combine the data or rows from two or more different tables if they satisfy the given join condition. The minimum joining condition is (n-1) for joining tables where n is number of tables. To perform a join operation in SQL, we use JOIN keyword. Types of Join in SQL: There are four types of Join in SQL which are:
27) What do you understand by the interface and abstract class?Interface: Interface is like a class which has methods and variables, but all the methods declared in an Interface are abstract in nature. Interface in Java is a way to achieve abstraction and multiple inheritance. To declare an interface in Java, we use 'interface' keyword. With the help of interface, we can achieve complete abstraction. SyntaxAbstract class: Use of an abstract class is another way to achieve abstraction in Java. For the creation of an abstract class, an 'abstract' keyword is used. With an abstract class, we can achieve complete or partial abstraction, which means it can have abstract or non-abstract methods. An abstract class cannot be instantiated. Syntax28) Differentiate between static and init block in Java?Static block is only executed at the first time of creation of a class object by JVM whereas init block is executed at every time whenever JVM creates the class Object. If in a class both static and init blocks are given then firstly static block will be executed and then init block. Example:Output: This is Static block This is init block This is init block This is init block This is init block THIRD Round: HR Interview QuestionsThe third round of Sapient interview process is HR interview round. This round is dedicated to check candidates' communication skills, soft skills, and Confidence. Hence this is also an important round of the complete process, but it requires a positive attitude with a good confidence level to be selected in Sapient Company. Following are the mostly asked HR questions:
|