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

SDE - 2

Mphasis pvt limited
upvote
share-icon
3 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Java, Spring Boot Framework, Data Structures, Algorithms, System Design, OOPS
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: Referral
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
Duration45 minutes
Interview date4 Aug 2021
Coding problem4

Technical Interview round that lasted for about 45 minutes. Questions were based on Java, Java design Patterns and OOPS Concepts.

1. Java Question

What are static methods in Interfaces?

Problem approach

Static methods are useful for designing utility methods since they contain method implementation that is owned by the interface and invoked using the interface name. They cannot be overridden.

2. Java Question

Why was a new version of Java (Java 8) needed in the first place? (

Problem approach

There are two primary reasons for this:
1. Due to significant developments in hardware, Java now needs to make better use of multi-core CPUs.
2. Make new Functional Programming (FP) features available to users.

3. Java Question

What is a default method, and when does it get used?

Problem approach

The default method is found in the interface and involves an implementation. The technique extends an interface's functionality while maintaining backward compatibility with existing classes that implement the interface.

4. Java Question

Describe in how many ways can you create a singleton pattern?

Problem approach

There are two ways of creating a Singleton pattern.
1. Early Instantiation : It is responsible for the creation of instance at load time.
2. Lazy Instantiation : It is responsible for the creation of instance when required.

02
Round
Medium
Video Call
Duration60 minutes
Interview date4 Aug 2021
Coding problem4

Technical Interview round that lasted for about 45 minutes. Questions were based on Spring boot and Microservices Concepts.

1. Java Question

Difference between Bridge Pattern and Adapter Button

Problem approach

The motive of the Adapter pattern is to make interfaces of one or more classes to look similar. The Bridge pattern is designed to isolate a class's interface from its implementation so we can vary or substitute the implementation without changing the client code.

2. SpringBoot Question

What is the difference between @RestController and @Controller in Spring Boot?

Problem approach

@Controller Map of the model object to view or template and make it human readable but @RestController simply returns the object and object data is directly written in HTTP response as JSON or XML.

3. Technical Question

Difference between Spring and Spring Boot

Problem approach

1. Spring framework is a java EE framework that is used to build applications. Spring Boot framework is mainly used to develop REST API’s
2. The primary feature of the Spring framework is dependency injection. The main feature of the Spring Boot is Autoconfiguration. 
3. The goal pf Spring is to make Java EE (Enterprise Edition) development easier, allowing developers to be more productive. Spring Boot provides the RAD(Rapid Application Development) feature to the Spring framework for faster application development.
4. Spring framework helps to create a loosely coupled application. Spring Boot helps to create a stand-alone application.
5. In the Spring framework to test the Spring Project, we need to set up the servers explicitly.Spring Boot offers built-in or embedded servers such as Tomcat and jetty.

4. Technical Question

Difference between Monolithic and Microservices Architecture

Problem approach

Monolithic Architecture: It is "like a big container" where all the software components of an application are bundled together tightly. It is usually built as one large system and is one code-base. 
Microservice Architecture: It involves structuring an application in the form of a cluster of small, autonomous services modeled around a business domain. The functional modules can be deployed independently, are scalable, are aimed at achieving specific business goals, and communicate with each other over standard protocols.

03
Round
Easy
HR Round
Duration30 minutes
Interview date6 Aug 2021
Coding problem1

This was a typical HR round with some standard Behavioral questions

1. Basic HR Question

Why should we hire you ?

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.
Tip 4 : Since everybody in the interview panel is from tech background, here too you can expect some technical questions. No coding in most of the cases but some discussions over the design can surely happen.

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
Software Engineer
2 rounds | 2 problems
Interviewed by Mphasis pvt limited
1715 views
0 comments
0 upvotes
SDE - 1
4 rounds | 5 problems
Interviewed by Mphasis pvt limited
1228 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29739 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9654 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6728 views
1 comments
0 upvotes