Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Mphasis Team. If you also belong to the team, you can get access from here

Mphasis Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Mphasis Senior Software Developer Interview Questions and Answers

Updated 25 Jun 2025

11 Interview questions

A Senior Software Developer was asked 5mo ago
Q. What is the difference between abstraction and interface?
Ans. 

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 throug...

A Senior Software Developer was asked 5mo ago
Q. How does authentication work in Web API?
Ans. 

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

Senior Software Developer Interview Questions Asked at Other Companies

asked in Freshworks
Q1. Intersection of Linked List Problem You are provided with two sin ... read more
asked in Freshworks
Q2. Overlapping Intervals Problem Statement You are given the start a ... read more
asked in Freshworks
Q3. Middle of Linked List Problem Statement Given the head node of a ... read more
asked in SAP
Q4. Sum of Maximum and Minimum Elements Problem Statement Given an ar ... read more
asked in Freshworks
Q5. Cube Sum Pairs Problem Statement Given a positive integer N, find ... read more
A Senior Software Developer was asked 12mo ago
Q. Why is string immutable?
Ans. 

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.

A Senior Software Developer was asked
Q. What is a database?
Ans. 

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

A Senior Software Developer was asked
Q. What is a trigger?
Ans. 

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 Senior Software Developer was asked
Q. What is a primary key?
Ans. 

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.

A Senior Software Developer was asked
Q. Determine whether a given string is a palindrome.
Ans. 

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.

Are these interview questions helpful?
A Senior Software Developer was asked
Q. How would you sort values in a list based on a specific logic?
Ans. 

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

A Senior Software Developer was asked
Q. If database,what is procedure & function
Ans. 

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 databa...

A Senior Software Developer was asked 5mo ago
Q. Middleware in .net core
Ans. 

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 Config...

Mphasis Senior Software Developer Interview Experiences

5 interviews found

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Interview questions based on your technology
  • Q2. If database,what is procedure & function
  • Ans. 

    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...

  • Answered by AI
  • Q3. What is trigger
  • Ans. 

    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.

  • Answered by AI
  • Q4. What'sis database
  • Ans. 

    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

  • Answered by AI
  • Q5. What is primary key?
  • Ans. 

    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.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare and attend

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed before Jan 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Difference between abstraction and interface.
  • Ans. 

    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...

  • Answered by AI
  • Q2. Ref vs Out
  • Ans. 

    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; }

  • Answered by AI
  • Q3. Middleware in .net core
  • Ans. 

    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...

  • Answered by AI
  • Q4. Auth in webapi
  • Ans. 

    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

  • Answered by AI
  • Q5. Error handling
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview before Jun 2024, where I was asked the following questions.

  • Q1. What are the inner workings of the Java Virtual Machine (JVM)?
  • Ans. 

    The JVM executes Java bytecode, providing platform independence and memory management through garbage collection.

    • The JVM converts Java bytecode into machine code using a Just-In-Time (JIT) compiler.

    • It manages memory through an automatic garbage collection process, reclaiming memory from objects no longer in use.

    • The JVM provides a runtime environment that includes a class loader for loading classes and a security manage...

  • Answered by AI
  • Q2. What are the reasons for using Spring and Spring Boot frameworks?
  • Ans. 

    Spring and Spring Boot simplify Java development with features like dependency injection, microservices support, and rapid application setup.

    • Dependency Injection: Promotes loose coupling and easier testing. Example: Using @Autowired to inject services.

    • Microservices Support: Spring Boot makes it easy to create stand-alone, production-grade Spring applications. Example: Building RESTful APIs.

    • Convention over Configuration...

  • Answered by AI
  • Q3. What are the different annotations used in Spring Security?
  • Ans. 

    Spring Security uses various annotations to manage security configurations and access control in applications.

    • @EnableWebSecurity: Enables Spring Security’s web security support and provides the Spring MVC integration.

    • @PreAuthorize: Used to specify method-level security, allowing access based on roles or expressions. Example: @PreAuthorize("hasRole('ADMIN')")

    • @PostAuthorize: Similar to @PreAuthorize but checks access aft...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare yourself for the job market; college offers little compared to what the market demands.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed before Jun 2023. There were 2 interview rounds.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Why string is immutable?
  • Ans. 

    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.

  • Answered by AI
  • Q2. What is extrenization
  • Ans. 

    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.

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Why you left last company
  • Q2. General questions

Interview Preparation Tips

Interview preparation tips for other job seekers - It was a good experience

Interview Questionnaire 

2 Questions

  • Q1. Sort values in list based on some logic
  • Ans. 

    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

  • Answered by AI
  • Q2. Find if a string is a pallandrome or not
  • Ans. 

    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.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - stick to the basics and you will be good

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Mphasis?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Jun 2021.

Round 1 - Coding Test 

Had DSA and aptitude questions

Round 2 - Technical 

(1 Question)

  • Q1. DSA a questions, Database Questions
Round 3 - HR 

(1 Question)

  • Q1. 5 min question and answers about company

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA and database management

I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Java 8, J2EE, Spring, SQL

Interview Preparation Tips

Interview preparation tips for other job seekers - There were four rounds. Technical written, two technical f2f rounds, coding test.

All the best
Are these interview questions helpful?

I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Basic aptitude knowledge

Round 2 - Coding Test 

