i
Mphasis
Filter interviews by
Monolithic architecture is a single-tiered software application where all components are tightly coupled, while microservices architecture is a distributed approach where the application is broken down into smaller, loosely coupled services.
Monolithic architecture has a single codebase and database, while microservices have multiple smaller services with their own codebase and database.
Monolithic applications are ...
Java 8 was needed to introduce new features like lambda expressions, streams, and default methods.
Introduction of lambda expressions for functional programming
Streams API for processing collections in a functional style
Default methods in interfaces for backward compatibility
Improved performance with the introduction of the Nashorn JavaScript engine
Date and Time API for better handling of date and time operations
Static methods in interfaces are methods that can be called without creating an instance of the interface implementation.
Static methods in interfaces were introduced in Java 8.
They are used for providing utility methods that are related to the interface but do not require an instance of the implementing class.
Static methods in interfaces cannot be overridden by implementing classes.
Example: interface MyInterface {...
Bridge Pattern decouples abstraction from implementation, while Adapter Pattern adapts an interface to another.
Bridge Pattern separates abstraction and implementation using composition, while Adapter Pattern adapts an interface to another without changing its original structure.
Bridge Pattern allows for changes in both abstraction and implementation independently, while Adapter Pattern allows incompatible interfac...
What people are saying about Mphasis
Spring is a framework for building Java applications, while Spring Boot is an extension that simplifies the setup and configuration.
Spring is a comprehensive framework for building Java applications, providing features like dependency injection, aspect-oriented programming, and more.
Spring Boot is an extension of the Spring framework that aims to simplify the setup and configuration of Spring applications.
Spring B...
There are multiple ways to create a singleton pattern in Java, including using static initialization, lazy initialization, and enum.
Using static initialization: Create a private static instance of the class and a public static method to return that instance.
Lazy initialization: Create a private static instance of the class and a public static method to check if the instance is null before creating it.
Using enum: C...
Difference between @RestController and @Controller in Spring Boot
1. @Controller is used to create web MVC controllers while @RestController is used to create RESTful web services.
2. @Controller returns the view to be rendered while @RestController returns the object and data is written directly to the HTTP response as JSON or XML.
3. @RestController is a specialized version of @Controller that includes @Controller ...
I appeared for an interview in Aug 2021.
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.
Static methods in interfaces are methods that can be called without creating an instance of the interface implementation.
Static methods in interfaces were introduced in Java 8.
They are used for providing utility methods that are related to the interface but do not require an instance of the implementing class.
Static methods in interfaces cannot be overridden by implementing classes.
Example: interface MyInterface { stat...
Java 8 was needed to introduce new features like lambda expressions, streams, and default methods.
Introduction of lambda expressions for functional programming
Streams API for processing collections in a functional style
Default methods in interfaces for backward compatibility
Improved performance with the introduction of the Nashorn JavaScript engine
Date and Time API for better handling of date and time operations
There are multiple ways to create a singleton pattern in Java, including using static initialization, lazy initialization, and enum.
Using static initialization: Create a private static instance of the class and a public static method to return that instance.
Lazy initialization: Create a private static instance of the class and a public static method to check if the instance is null before creating it.
Using enum: Create...
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.
Bridge Pattern decouples abstraction from implementation, while Adapter Pattern adapts an interface to another.
Bridge Pattern separates abstraction and implementation using composition, while Adapter Pattern adapts an interface to another without changing its original structure.
Bridge Pattern allows for changes in both abstraction and implementation independently, while Adapter Pattern allows incompatible interfaces to...
Difference between @RestController and @Controller in Spring Boot
1. @Controller is used to create web MVC controllers while @RestController is used to create RESTful web services.
2. @Controller returns the view to be rendered while @RestController returns the object and data is written directly to the HTTP response as JSON or XML.
3. @RestController is a specialized version of @Controller that includes @Controller and @...
Spring is a framework for building Java applications, while Spring Boot is an extension that simplifies the setup and configuration.
Spring is a comprehensive framework for building Java applications, providing features like dependency injection, aspect-oriented programming, and more.
Spring Boot is an extension of the Spring framework that aims to simplify the setup and configuration of Spring applications.
Spring Boot i...
Monolithic architecture is a single-tiered software application where all components are tightly coupled, while microservices architecture is a distributed approach where the application is broken down into smaller, loosely coupled services.
Monolithic architecture has a single codebase and database, while microservices have multiple smaller services with their own codebase and database.
Monolithic applications are harde...
Round duration - 30 minutes
Round difficulty - Easy
This was a typical HR round with some standard Behavioral questions
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.
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.
I applied via Recruitment Consulltant and was interviewed before Apr 2021. There were 3 interview rounds.
Standard Aptitude questions
Based on strings and array
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
A Fibonacci program generates a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.
The Fibonacci sequence starts with 0 and 1.
Each subsequent number is the sum of the previous two: 0, 1, 1, 2, 3, 5, 8, 13, ...
Common implementations include recursive, iterative, and using dynamic programming.
Example of an iterative approach in Python: ```python def fibonacci(n): a, b = 0, 1 ...
posted on 7 May 2022
I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.
Basic aptitude knowledge
Strong in java
What people are saying about Mphasis
posted on 15 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
It happens in very friendly manner.
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...
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.
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...
Round duration - 90 minutes
Round difficulty - Medium
No problem occur very friendly environment.
Round duration - 90 minutes
Round difficulty - Hard
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...
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.
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 seekersTip 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.
posted on 16 Dec 2015
posted on 11 Feb 2016
I applied via Referral
Data structures are a way to organize and store data efficiently.
Data structures are used to store and manipulate data in a structured manner.
They provide different ways to access and perform operations on the data.
Examples include arrays, linked lists, stacks, queues, trees, and graphs.
Developed a web-based project management tool for tracking tasks and deadlines
Used React.js for front-end development
Implemented RESTful APIs using Node.js and Express for back-end
Utilized MongoDB for database management
Incorporated user authentication and authorization features
Integrated real-time notifications using Socket.io
My name is John Smith.
Full name is John Smith
Common name in English-speaking countries
Easy to remember and pronounce
The question is unrelated to the medical field and is not a puzzle or riddle.
The question is asking about the meaning of the interviewer's name.
You can ask the interviewer about the origin or cultural significance of their name.
You can also mention that names often have different meanings in different languages or cultures.
My strengths include problem-solving skills, attention to detail, and strong communication abilities.
Strong problem-solving skills - I enjoy tackling complex issues and finding creative solutions.
Attention to detail - I am meticulous in my work and strive for accuracy in all tasks.
Strong communication abilities - I can effectively convey ideas and collaborate with team members.
Software Engineer
6.7k
salaries
| ₹2 L/yr - ₹11.1 L/yr |
Senior Software Engineer
5.9k
salaries
| ₹6 L/yr - ₹25 L/yr |
Associate Software Engineer
4.9k
salaries
| ₹2 L/yr - ₹5.6 L/yr |
Module Lead
2.5k
salaries
| ₹9.5 L/yr - ₹37 L/yr |
Transaction Processing Officer
2.3k
salaries
| ₹1 L/yr - ₹4.5 L/yr |
Cognizant
Wipro
Accenture
TCS