SAP LABS Interview Questions

Important SAP DETAILS:


SAP Labs are R&D locations that develop and improve SAP core products.

SAP is at the centre of today’s technology revolution. The market leader in enterprise application software, SAP helps organizations fight the damaging effects of complexity, generate new opportunities for innovation and growth, and stay ahead of the competition.

Visit our corporate site to explore news, information for investors and analysts, career resources, SAP’s history, and more.

SAP India is the fastest growing subsidiary of SAP SE, the world’s leading provider of business software solutions. SAP India began its operations in 1996 with headquarters in Bangalore and offices in Mumbai, New Delhi, Kolkata, and a direct presence in nine cities across India, besides having marketing associates in Sri Lanka and Bangladesh.

Declared as the ‘Hub of the year in Asia Pacific and Japan” in 2007, SAP India witnessed an unprecedented growth of over 100% both in terms of license revenue and customer acquisition.

SAP Labs India is SAP’s largest Research and Development center outside its headquarters in Germany and a part of a connected lab network of 20 Labs in 17 countries. It is one of the earliest R&D centers of a global company to have a footprint in Bangalore, and has over the period of almost two decades grown in strategic importance for SAP.

Founded in November 1998, SAP Labs India drives SAP’s product strategy, is responsible for SAP core solutions and provides product localization and India specific solutions. Through a network of three labs in India -Bangalore, Gurgaon and Pune – and an employee base of approximately 7300, SAP Labs India focuses on business innovation through radical simplification to ensure customer success. SAP Labs India embraces SAP’s culture of global diversity, innovation and is a hot spot for talent.

SAP Labs India Locations

The second largest development hub for SAP Globally, SAP Labs in located in Bangalore, Gurgaon, and Pune. Since 1998, we have grown from a process driven, cost benefit center to one that provides strategic value to SAP clients globally.

  • Bangalore – Main Campus
  • Bangalore – RMZ
  • Gurgaon


Aptitude Round consisting of:

  • Quantitative aptitude
  • English
  • Logical reasoning
  • Coding questions

(Always Remember: Time management was important)

Interview details : –

Round 1:
Q1. Questions mainly on C, OOPS concepts of C++, basic Java concepts, Data structures and puzzles (standard ones) .
Q2. Questions about your Project.
(If you perform well in this round then your chances of selection gets high)

Round 2 (Similar to Round 1):

Q1. Questions from the same topics as the previous round.
Q2. Simple puzzle
Q3. Apart from technical questions a few HR questions were asked. For example: Why do you want to join this company?

Round 3 (HR Round):

Few example questions:
Q1. Have you ever be in a situation where your task is not completed in time and you have to make quick decisions?
Q2. In what other activities have you been involved in other than academics?
Other general questions were asked. They basically check communication skills and presence of mind.

SAP Labs Interview Questions - Fresher

Round #1: Technical
The interviewer was looking like he was in early 30’s. He started by asking to introduce myself. He went through my resume and asked how much will I rate myself in C and C++ in a scale of 10, I said 6-7.He asked the following questions:
1. What is a class and object in C++. Explain by taking an example.
2. What is static and use of it? Give a real life example where you would use it?
3. What are public, private called in C++( ans :Access Specifiers) , What is the use of them? For whom would it be useful users or developers?
4. What is difference between authorization and authentication?
5. Abstraction and encapsulation?
6. How is Encapsulation implemented and an example?
7. What is use of inheritance?
8. Write a program to find second largest number in an array?
Note: I just wrote a code to first find the maximum element and make it zero then again find the max from remaining(which would give second largest number)
He asked whether this is the best solution , I Said No, this is the first solution that would strike anyone and we can improve its time and space complexity
9. Then he asked about time and space complexity?
10. Finally any questions for me?
He said it was good to have u and I answered most of the questions, the thing is that u don’t need to have the exact answer it’s about how u get to a solution and how u think u can improve yourself Thank you.


