Siemens on-campus Interview question for Internship:
- Position: CPP Developer
- Internship Duration: 12 months
- Stipend: 40,000 INR per month
- Pre-Placement Offer (PPO): 14 LPA
Interview Process - Number of Interview Rounds
Round 1: CBT Test of Aptitude and 1 coding question Time limit (90 minutes)
Round 2: Online Technical interview for 1hrs 15 min
Round 3: Online Technical interview for 1hrs 15 min
Note: There are no HR interviews (they came to hire a CPP developer)
Round 1 (Aptitude test)
It has questions based on time and work, ratio and proportion, percentage, probability distribution, statistic, algorithm, pointer, prefix, and suffix. and 1 coding question of 50 marks ( medium level)
Round 2 (Technical Interview)
Technical Questions
- Intro
- What are OOPs, Four pillars of OOPS, types of polymorphism, and how to implement them in code?
- What is virtual function, what is inheritance, types of inheritance, implement in code
- Difference between Encapsulation and Abstraction
- What is an Abstract class?
- Move all zeros to the end ( https://www.geeksforgeeks.org/batch/gfg-160-problems/track/arrays-gfg-160/problem/move-all-zeroes-to-end-of-array0751 )
- What is a linked list?
- How to insert and delete elements in a linked list at any position, what is its edge case, and what is time complexity? https://www.geeksforgeeks.org/problems/delete-a-node-in-single-linked-list/1?page=1&category=Linked%20List&difficulty=Basic,Easy&sortBy=submissions
- When given the address of any node in the linked list how to delete that node, head node is not given? Try to solve in O(1) time complexity https://www.geeksforgeeks.org/problems/delete-without-head-pointer/1?page=1&category=Linked%20List&difficulty=Basic,Easy&sortBy=submissions
Puzzles
- Given two ropes each burnt in 1 hour. Ropes are non-uniformly distributed ( somewhere it burnt slow and somewhere burnt fast). How can you calculate 15mins using these two rope
- Given 12 points in a plane, how many triangle you can draw, why 12c3 why not 12p3?
- If 5 points are collinear then how many triangle can be drawn?
Round 2 (Technical Interview)
Technical Question
- Intro
- Which programming language you preferred?
- What is cpp?
- What is OOPs?
- Implement inheritance in your code
- Implement compile time polymorphism in your code
- What is linked list
- Why and where we linked list
- Construct linked list
- Debug your code
- What is static memory allocation and what is dynamic memory allocation
Puzzles
- Given a water tank which is full of water from which you can use as much water as you want and a 5L and 3L measuring container given to you. How can you measure 4L water using these two container
(https://www.geeksforgeeks.org/aptitude/puzzle-measure-4-litre-with-3-and-5-litre-bottle/)
Final Outcome
I got selected as a CPP Developer at Siemens.