Mphasis pvt limited interview experience Real time questions & tips from candidates to crack your interview

Module Lead

Mphasis pvt limited
upvote
share-icon
4 rounds | 13 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Java, OOPS, Web Services, Azure, React JS, Algorithms , System Design
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Email Approach
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date5 Jul 2021
Coding problem4

Technical interview round that lasted for about 60 minutes. Questions based on Java and Java Design patterns were asked.

1. Java Question

How can you create a Singleton class in Java?

Problem approach

It is two step process,
1. Make the constructor private so that new operator cannot be used to instantiate the class
2. Return an object of the object if not null otherwise create the object and return the same via a method.

2. Technical Question

When can a Factory Pattern be used ?

Problem approach

1. When a class does not know the class of objects it needs to create, the factory pattern can be utilized.
2. When a class identifies its sub-classes in order to determine which objects should be created, the factory pattern can be utilized. 
3. You can use the factory pattern in programming to construct an object of any of the sub-classes based on the data provided.

3. OOPS Question

What is static and Dynamic Binding?

Problem approach

Static or early binding is resolved at compile time. Method overloading is an example of static binding.
Dynamic or late or virtual binding is resolved at run time. Method overriding is an example of dynamic binding.

4. Java Question

Difference between Abstract class and Interface

Problem approach

The differences between Abstract Class and Interface are as follows:

Abstract Class:
1) Abstract classes have a default constructor and it is called whenever the concrete subclass is instantiated.
2) It contains Abstract methods as well as Non-Abstract methods.
3) The class which extends the Abstract class shouldn’t require the implementation of all the methods, only Abstract methods need to be implemented in the concrete sub-class.
4) Abstract class contains instance variables.

Interface:
1 )It doesn’t have any constructor and couldn’t be instantiated.
2) The abstract method alone should be declared.
3) Classes that implement the interface should provide the implementation for all the methods.
4) The interface contains only constants.

02
Round
Medium
Video Call
Duration45 minutes
Interview date5 Jul 2021
Coding problem4

Technical interview round that lasted for about 45 minutes. Questions based on SQL, DBMS and Entity Framework were asked.

1. Technical Question

What do you mean by SQL injection attack?

Problem approach

SQL injection is a method that hackers use to access sensitive information from an organization's database. This application-layer attack is the result of inappropriate coding in our applications, allowing hackers to inject SQL statements into your SQL code. 
The most common cause of SQL Injection is that user input fields allow SQL statements to pass through and directly query the database. ADO.NET Data Services queries are commonly affected by SQL Injection issues.

2. DBMS Question

What is a weak entity set?

Problem approach

An entity set that doesn't have sufficient attributes to form a primary key is referred to as a weak entity set. The member of a weak entity set is known as a subordinate entity. Weak entity set does not have a primary key, but we need a mean to differentiate among all those entries in the entity set that depend on one particular strong entity set.

3. SQL Question

SQL Query to fetch first 5 characters of a string

Problem approach

Select SUBSTRING(Name,1,5) as name
from PERSON

4. DBMS Question

Difference between Clustered and Non-Clustered Index

Problem approach

Clustered index is used for easy retrieval of data from the database by altering the way that the records are stored. Database sorts out rows by the column which is set to be clustered index.

A non-clustered index does not alter the way it was stored but creates a complete separate object within the table. It point back to the original table rows after searching.

03
Round
Easy
Video Call
Duration40 minutes
Interview date5 Jul 2021
Coding problem4

Technical interview round that lasted for about 45 minutes. Questions based on React js and Web APIs were asked.

1. React Question

What are synthetic events in React?

Problem approach

Synthetic events integrate the responses of many native browser events into a single API, ensuring that the events are consistent across browsers. Regardless matter which browser is used to run the program, it remains consistent. preventDefault is a made-up event in this case.

2. React Question

Explain the lifecycle methods of components.

Problem approach

1. getInitialState(): This is executed before the creation of the component.
2. componentDidMount(): Is executed when the component gets rendered and placed on the DOM.
3. shouldComponentUpdate(): Is invoked when a component determines changes to the DOM and returns a “true” or “false” value based on certain conditions.
4. componentDidUpdate(): Is invoked immediately after rendering takes place.
5. componentWillUnmount(): Is invoked immediately before a component is destroyed and unmounted permanently.

3. Technical Question

What are the main return types supported in Web API?

Problem approach

There is no defined data type for it. Depending on the business requirement, it can return data of any type. Many HTTP methods, such as GET, POST, and PUT, can return data in a variety of forms, depending on the use case.

4. Technical Question

What is different between REST API and RESTful API?

Problem approach

1.REST is an architectural pattern used for creating web services. RESTful API is used to implement that pattern.
2. The data format of REST is based on HTTP. The data format of RESTful is based on JSON, HTTP, and Text.
3. Working of URL is based on request and response. Working of RESTful is based on REST applications.
4. REST is more user-friendly and highly adaptable to all business enterprises and IT. RESTful API is too flexible.

04
Round
Easy
HR Round
Duration30 minutes
Interview date7 Jul 2021
Coding problem1

Typical HR round where behavioral questions were asked.

1. Basic HR Question

Why do you want to join Mphasis?

Problem approach

Tip 1 : The cross questioning can go intense some time, think before you speak.
Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the work environment etc.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
Software Engineer
2 rounds | 4 problems
Interviewed by Mphasis pvt limited
2488 views
0 comments
0 upvotes
Senior Software Engineer
1 rounds | 2 problems
Interviewed by Mphasis pvt limited
2001 views
0 comments
0 upvotes
Module Lead
3 rounds | 3 problems
Interviewed by Mphasis pvt limited
1249 views
0 comments
0 upvotes
SDE - 1
4 rounds | 5 problems
Interviewed by Mphasis pvt limited
1228 views
0 comments
0 upvotes