Round #2: Technical
The interviewer introduced himself, he was working with SAP for 13 years and was about 50, The moment I saw him , I became nervous. He said I don’t want to ask anything about programming as u have answered good in the first round and got good score . He asked to introduce myself , then asked if I have any other offer, I said yes, then he asked then y do u want to join SAP, I explained.
He started with a puzzle:
1. There are 10 balls out of which one ball is heavier and all other balls are of equal weight , how many min measurements are required to find the heavier one?
2. Again a puzzle on weights, There are 25 machines producing 1kg weights , suddenly a machine corrupted and started producing weights measuring 999grams,Find the machine with a single measurement?
3. Have u worked with any database?
4. What is mySql?
5. What are triggers. How to use them?
6. Why do we need a foreign key when we have a primary key?
7. What is index in SQL?
8. What is use of joins?
9. Explain your projects?
10. Last question as usual any question for me? I asked two , he said thanks and I left.


Round #3: Managerial
The interviewer introduced himself and congratulated me for clearing two rounds. Asked me to introduce myself, then my qualities. I said I always want to find newer ways of implementing things, he asked me to give some examples about it, I explained one from my project and the other one from my first round regarding the program for finding the second largest example, he was very impressed. Asked about my projects and other things apart from academics. Asked whether I have any offers.

What I know about SAP, why SAP?
He gave me a pattern, it was a pentagon , then 2nd one was two pentagons whose vertices were connected, every line between two points would be considered as a connection. How many connections would be there in the 75th pattern. I tried to solve and came to a recursive solution within 5 mins( Ans: 5(n)+number of connections in [n-1]th pattern). He said this a recursive solution , how can u find without using a system , I explained him that all things we do are on system and clients would need a program for such a question and this would work fine, he was very much impressed.
He said he will choose a number between 1 to 200 , U have to write down a set of questions asking them u have to tell me the number and note that the same question should work if I change the range from 1000-2000. I started thinking , then I thought a binary search would work in this case, I wrote related questions and said it’s a binary search he asked me to write a code for it, I wrote. He asked how would I adjust to Bangalore as I am from other city I explained. Then he asked me to ask any questions.

Round# 4: HR
Interviewer introduced himself, he was about 35, asked me to introduce myself, and explain me about my projects, after that he asked whether ever worked within a team, I answered everything.
What are my interested areas, I said cloud computing, Big data and IoT he asked me to explain. Asked whether I have any other offers, I said yes then y I would prefer SAP. I explained him, he asked me about my family, will I able to move to Bangalore? He did not say I was selected but from his words I got that :). finally he said we have an offer to u, and explained all benefits , pay and all. I said thank u sir, he asked me to chose preferred joining date and asked if I had any query and I asked few and said thank you.

Small Suggestion:
Its not about the answer its all about how u approach the problem may it be a program or a puzzle. Be confident, tell them if u don’t know a particular question, make sure u tell them your approach ,given an opportunity to ask questions at the end, always ask a few, this would show your interest to the interviewer.

SAP Labs Interview – Intership

Round 1: Online Test (105 mins)

The online test comprised of six sections –

  1. Psychometric Test ( Time Limit : 10 minutes)
  2. Coding Questions (2 Questions of 20 marks and 40 marks each)
  3. Design Problems
  4. General Awareness
  5. Quantitative Aptitude
  6. Testing & Debugging Questions

The trick is to solve at least one coding question successfully and not to skip psychometric test. In the psychometric test, same question can be asked in different ways again and again so you have to make sure you are giving same answer in each one of them.

12 students were shortlisted after this round for interviews. It took more than two months to start the interview process.


Round 2: Telephonic Technical Interview (50 Minutes)

The interviewer was friendly and calm. She touched all the subjects I had learnt in my course. The interview started with “introduce yourself” question and it dove in the direction my introduction took it. She asked about my projects, my role in the projects, technologies used, if I was able to deliver on time ,what was my preferred method of doing it and why did I think that method is best. I mentioned in my introduction that I have a technology blog, so some discussion on that also happened.

