Upload Button Icon Add office photos

Filter interviews by

Mphasis SDE-2 Interview Questions, Process, and Tips

Updated 17 Dec 2021

Mphasis SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image CodingNinjas

posted on 17 Dec 2021

I was interviewed in Aug 2021.

Round 1 - Video Call 

(4 Questions)

Round duration - 45 minutes
Round difficulty - Medium

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

  • Q1. Java Question

    What are static methods in Interfaces?

  • Ans. 

    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.

  • Answered by CodingNinjas
  • Q2. Java Question

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

  • Ans. 

    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.

  • Answered by CodingNinjas
  • Q3. Java Question

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

  • Ans. 

    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.

  • Answered by CodingNinjas
  • Q4. Java Question

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

  • Ans. 

    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.

  • Answered by CodingNinjas
Round 2 - Video Call 

(4 Questions)

Round duration - 60 minutes
Round difficulty - Medium

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

  • Q1. Java Question

    Difference between Bridge Pattern and Adapter Button

  • Ans. 

    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.

  • Answered by CodingNinjas
  • Q2. SpringBoot Question

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

  • Ans. 

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

  • Answered by CodingNinjas
  • Q3. Technical Question

    Difference between Spring and Spring Boot

  • Ans. 

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

  • Answered by CodingNinjas
  • Q4. Technical Question

    Difference between Monolithic and Microservices Architecture

  • Ans. 

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

  • Answered by CodingNinjas
Round 3 - HR 

(1 Question)

Round duration - 30 minutes
Round difficulty - Easy

This was a typical HR round with some standard Behavioral questions

  • Q1. Basic HR Question

    Why should we hire you ?

  • Ans. 

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

  • Answered by CodingNinjas

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAMphasis interview preparation:Topics to prepare for the interview - Java, Spring Boot Framework, Data Structures, Algorithms, System Design, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

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 resume tips for other job seekers

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.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview questions from similar companies

Sdet Manager Interview Questions & Answers

LTIMindtree user image Sankeerthana Vanjari

posted on 21 Nov 2024

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Oct 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

Cognitive,quatitative,logical

Round 2 - Technical 

(2 Questions)

  • Q1. Tell me about yor self
  • Q2. About your project
Round 3 - Technical 

(2 Questions)

  • Q1. Based on the python
  • Q2. Html which is used for web page
  • Ans. 

    HTML is a markup language used for creating web pages.

    • HTML stands for HyperText Markup Language

    • It is used to structure content on the web

    • HTML tags are used to define elements like headings, paragraphs, images, links, etc.

    • Example:

      This is a heading

  • Answered by AI
Round 4 - HR 

(2 Questions)

  • Q1. Behaviroul questions
  • Q2. Communication skills

Skills evaluated in this interview

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

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Group Discussion 

Braindraning is good or bad in india

Round 2 - Aptitude Test 

Percentage si profit interest hcf lcm

Interview Preparation Tips

Interview preparation tips for other job seekers - Aptitude well
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Selenium framework, exceptions, how to right click double click,
  • Q2. Rest assured, serialization , how to send POST request
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Recruitment Consulltant and was interviewed in Jun 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. 2 sum problem in different approach
  • Q2. Maximum sub array sum
  • Ans. 

    Find the maximum sum of a contiguous subarray within an array of integers.

    • Use Kadane's algorithm to find the maximum subarray sum efficiently.

    • Initialize two variables - maxEndingHere and maxSoFar.

    • Iterate through the array and update the variables accordingly.

    • Example: Input [1, -2, 3, 4, -1, 2, 1, -5, 4], Output: 10 (subarray [3, 4, -1, 2, 1])

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Design LLD for factory pattern
  • Ans. 

    Factory pattern is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.

    • Create an interface or abstract class to define the factory method

    • Create concrete classes that implement the interface or extend the abstract class

    • Factory class should have a method that returns an object of the interface type based on in

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Java code to print the duplicate numbers in an array without using Set or Map

Sde1 Interview Questions & Answers

Cyient user image Anonymous

posted on 7 Jan 2025

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - HR 

(1 Question)

  • Q1. What is your expected salary?

Interview Preparation Tips

Interview preparation tips for other job seekers - Inform her of a smaller amount.
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Dec 2023. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Array sorting for a given input.
  • Ans. 

    Array sorting for a given input involves arranging elements in a specific order.

    • Use built-in sorting functions like sort() in programming languages such as Java, Python, or JavaScript.

    • Consider the sorting algorithm complexity for large arrays.

    • Ensure the sorting is done based on the specific requirements like alphabetical order or numerical order.

  • Answered by AI
  • Q2. Rotation of array to right by 2 position
  • Ans. 

    Rotate array to right by 2 positions

    • Create a new array with the same length as the original array

    • Copy elements from original array starting from index (length - 2) to the new array

    • Copy elements from original array starting from index 0 to (length - 3) to the new array

    • Return the new array as the rotated array

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Ask about java streams and lambda function?
  • Q2. Questions from scenario based testing

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
-
Result
Not Selected

I applied via Job Portal and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Coding Test 

SQL, Python - basics of SQL and how to populate values in a list using functions

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Recruitment Consulltant and was interviewed in Oct 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

3 hour test aptitue test

Round 2 - Coding Test 

C aptitude questions and problem solving solution.. Coding test 2 hour

Round 3 - Technical 

(1 Question)

  • Q1. Technical interview 1 hr

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well for aptitude test

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.1k Interviews
Infosys Interview Questions
3.7
 • 7.4k Interviews
Wipro Interview Questions
3.7
 • 5.5k Interviews
Tech Mahindra Interview Questions
3.6
 • 3.7k Interviews
HCLTech Interview Questions
3.5
 • 3.7k Interviews
LTIMindtree Interview Questions
3.9
 • 2.8k Interviews
DXC Technology Interview Questions
3.7
 • 794 Interviews
Nagarro Interview Questions
4.0
 • 753 Interviews
View all
Software Engineer
6.2k salaries
unlock blur

₹2 L/yr - ₹11 L/yr

Senior Software Engineer
5.6k salaries
unlock blur

₹6 L/yr - ₹23 L/yr

Associate Software Engineer
4.5k salaries
unlock blur

₹2 L/yr - ₹6.4 L/yr

Module Lead
2.4k salaries
unlock blur

₹8 L/yr - ₹33 L/yr

Transaction Processing Officer
2.2k salaries
unlock blur

₹1.4 L/yr - ₹4.2 L/yr

Explore more salaries
Compare Mphasis with

Cognizant

3.8
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare

TCS

3.7
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview