Filter interviews by
Practical Question based on case study
posted on 10 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
OOPS concepts in C++ include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on the data into a single unit (class)
Inheritance: creating new classes based on existing classes, allowing for code reuse
Polymorphism: ability for objects of different classes to be treated as objects of a common superclass
Abstraction: hiding complex implementation details and sh
Multi threading is a programming concept where multiple threads run concurrently within a single process.
Multi threading allows for better utilization of CPU resources by running multiple tasks simultaneously.
Threads share the same memory space, which can lead to synchronization issues if not handled properly.
Examples of multi threading implementations include Java's Thread class, C#'s Task Parallel Library, and Python
Diamond problem occurs in multiple inheritance when a class inherits from two classes that have a common base class.
Diamond problem can be resolved using virtual inheritance in C++.
Virtual inheritance ensures that only one instance of the common base class is inherited by the derived class.
Example: class A is inherited by classes B and C, then class D inherits from both B and C. Using virtual inheritance for class A re
Types of inheritance include single, multiple, multilevel, hierarchical, hybrid, and multipath inheritance.
Single inheritance: a class inherits from only one base class.
Multiple inheritance: a class inherits from more than one base class.
Multilevel inheritance: a class inherits from a class which in turn inherits from another class.
Hierarchical inheritance: multiple classes inherit from a single base class.
Hybrid inher...
posted on 6 Sep 2024
Mutable data types can be changed after creation, while non-mutable data types cannot be changed.
Mutable data types in Python include lists and dictionaries.
Non-mutable data types in Python include tuples and strings.
Changing a mutable data type will modify the original object, while changing a non-mutable data type will create a new object.
A decorator is a design pattern that allows behavior to be added to individual objects, either statically or dynamically, without affecting the behavior of other objects.
Decorators are functions that take another function and extend its behavior without explicitly modifying it.
They are commonly used in Python to add functionality to existing functions or classes.
Example: Adding logging to a function using a decorator.
posted on 5 Apr 2024
I was interviewed in Mar 2024.
posted on 1 Oct 2024
I applied via Campus Placement
DP graphs strings it was good
Reverse a linked list by changing the direction of pointers
Start with three pointers: current, previous, and next
Iterate through the list, updating pointers to reverse the direction
Return the new head of the reversed list
The Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
Start with two variables initialized to 0 and 1
Loop through desired number of iterations, adding the previous two numbers to get the next number
Print or store each number in the series
posted on 9 Nov 2024
I applied via Company Website and was interviewed in Feb 2024. There was 1 interview round.
Clean code is well-organized, easy to read, and maintainable code that follows best practices.
Clean code is easy to read and understand by other developers.
It follows consistent naming conventions for variables, functions, and classes.
Clean code is well-organized with proper indentation and spacing.
It avoids unnecessary complexity and duplication.
Clean code is modular and follows the single responsibility principle.
Exa...
To better test your code, use a combination of unit tests, integration tests, regression tests, and automated testing.
Write unit tests to test individual components or functions in isolation.
Perform integration tests to test how different components work together.
Implement regression tests to ensure that new code changes do not break existing functionality.
Utilize automated testing tools to run tests quickly and effici...
It continues for 15 mins
posted on 2 May 2024
I applied via Naukri.com and was interviewed before May 2023. There were 4 interview rounds.
They asked general aptitude questions ones you can easily practice from indiabix
Be prepared with medium level DSA questions. They touched upon topics like trees, DP, hashing etc.
I applied via campus placement at MET Institute of Computer Science, Mumbai and was interviewed in Apr 2023. There were 4 interview rounds.
Logical,quants,coding
Method overriding is a feature in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its parent class.
In method overriding, the method in the subclass has the same name, return type, and parameters as the method in the parent class.
The purpose of method overriding is to provide a specific implementation of a method in the subclass that is different fr...
Exception handling in Java is a mechanism to handle runtime errors and prevent program crashes.
Exceptions are objects that represent errors or unexpected events during program execution.
Java provides try, catch, and finally blocks to handle exceptions.
try block contains the code that may throw an exception, catch block handles the exception, and finally block is executed regardless of an exception.
Example: try { // cod...
based on 1 interview
Interview experience
Senior Executive
85
salaries
| ₹4.1 L/yr - ₹9 L/yr |
Executive Accountant
72
salaries
| ₹3.2 L/yr - ₹6.7 L/yr |
Team Lead
51
salaries
| ₹6.9 L/yr - ₹12 L/yr |
Executive
49
salaries
| ₹3.9 L/yr - ₹6.5 L/yr |
Assistant Manager
47
salaries
| ₹5.4 L/yr - ₹14 L/yr |
Deloitte
PwC
KPMG India
Ernst & Young