Then the interviewer started testing my technical knowledge. Following questions were asked.

  1. Error handling in C and C++
  2. Web technologies used in industry
  3. Debugging code
  4. SDLC phases
  5. Testing life cycle
  6. Garbage collector and how it works
  7. How to make a system secure
  8. Collection package in java
  9. OOPS concepts, whether OOPS is used in real world also? How is it useful?
  10. Copy Constructors
  11. Operator overloading
  12. Macros
  13. Calloc vs Malloc with example
  14. TCP/IP
  15. Different kinds of communication systems, the common challenges and how to face them.
  16. Questions about online courses I had done.

The results of round 2 were announced after a week and the next interview took another week to happen.


Round 3: Telephonic Technical Interview (30 minutes)

The interviewer asked me to introduce myself. Then he asked about my project, my role in it, what modules I developed, technology used, how many other people were there with me in the project. Then I was asked about Object slicing, dynamic/restrictive/static typecasting, inheritance, composition, difference between interface and abstract class with examples, virtual functions, difference between a project and product, SDLC phases, polymorphism, are C++ and Java fully object oriented, which language does not support multiple inheritance.

Then he moved on to some HR questions like

  1. Why I chose the degree I am doing
  2. What are my hobbies

Then he asked a guess estimate question that if there is a new restaurant in my locality having population of 1 lakh people, how many people can I expect in a day. For any number given, he asked the reason why this estimate only and why not other.

SAP Labs Interview - Experience

ROUND 1:(Online Round) – 75 min (No negative marking was there)

This round was conducted on 20th September 2017

It consisted of 5 sections.

Section 1: Aptitude – 6 questions

Section 2: 2 “C” codes to be debugged(Easy)

Section 3: 2 coding questions (1 Easy and 1 Medium)

Section 4: 2 questions on critical reasoning (Critical Analysis)

Section 5: English (Passage comprehension)-3 questions(Easy)

Section 6: 4 or 5 Technical questions based on Java and DBMS

This Online Round was easy but the trick was time management.

I attempted both questions for debugging but was getting segmentation fault in second.

TIP: just grab as many marks in this round as you can, don’t waste all time on coding questions.

Out of approx. 300 students they have selected 21 for interview round. The interview process took one day. Two technical rounds and 1 HR round.


ROUND 2: Technical (ONE on ONE) – about 45-50 min

This round was conducted on 24th September 2017

The interview started with a formal introduction. My Interviewer was a very humble and good person, He was making me comfortable at each and every moment during the interview.

He asked to tell me about myself and the work that I have done that I have written on my resume.

Then he asked me that I have written C language on my resume, so tell me about the components of C language. I answered what I knew about C language.

Then he asked me if I know about Data Structures to which I said yes. He then asked the components of Data Structure (I don’t know what he meant by “components” but I still answered whatever I knew about data structures).

Tip: Just say whatever you know about the topic, Don’t be silent.

He then asked me which data structures I know (to which I answered all DS)

He then asked me to write an algorithm for linked list. I asked what algorithm like insertion, deletion to which he replied writes an algorithm to search an element in circular linked list and also asked me to tell its advantage over SLL.

He then gave me a puzzle. It was


He asked me tell the output.

I solved it using maths but he told me to think “OUT OF BOX”. He also told me the answer is zero but he wanted to know how it came.

It then struck me that (n-n) would be zero and then whole expression would become zero.

Then he was constantly searching my resume and gave me a coding question to reverse my name and print them in vertical order. I gave him a simple approach. He then complicated it by saying that he needs all characters only once. I suggested hashmap but then he said he needs a different approach. After some 20 minutes, I suggested to him another approach to use counter and he was satisfied with that approach.

Tip: Always tell what you are thinking to the interviewer, don’t be silent, be confident.

Then he again gave me a puzzle. He said it is difficult than the one he previously gave.


we have to make this equation true using the numbers 1,3,5,7,9,11,13,15 any number of times.

I had solved this puzzle before but forgot the answer at that time(:p). I told this to my interviewer and told him too that all numbers are odd and this is not possible I guess. He again said think “OUT OF THE BOX” and gave me hint of using floats instead of integers. I immediately solved the puzzle and he was satisfied with my reflex action(?).

