Premium Employer

i

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

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Senior Software Engineer Interview Questions and Answers

Updated 27 Jun 2025

64 Interview questions

A Senior Software Engineer was asked 3mo ago
Q. Do you know SQL?
Ans. 

SQL (Structured Query Language) is a standard language for managing and manipulating relational databases.

  • SQL is used to perform tasks such as querying data, updating records, and managing database structures.

  • Common SQL commands include SELECT (to retrieve data), INSERT (to add data), UPDATE (to modify data), and DELETE (to remove data).

  • SQL supports various data types, including INTEGER, VARCHAR, DATE, and BOOLEAN...

A Senior Software Engineer was asked 4mo ago
Q. How many team members are on your team?
Ans. 

The ideal team size varies, but typically ranges from 5 to 9 members for optimal collaboration and productivity.

  • Smaller teams (5-7 members) often communicate more effectively, like a startup environment.

  • Larger teams (8-12 members) can bring diverse skills but may face coordination challenges.

  • Agile methodologies suggest 7 +/- 2 as the ideal team size for Scrum teams.

  • Example: Google often uses small teams to foster ...

Senior Software Engineer Interview Questions Asked at Other Companies

asked in UST
Q1. Nth Prime Number Problem Statement Find the Nth prime number give ... read more
asked in DBS Bank
Q2. Tell me about yourself. What technology are you using? What is a ... read more
Q3. K Largest Elements Problem Statement You are given an integer k a ... read more
asked in GlobalLogic
Q4. MapSum Pair Implementation Create a data structure named 'MapSum' ... read more
Q5. If you have to prioritize between coding standards and project de ... read more
A Senior Software Engineer was asked 4mo ago
Q. What is the difference between the keywords final, finally, and finalize in programming?
Ans. 

final is a keyword used to declare constants, finally is used in exception handling, and finalize is a method used for cleanup.

  • final is used to declare constants in Java, preventing them from being modified

  • finally is used in exception handling to define a block of code that will always be executed

  • finalize is a method in Java that is called by the garbage collector before an object is destroyed

A Senior Software Engineer was asked 4mo ago
Q. Could you explain the dynamic database structure for an unknown number of columns?
Ans. 

Use a key-value pair approach with a flexible schema to accommodate varying columns.

  • Utilize a key-value store like MongoDB or a NoSQL database for flexibility.

  • Store data as key-value pairs where the key represents the column name and the value is the data.

  • Implement a dynamic schema design to allow for adding new columns without altering the database structure.

  • Consider using JSON or XML data formats to store the dy...

A Senior Software Engineer was asked 5mo ago
Q. What is the difference between the 'out' and 'ref' keywords?
Ans. 

Out is used for returning multiple values from a method, while ref is used for passing a variable by reference.

  • Out parameters must be assigned a value inside the method before it returns.

  • Ref parameters must be initialized before passing them to a method.

  • Out parameters are used when a method needs to return multiple values.

  • Ref parameters are used when a method needs to modify the value of the parameter.

  • Example: int...

A Senior Software Engineer was asked 5mo ago
Q. How would you create a global exception handler?
Ans. 

Create a global exception handler to manage all unhandled exceptions in the application.

  • Implement a global exception handler class that extends ExceptionHandler.

  • Override the uncaughtException method to handle all unhandled exceptions.

  • Log the exception details and notify the user about the error.

  • Consider implementing different strategies for handling different types of exceptions.

  • Test the global exception handler t...

A Senior Software Engineer was asked 5mo ago
Q. Write an SQL query to find the second-to-last student's marks.
Ans. 

Use a SQL query with ORDER BY and LIMIT to find the 2nd last student marks.

  • Use ORDER BY clause to sort the marks in descending order

  • Use LIMIT 1,1 to skip the last row and fetch the 2nd last row

Are these interview questions helpful?
A Senior Software Engineer was asked 5mo ago
Q. What is the difference between SELECT SINGLE and SELECT SINGLE UP TO 1 ROW?
Ans. 

Select single retrieves exactly one row, while select single up to 1 row retrieves at most one row.

  • Select single is used when exactly one row is expected to be retrieved.

  • Select single up to 1 row is used when at most one row is expected to be retrieved.

  • Select single throws an error if more than one row is found, while select single up to 1 row does not.

A Senior Software Engineer was asked 6mo ago
Q. Why does Java not allow multiple inheritance?
Ans. 