Strong in java

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confidence and focus on your goal

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Easy

It happens in very friendly manner.

  • Q1. 

    Paths in a Matrix Problem Statement

    Given an 'M x N' matrix, print all the possible paths from the top-left corner to the bottom-right corner. You can only move either right (from (i,j) to (i,j+1)) or dow...

  • Ans. 

    Print all possible paths from top-left to bottom-right in a matrix by moving only right or down.

    • Use backtracking to explore all possible paths from top-left to bottom-right in the matrix.

    • At each cell, recursively explore moving right and down until reaching the bottom-right corner.

    • Keep track of the current path and add it to the result when reaching the destination.

  • Answered by AI
  • Q2. Can you create 2 tables in SQL and perform different operations on them?
  • Ans. 

    Yes, I can create 2 tables in SQL and perform operations like INSERT, SELECT, UPDATE, and DELETE.

    • Create Table 1: CREATE TABLE employees (id INT, name VARCHAR(50), salary DECIMAL(10,2));

    • Create Table 2: CREATE TABLE departments (dept_id INT, dept_name VARCHAR(50));

    • Insert Data: INSERT INTO employees VALUES (1, 'John Doe', 50000);

    • Select Data: SELECT * FROM employees WHERE salary > 40000;

    • Update Data: UPDATE employees SET...

  • Answered by AI
Round 2 - Face to Face 

Round duration - 90 minutes
Round difficulty - Medium

No problem occur very friendly environment.

Round 3 - Face to Face 

(1 Question)

Round duration - 90 minutes
Round difficulty - Hard

  • Q1. 

    Rat in a Maze Problem Statement

    You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...

  • Ans. 

    Find all possible paths for a rat in a maze from source to destination.

    • Use backtracking to explore all possible paths in the maze.

    • Keep track of visited cells to avoid revisiting them.

    • Explore all possible directions (up, down, left, right) from each cell.

    • Add the current direction to the path and recursively explore further.

    • If the destination is reached, add the path to the list of valid paths.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteriaAbove 7 CGPAVirtusa interview preparation:Topics to prepare for the interview - Linked List, Binary Search Tree ,Queue, Array ,DP ,Graph ,RecursionTime required to prepare for the interview - 3 MonthsInterview preparation tips for other job seekers

Tip 1 : Competitive programming plays a major role when you are appearing for coding rounds as a fresher. In the coding rounds, you won't get direct problems copied from Geeksforgeeks or Leetcode. You would be required to use your logical thinking to go ahead in the process. This is where competitive programming helps.

Tip 2 : Coding rounds are all about Coding + Timing. Most people fail to excel due to the pressure of a timer ticking on your head. So, instead of just solving problems, try to participate in timed contests. This will help you be used to the pressure of the timer.

Tip 3 : Many big companies like Microsoft, Amazon, and even Google expect you to be good at standard problems. So, once you are done with coding round by your logical skills and competitive programming, you must be well versed with some standard problems in order to excel.

Application resume tips for other job seekers

Tip 1 : Make it short, crisp, and simple. It is always good to have a 1 pager resume. 
Tip 2 : Resume must comprise of the following: Educational Qualifications, Technical skills, Projects, Work experience (if any), Achievements. Other than this, you may include some extra co-curricular achievements.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. All about SQL joins,data warehouse.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared and answer only if you know the concept clearly.

Mphasis Interview FAQs

How many rounds are there in Mphasis Senior Software Developer interview?
Mphasis interview process usually has 1-2 rounds. The most common rounds in the Mphasis interview process are Technical, One-on-one Round and HR.
What are the top questions asked in Mphasis Senior Software Developer interview?

Some of the top questions asked at the Mphasis Senior Software Developer interview -

  1. What are the reasons for using Spring and Spring Boot framewor...read more
  2. What are the inner workings of the Java Virtual Machine (JV...read more
  3. What are the different annotations used in Spring Securi...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 4 interview experiences

Difficulty level

Easy 50%
Moderate 50%

Duration

Less than 2 weeks 75%
2-4 weeks 25%
View more
Mphasis Senior Software Developer Salary
based on 523 salaries
₹7.2 L/yr - ₹18 L/yr
13% less than the average Senior Software Developer Salary in India
View more details

Mphasis Senior Software Developer Reviews and Ratings

based on 48 reviews

3.1/5

Rating in categories

3.1

Skill development

3.6

Work-life balance

2.7

Salary

3.2

Job security

3.1

Company culture

2.1

Promotions

3.1

Work satisfaction

Explore 48 Reviews and Ratings
Software Engineer
6.7k salaries
unlock blur

₹4 L/yr - ₹8.4 L/yr

Senior Software Engineer
6k salaries
unlock blur

₹6.6 L/yr - ₹20 L/yr

Associate Software Engineer
4.9k salaries
unlock blur

₹2 L/yr - ₹5.6 L/yr

Module Lead
2.5k salaries
unlock blur

₹15.8 L/yr - ₹27 L/yr

Transaction Processing Officer
2.3k salaries
unlock blur

₹1.4 L/yr - ₹4.7 L/yr

Explore more salaries
Compare Mphasis with

Cognizant

3.7
Compare

Wipro

3.7
Compare

Accenture

3.7
Compare

TCS

3.6
Compare
write
Share an Interview