Then the discussion diverted to my projects as he was constantly holding my resume in his hands. I have done my summer internship from IIT Delhi. I told him about my experience there and how I got selected in that. He asked me about what project I was indulged into and why I chose that particular technology. This discussion went on for 10 minutes or some. I had mentioned two of my projects on my resume and he asked about both of them.

He also asked why do I want to join SAP Labs.

Then he asked me about DBMS and the difference between DBMS and RDBMS.

Then he asked about cloud computing and its applications and usage. To some of my friends they were also asked about operating system.

Out of 21 people,11 were chosen for 3rd round.


ROUND 3: Technical (ONE on ONE) – about 55-70 min

This was an exhausting interview round. The interviewer was good but a little less helping than my previous interviewer (although he was helping but he was confusing me if my answer was right or not).

The interview started with an introduction of myself. He then searched my resume and said-“You have written C language as your skill, lets solve a problem then”. He gave me coding question:

A game is there, certain integers are coming randomly on screen, suppose 5 Is there on screen, if a user type 5 and press enter, the digit should vanish and the score of user should increment to 1, but if the user inputs wrong number or failed to input any number, he should get no marks. At the end he wanted me to give the output of

1)Total number of integers appeared on the screen

2)Score of user

I gave him some suggestions but he wanted me to write a complete code. I was nervous. I gave him some approaches but he wanted me to optimize them. I was constantly telling him my approaches. This discussion went onto for half an hour and after that he was “ok” with that (He was not seeming satisfied with that). At this moment I didn’t lose hope.

He then gave me another coding question. He said you know C so you should also know bitwise operators, so let us solve a problem of that:

A user inputs a number say 32 , and a position say 7. write a function which takes the number and sets its 7th position counting from least significant digit and then return the resultant number in decimal.

like, 32’s binary representation is 00100000 and after setting its 7th position from least significant position, the resultant number becomes: 01100000,which is 96.

I was solving it using decimal to binary conversion and then putting the result in an array and then setting the position, but he was seeming dissatisfied with it and asked me-“Can’t it be done an easy way?”. It then strike me that I can use a bitwise OR. I had to OR between the number(32 in this case) and 2^position-1(this gives a number whose 7th position is set as 1) to set the given position. He was now satisfied with it.

He then gave me a puzzle. I had solved it earlier so I told him the same. He said if I wanted to solve it again and I did it.(It was founding the defected ball from 8 balls with minimum number of weighings)

He then asked me about my projects and whether I like testing or development.

He then gave me some tables and asked me to normalize them and write a complex SQL query on it.

Then at last he gave me a question asking me about the “Facebook Birthday Notification Algorithm”. He said I am not asking about that but do search it on google how it works(:p).

Then I asked him about the areas I can improve.

Out of 11 people,5 made it to the HR round.


ROUND 4: HR Round – about 30-45 min

It started with a question whether I am tired as my voice was very low at that time(:p).

I said I am perfectly alright.

SAP Labs Interview - Experienced

1st round online test-
1. Psychometric Test
2. General Aptitude
3. Analytical Aptitude
4. Verbal Skills
5. Computer Skills
6. Coding Skills
Coding ques – 2ques requiring very basic coding skills in C.

After clearing this I was called for interview process.

2nd round- designing round
we were divided into groups and given problem statement, assigned mentors group wise, bt asked to create solution individualy. Given around 3040 mins to design a banking system with given requirements,

Design should include
-Logic Flow Diagram
-E-R diagram (very important)
-DB tables with relations between them, preferably normalized
-Commands for transaction with tables
A PI with mentor on basis of design/DB tables etc created.

3rd round-Technical
Basic questions on
-C (string, array, bitwise operators)
-C++(inheritance concepts, private/public/protected concepts)
-protocols HTTP,TCP/IP
-current project
-ER diagram for some requirement the create Db tables and write C function for transaction from tables.
-Noramlisation 1NF, 2NF, 3NF BCNF with examples
-Dynamic and static binding
-developement and testing lifecycle and types based ques
-Design patterns used in software development
-OS ques paging etc
-linux commands
-puzzles (find volume of air in a bottle etc)
-difference bet product and project
-diff bet system software and bussiness software
-abstract and interface examples

