SAP Labs Technical Round Experience
1. The round started with a brief introduction about myself.
2. In data structures I was asked to write code for height of a tree and Given a binary tree delete a level and replace the parent node by child nodes, I was asked only the logic for the second question and I answered based on inorder order traversal.
3. I was asked to write code for level order traversal.
4. I did a project based on stock market prediction using random forest algorithm. Questions were asked related to the project like which environment you used to develop the project ( since its related to machine learning we need to handle a huge data to get accurate results , that's why they asked that question ), How random forest algorithm works?, What are the attributes given for the algorithm, What is the accuracy of the algorithm were asked.
5. UML questions regarding concepts like aggregation, association and composition were asked. they wanted me to draw the relationships and give real time examples for each one.
6. Java questions like difference between final, finalize, finally. Singleton class implementation. Difference between static methods, static classes and run time polymorphism, why its resolved in run time.. were asked. They wanted examples for each one.
7. I was asked to tell about all OOPS concepts along with examples.
8. In SQL, difference between delete, drop , truncate and alter queries was asked. then other questions in the topic were what is a super key, Write query for finding top second row with max value ( since the query with desc will be ineffcient I was asked to write my own program for getting those top second value from the table) and the there may be more than 1 second highest value so Limit query should not be used.
9.In c , the questions started of with difference between Structure, union advantage and disadvantage
10. In depth C knowledge was assessd based on the question like, size of pointer, why sizeof (int) is assigned to pointer if pointer has a predetermined size? why size is compiler dependent (for eg for integer there will be different memory sizes in 32 bit and 64 bit machines) why is that so? address representation
11. Given a string find all substring palindromes abcaba (eg: abcba, abba are some substring palindromes) and a point to be noted is that it should be done in O(n)
12. Questions regarding visual studio IDE like what is the environment for the IDE. This question was asked because I had a project in my resume that I had done using visual studio IDE.
13. Difference between R and python( I have mentioned them in my resume)
1. The round started with a brief introduction about myself.
2. In data structures I was asked to write code for height of a tree and Given a binary tree delete a level and replace the parent node by child nodes, I was asked only the logic for the second question and I answered based on inorder order traversal.
3. I was asked to write code for level order traversal.
4. I did a project based on stock market prediction using random forest algorithm. Questions were asked related to the project like which environment you used to develop the project ( since its related to machine learning we need to handle a huge data to get accurate results , that's why they asked that question ), How random forest algorithm works?, What are the attributes given for the algorithm, What is the accuracy of the algorithm were asked.
5. UML questions regarding concepts like aggregation, association and composition were asked. they wanted me to draw the relationships and give real time examples for each one.
6. Java questions like difference between final, finalize, finally. Singleton class implementation. Difference between static methods, static classes and run time polymorphism, why its resolved in run time.. were asked. They wanted examples for each one.
7. I was asked to tell about all OOPS concepts along with examples.
8. In SQL, difference between delete, drop , truncate and alter queries was asked. then other questions in the topic were what is a super key, Write query for finding top second row with max value ( since the query with desc will be ineffcient I was asked to write my own program for getting those top second value from the table) and the there may be more than 1 second highest value so Limit query should not be used.
9.In c , the questions started of with difference between Structure, union advantage and disadvantage
10. In depth C knowledge was assessd based on the question like, size of pointer, why sizeof (int) is assigned to pointer if pointer has a predetermined size? why size is compiler dependent (for eg for integer there will be different memory sizes in 32 bit and 64 bit machines) why is that so? address representation
11. Given a string find all substring palindromes abcaba (eg: abcba, abba are some substring palindromes) and a point to be noted is that it should be done in O(n)
12. Questions regarding visual studio IDE like what is the environment for the IDE. This question was asked because I had a project in my resume that I had done using visual studio IDE.
13. Difference between R and python( I have mentioned them in my resume)
Comments
Post a Comment