Java avoids multiple inheritance to prevent complexity and ambiguity, particularly the diamond problem.

  • Multiple inheritance can lead to the 'diamond problem', where a class inherits from two classes that have a common ancestor.

  • For example, if class A has methods that are overridden in classes B and C, and class D inherits from both B and C, it becomes ambiguous which method D should inherit.

  • Java uses interfaces to...

A Senior Software Engineer was asked 7mo ago
Q. Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use ...
Ans. 

Find two numbers in an array that add up to a specific target value.

  • Use a hashmap to store the difference between the target value and each element in the array.

  • Iterate through the array and check if the current element's complement exists in the hashmap.

  • Return the indices of the two numbers that add up to the target value.

Infosys Senior Software Engineer Interview Experiences

82 interviews found

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

I appeared for an interview in Feb 2025.

Round 1 - Technical 

(2 Questions)

  • Q1. Some deep question on stream API of Java8
  • Q2. Two program questions -> Anagram String and find first non repeating character from a string
  • Ans. 

    An anagram is a word formed by rearranging the letters of another, while non-repeating characters are unique in a string.

    • Anagram Check: To determine if two strings are anagrams, sort both strings and compare them. Example: 'listen' and 'silent'.

    • Character Count: Use a hash map to count occurrences of each character in a string to find the first non-repeating character. Example: 'swiss' returns 'w'.

    • Case Sensitivity: Cons...

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Questions on Product development phases
  • Q2. Questions on Agile methodologies

Interview Preparation Tips

Interview preparation tips for other job seekers - Interviewer and interview experience is Good, but very bad experience with HR rounds.
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(4 Questions)

  • Q1. Difference between out and ref.
  • Ans. 

    Out is used for returning multiple values from a method, while ref is used for passing a variable by reference.

    • Out parameters must be assigned a value inside the method before it returns.

    • Ref parameters must be initialized before passing them to a method.

    • Out parameters are used when a method needs to return multiple values.

    • Ref parameters are used when a method needs to modify the value of the parameter.

    • Example: int.TryP...

  • Answered by AI
  • Q2. Sql query to find the 2nd last student marks
  • Ans. 

    Use a SQL query with ORDER BY and LIMIT to find the 2nd last student marks.

    • Use ORDER BY clause to sort the marks in descending order

    • Use LIMIT 1,1 to skip the last row and fetch the 2nd last row

  • Answered by AI
  • Q3. Second round was around project specific like why mongodb or posgreSQL? Project architecture and followup questions.
  • Q4. Create global exception handler.
  • Ans. 

    Create a global exception handler to manage all unhandled exceptions in the application.

    • Implement a global exception handler class that extends ExceptionHandler.

    • Override the uncaughtException method to handle all unhandled exceptions.

    • Log the exception details and notify the user about the error.

    • Consider implementing different strategies for handling different types of exceptions.

    • Test the global exception handler thorou...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(4 Questions)

  • Q1. Explain projects
  • Ans. 

    Projects are specific tasks or assignments that require a team to work together to achieve a common goal.

    • Projects involve a defined scope, timeline, and budget.

    • They require a team of individuals with different skills and expertise.

    • Examples include developing a new software application, implementing a new system, or conducting a research study.

  • Answered by AI
  • Q2. Tech stack u worked on
  • Ans. 

    I have worked on a variety of tech stacks including Java Spring, React, Node.js, and MongoDB.

    • Java Spring

    • React

    • Node.js

    • MongoDB

  • Answered by AI
  • Q3. Collection framework
  • Q4. Spring Framework questions
Round 2 - Behavioral 

(2 Questions)

  • Q1. Springs questions
  • Q2. Working knowledge in Java
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(3 Questions)

  • Q1. Oops concepts and elaboration on Inheritance and polymorphism.
  • Q2. Difference between abstract and interface
  • Ans. 

    Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

    • Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.

    • A class can implement multiple interfaces but can only inherit from one abstract class.

    • Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract f...

  • Answered by AI
  • Q3. MVC architecture and Design patterns
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Difference between select single and select single up to 1 row
  • Ans. 

    Select single retrieves exactly one row, while select single up to 1 row retrieves at most one row.

    • Select single is used when exactly one row is expected to be retrieved.

    • Select single up to 1 row is used when at most one row is expected to be retrieved.

    • Select single throws an error if more than one row is found, while select single up to 1 row does not.

  • Answered by AI
  • Q2. RAP
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response
Round 1 - HR 