4th round-Mangerial
-normal ques about college, ranking in class etc
-why should I hire u (justify you characteristics which u mention in this ans), why do you want to join SAP.

Then he asked me do i have any ques, I asked about Onsite opportunities, and then while discussing I told him about my interest in visiting Heritage places, so he told me about an organization which conducts Heritage walks in delhi for places not so famous but with rich historic significance and then gave me contact details. I dont know how much I impressed him, Bt I was flattered by this gesture.

5th round- HR
He asked me how should i weigh Howrah bride and asked to give any answer I like, normal or wacky. My answer was very normal so i not gonna write that.

And then ques about my weakness and strength, my previous company, reason to change etc.

SAP Labs Interview - On-Campus

Interview Round 1:
Q1. What is I of ACID properties?

Q2. What is write ahead logging in DBMS?

Q3. What are the deadlock avoidance schemes?

Q4. What is clustering index ?

Q5. There is a program which inserts and deletes node in a sorted singly linked list. There is a bug in one of the modules, how would you debug it?

Q6. What are the ways in which fault tolerance can be ensured in systems? (Different redundancy techniques)

Q7. A pair of redundant systems are operating, how would you ensure that when one of them goes down, the other one will take over its operation ?

Q8. Virtual function in C++.

Interview Round 2:
Q1. Implement the malloc() and free() operations. Give the strategy for implementation, no coding.

Q2. What is structure padding ?

Q3. A window of size k is sliding from left to right in an array of size n, find the maximum number in the window at each window position.

Q4. Explain your project in detail especially your contribution.

HR Round:
Q1. How was the interviews ?

Q2. What is your negative point that you want to improve?

Q3. Would you like to change your domain, if yes why ?

Q4. Tell me an experience of yours in that you didn’t like to do and how you handled it ?

Q5. What are you expecting from the company ?

Q6. Are you comfortable shifting base ?

SAP Labs Interview - Off Campus

Round-1 (Online)

We have received an email to attend an online written test which consists of 30 MCQs (Including logical, quantitative, reasoning) and 2 coding.

Round-2 (Technical Interview Round-1)

In this interview they have asked me very basic questions of OOP, DBMS, OS, DS and Puzzle.

Q-1) Tell me about yourself.

Q-2) What is OOP.

Q-3) What is abstraction and give an real life example.

Q-4) What is inheritance and its types. explain with example.

Q-5) Design a student-course-subject Schema. after that he asked me write a query using the schema I have designed.

Q-6) What process scheduling? give few scheduling name and explain them.

Q-7) What is thrashing?

Q-8) He asked me for my preferred language between java and python. why it is?

Q-9) then he asked me one puzzle which is “there is a room. Inside that room there are ant and sweet placed at diagonally opposite end. Find the shortest distance that ant needs to travel to get the sweet (Ants can’t fly)”.

Tips:- Be confident and you must be able to explain what are you thinking.

Round-3 (Technical Interview Round-2)

In this interview they have asked question on DBMS, Algo, DS.

Q-1) Write the binary search algorithm.

Q-2) What is ACID?

Q-3) what is deadlocks?

Q-4) what are linked list, double linked list and circular linked list?

Q-5) A puzzle which is “Two sand arcs which measures 7 min and 4 min each. Count 9 min using those two”.

Q-6) Little discussion about the projects

Tips :- You should be know each and everything about the resume.

Round-4 (Managerial Round)
Part-1) Manager asked me about my interest, family background and why I want to join SAP.

Part-2) They have asked me to discuss over URL management for browser.

Round-5 (HR Round)
Q-1) Tell me something about yourself.
Q-2) What will I bring from my previous company?
Q-3) Why SAP?
Q-4) My Current CTC
Q-5) What are your future plans related with further studies?

Review Date
Reviewed Item
Thank you, Iteanz. For well Arranged SAP LABS Interview Questions, Keep Updating more on SAP LABS.
Author Rating