
Mphasis


Mphasis Associate Software Developer Interview Questions and Answers
Q1. Do you have good knowledge of programmings?
Yes, I have good knowledge of programming.
Proficient in multiple programming languages such as Java, Python, and C++
Experience in developing web applications using frameworks like React and Angular
Familiarity with database management systems like MySQL and MongoDB
Q2. What is diff b/w compiler and interpreter
Compiler translates entire code into machine code before execution, while interpreter translates code line by line during execution.
Compiler converts entire code into machine code before execution
Interpreter translates code line by line during execution
Compiler generates intermediate object code or executable file
Interpreter does not generate intermediate object code
Examples: C, C++ compilers vs Python, Ruby interpreters
Q3. What is oops and it's four pillars?
Object-oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability for objects to be treated as instances of their parent class.
Abstraction: Hiding the complex implementation details and showing only the necessary features of an obje...read more
Q4. What are 4 pillars of oops
The 4 pillars of OOP are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation restricts access to certain components within a class, protecting the data.
Abstraction hides the complex implementation details and only shows the necessary features.
Polymorphism allows objects to be treated as instances of their parent class.
Q5. What is copy constructor?
Copy constructor is a special type of constructor which creates a new object as a copy of an existing object.
Copy constructor is used to initialize a new object as a copy of an existing object.
It takes an object of the same class as a parameter.
It is called when a new object is created from an existing object.
Example: class MyClass { public: MyClass(const MyClass& obj) { // copy constructor logic } };
Q6. What is shortest path algo
Shortest path algo is a method to find the most efficient route between two points in a graph or network.
Shortest path algorithms are used in various applications such as GPS navigation systems, network routing, and logistics planning.
Examples of shortest path algorithms include Dijkstra's algorithm, Bellman-Ford algorithm, and Floyd-Warshall algorithm.
These algorithms calculate the shortest path based on different criteria such as distance, time, or cost.
The goal is to find ...read more
Top HR Questions asked in Mphasis Associate Software Developer
Interview Process at Mphasis Associate Software Developer

Top Associate Software Developer Interview Questions from Similar Companies



Reviews
Interviews
Salaries
Users/Month