(5 Questions)

  • Q1. Could you provide a brief self-introduction?
  • Q2. Details about my most recent project
  • Q3. Number of team members?
  • Ans. 

    The ideal team size varies, but typically ranges from 5 to 9 members for optimal collaboration and productivity.

    • Smaller teams (5-7 members) often communicate more effectively, like a startup environment.

    • Larger teams (8-12 members) can bring diverse skills but may face coordination challenges.

    • Agile methodologies suggest 7 +/- 2 as the ideal team size for Scrum teams.

    • Example: Google often uses small teams to foster innov...

  • Answered by AI
  • Q4. Did I receive a direct requirement from the client?
  • Q5. Education details of BTech and resume skill certifications?

Interview Preparation Tips

Interview preparation tips for other job seekers - How can a 10-minute hiring manager round determine whether a candidate is the right fit or not?
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
  • Q1. Tell me about your project
  • Q2. Tell me about yourself
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Java theory questions were asked.
  • Q2. Spring thoery questions were asked.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Basic java related questions, pillar of java
  • Q2. What is final,finally,finalize
  • Ans. 

    final, finally, and finalize are related to Java programming language.

    • final is a keyword used to restrict the user from changing the value of a variable.

    • finally is a block of code that is always executed, whether an exception is thrown or not.

    • finalize is a method used for cleanup operations before an object is garbage collected.

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. It was techno managerial round where asked logical question, explain project
  • Q2. Sql queries, java 8 coding questions
Round 3 - HR 

(1 Question)

  • Q1. Discussion for package

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Define record type
  • Ans. 

    A record type is a data type that represents a structured collection of fields or attributes.

    • Record types are used to define structured data in programming languages.

    • Each field in a record type has a name and a data type.

    • Record types are commonly used in database systems to represent rows in tables.

    • Examples of record types include structs in C, classes in Java, and tuples in Python.

  • Answered by AI
  • Q2. Define data fragmentation
  • Ans. 

    Data fragmentation refers to the scattering of data across different locations or storage devices, making it difficult to access or manage.

    • Data fragmentation can occur when data is stored in multiple databases or servers.

    • It can also happen when data is divided into smaller pieces and stored in different locations.

    • Fragmented data can lead to slower access times and increased complexity in managing data.

    • Examples include ...

  • Answered by AI

Skills evaluated in this interview

What people are saying about Infosys

View All
schedule2
Verified Icon
6d
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Infosys?
Ask anonymously on communities.

Infosys Interview FAQs

How many rounds are there in Infosys Senior Software Engineer interview?
Infosys interview process usually has 1-2 rounds. The most common rounds in the Infosys interview process are Technical, HR and Resume Shortlist.
How to prepare for Infosys Senior Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Infosys. The most common topics and skills that interviewers at Infosys expect are SDLC, Software Engineering, Java, Angularjs and J2Ee.
What are the top questions asked in Infosys Senior Software Engineer interview?

Some of the top questions asked at the Infosys Senior Software Engineer interview -

  1. When an int is declare with 0 value and passed as an out parameter to a method ...read more
  2. What is the difference between arraylist and linked list What are different ty...read more
  3. what are the Components used in deploying the previous Projects in A...read more
What are the most common questions asked in Infosys Senior Software Engineer HR round?

The most common HR questions asked in Infosys Senior Software Engineer interview are -

  1. What are your strengths and weakness...read more
  2. Why are you looking for a chan...read more
  3. What are your salary expectatio...read more
How long is the Infosys Senior Software Engineer interview process?

The duration of Infosys Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

3.8/5

based on 65 interview experiences

Difficulty level

Easy 28%
Moderate 59%
Hard 13%

Duration

Less than 2 weeks 56%
2-4 weeks 26%
4-6 weeks 9%
6-8 weeks 3%
More than 8 weeks 6%
View more
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Senior Software Engineer Salary
based on 4.9k salaries
₹1 L/yr - ₹22 L/yr
34% less than the average Senior Software Engineer Salary in India
View more details

Infosys Senior Software Engineer Reviews and Ratings

based on 417 reviews

3.6/5

Rating in categories

3.5

Skill development

3.7

Work-life balance

2.6

Salary

4.0

Job security

3.6

Company culture

2.6

Promotions

3.3

Work satisfaction

Explore 417 Reviews and Ratings
Technology Analyst
55.8k salaries
unlock blur

₹4.8 L/yr - ₹11.2 L/yr

Senior Systems Engineer
53.7k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35k salaries
unlock blur

₹7.3 L/yr - ₹20 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31.1k salaries
unlock blur

₹8.1 L/yr - ₹15 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview