i
Mphasis
Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Procedures and functions are stored routines in a database that can be called to perform specific tasks.
Procedures are a set of SQL statements that perform a specific task. They can have input and output parameters.
Functions are similar to procedures but return a value. They can be used in SQL queries like any other function.
Both procedures and functions can improve code reusability and maintainability in a database sy
A trigger is a special kind of stored procedure that is automatically executed when certain events occur in a database.
Triggers are used to maintain data integrity by enforcing business rules or cascading changes.
They can be set to execute before or after INSERT, UPDATE, or DELETE operations.
Examples include auditing changes to a table, updating related records in other tables, or enforcing constraints.
A database is a structured collection of data that is stored and accessed electronically.
Database organizes and stores data in tables
It allows for efficient retrieval, insertion, and updating of data
Examples include MySQL, Oracle, MongoDB
Primary key is a unique identifier for each record in a database table.
Primary key ensures each record in a table is uniquely identified.
It must have a unique value for each record.
Primary key can be a single column or a combination of columns.
Examples: ID column in a user table, combination of first name and last name in an employee table.
I applied via LinkedIn and was interviewed before Jan 2024. There was 1 interview round.
Abstraction is hiding the implementation details while interface is a contract that defines the methods that a class must implement.
Abstraction focuses on hiding the internal implementation details of a class, allowing the user to only see the necessary information.
Interfaces define a set of methods that a class must implement, without specifying how those methods are implemented.
Abstraction can be achieved through abs...
Ref vs Out parameters in C#
Ref parameters must be initialized before passing to a method, while Out parameters do not need to be initialized.
Ref parameters can be read and modified within the method, while Out parameters are typically used for output values only.
Example: void ModifyValue(ref int num) { num = 10; } vs void GetOutput(out int result) { result = 20; }
Middleware in .NET Core is a component that can handle requests and responses in the application pipeline.
Middleware is a piece of software that can intercept and process HTTP requests and responses in the application pipeline.
Middleware can be used for logging, authentication, authorization, error handling, and more.
Middleware is added to the application pipeline using the app.UseMiddleware() method in the Configure m...
Authentication in web API is crucial for securing access to resources and ensuring data privacy.
Use token-based authentication like JWT for secure communication between client and server
Implement OAuth2 for authorization and access control
Use HTTPS to encrypt data transmission and prevent man-in-the-middle attacks
I applied via Recruitment Consulltant and was interviewed before Jun 2023. There were 2 interview rounds.
String is immutable in order to ensure data integrity and security.
Immutable strings prevent accidental changes to data, ensuring consistency in programs.
Immutable strings allow for more efficient memory management and optimization.
Example: In Java, once a string object is created, its value cannot be changed.
Extrusion is a process used to create objects of a fixed cross-sectional profile.
Extrusion is a manufacturing process where a material is pushed through a die to create a specific shape.
Common materials used in extrusion include metals, plastics, and food products.
Examples of extruded products include pipes, rods, and window frames.
What people are saying about Mphasis
Sort array of strings based on custom logic
Define the custom logic for sorting
Implement a sorting algorithm such as bubble sort or quicksort
Apply the custom logic during the sorting process
Check if a string is a palindrome or not.
Reverse the string and compare it with the original string.
Use two pointers, one at the beginning and one at the end, and compare the characters.
Ignore non-alphanumeric characters and convert to lowercase before checking.
Mphasis interview questions for designations
I applied via Naukri.com and was interviewed in Jun 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Aug 2020. There were 4 interview rounds.
A program to replace a character with another character in Java.
Create a string variable with the original text
Use the replace() method to replace the character with another character
Print the new string with the replaced character
I applied via Naukri.com and was interviewed before Jul 2018. There were 2 interview rounds.
I applied via Campus Placement and was interviewed in Nov 2020. There were 3 interview rounds.
Program to print unique elements in an array in Java
Create a HashSet to store unique elements
Iterate through the array and add each element to the HashSet
Print the HashSet to get the unique elements
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Arrays - a collection of elements of the same type
Linked Lists - a sequence of nodes where each node contains a reference to the next node
Stacks - a collection of elements with two main operations: push (add) and pop (remove)
Queues - a collection of elements with two main operations: enqueue (add) and d...
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and functions.
It emphasizes on encapsulation, inheritance, and polymorphism.
Examples of OOPs languages are Java, C++, Python, etc.
OOPs is used for creating modular, reusable and maintainable code.
Encapsulation: Hiding implementation details and exposing only necessary information.
Inheritance: Reusing code and creating a hierarchy of classes.
Polymorphism: Using a single interface to represent multiple entities.
Abstraction: Reducing complexity by hiding unnecessary details.
Examples: Java, C++, Python, Ruby, etc.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add its own unique properties and ...
Polymorphism is the ability of an object to take on many forms.
It allows objects of different classes to be treated as if they were objects of the same class.
It is achieved through method overriding and method overloading.
Example: A parent class Animal can have child classes like Dog, Cat, and Bird, each with their own unique implementation of the method 'makeSound'.
Polymorphism makes code more flexible and reusable.
Abstraction is the process of hiding complex implementation details and exposing only the necessary information.
Abstraction helps in reducing complexity and increasing efficiency.
It allows us to focus on the essential features of an object or system.
For example, a car can be abstracted as a vehicle with certain properties like speed, fuel efficiency, and seating capacity.
Abstraction can be achieved through interfaces,
Encapsulation is the process of hiding implementation details and providing a public interface for accessing the functionality.
Encapsulation helps in achieving data abstraction and information hiding
It prevents unauthorized access to the internal details of an object
It allows for easy modification of implementation without affecting the external code
Example: A class with private variables and public methods
Example: A b...
I applied via Naukri.com and was interviewed in Jan 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Mar 2022. There were 3 interview rounds.
The question asks for information about current salary, notice period, and expected salary.
Provide the current salary, notice period, and expected salary.
If you don't have the information, mention that you don't have the data.
Format the response in JSON.
based on 3 interviews
Interview experience
based on 44 reviews
Rating in categories
Software Engineer
6.5k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Software Engineer
5.7k
salaries
| ₹6 L/yr - ₹24 L/yr |
Associate Software Engineer
4.7k
salaries
| ₹2 L/yr - ₹6 L/yr |
Module Lead
2.4k
salaries
| ₹9.5 L/yr - ₹36 L/yr |
Transaction Processing Officer
2.3k
salaries
| ₹1.4 L/yr - ₹4.5 L/yr |
Cognizant
Wipro
Accenture
TCS