i
ABB
Filter interviews by
I applied via campus placement at RV College Of Engineering (RVCE) and was interviewed in Sep 2023. There were 2 interview rounds.
Aptitude and logical questions
Inheritance in OOP allows a class to inherit properties and behaviors from another class.
Inheritance promotes code reusability by allowing a new class to take on the attributes and methods of an existing class.
The class that is being inherited from is called the parent class or superclass, while the class that inherits is called the child class or subclass.
Subclasses can add new methods or override existing methods fro...
A virtual function is a function in a base class that is declared using the keyword 'virtual' and can be overridden by a function in a derived class.
Virtual functions allow a derived class to provide a specific implementation of a function that is already defined in a base class.
They enable polymorphism, where a function call is resolved at runtime based on the actual type of object being referred to.
Virtual functions ...
Arrays store elements in contiguous memory locations, while linked lists store elements in nodes with pointers to the next node.
Arrays have fixed size, while linked lists can dynamically grow or shrink.
Accessing elements in arrays is faster (O(1)), while accessing elements in linked lists is slower (O(n)).
Inserting or deleting elements in arrays can be inefficient as it may require shifting elements, while in linked li...
A stack is a data structure that follows the Last In, First Out (LIFO) principle.
Stack is a collection of elements with two main operations: push (adds an element to the top) and pop (removes the top element).
Common implementations of stack include using arrays or linked lists.
Example: Pushing elements 1, 2, and 3 onto a stack would result in 3 being at the top, followed by 2, and then 1.
String function in structures refers to operations that can be performed on string data within a data structure.
String functions in structures can include operations like concatenation, substring extraction, searching, and comparison.
For example, a structure may have a string member representing a person's name, and string functions can be used to manipulate or extract parts of the name.
These functions can help in orga...
Top trending discussions
based on 1 interview
Interview experience
Project Engineer
573
salaries
| ₹5.4 L/yr - ₹18.3 L/yr |
R&D Engineer
322
salaries
| ₹6.5 L/yr - ₹25 L/yr |
Financial Analyst
247
salaries
| ₹2 L/yr - ₹9.8 L/yr |
Design Engineer
233
salaries
| ₹0.6 L/yr - ₹9.5 L/yr |
Finance Specialist
194
salaries
| ₹2.8 L/yr - ₹7.5 L/yr |
Siemens
Schneider Electric
Emerson Electric Co.
Honeywell International India