Infosys Interview Questions 2026
Infosys Interview Questions 2026 (with Answers for Freshers)
Last Updated: March 2026
About Infosys
Infosys Limited is a global leader in next-generation digital services and consulting, headquartered in Bangalore, India. With over 300,000 employees worldwide, Infosys helps clients in 46 countries navigate their digital transformation journey. Known for its flagship recruitment platform InfyTQ (Infosys Talent Quotient), the company is renowned for world-class training at its Mysore campus, ethical business practices, and strong focus on AI-powered core, digital operating model, and empowering talent.
Infosys Selection Process Overview
| Round | Description | Duration | Key Focus Areas |
|---|---|---|---|
| Round 1: InfyTQ Exam | Online assessment via InfyTQ app | 120 mins | Python/Java, Aptitude, Logical Reasoning |
| Round 2: HackWithInfy | Coding competition (for higher package) | 3 hours | Data Structures, Algorithms, Problem Solving |
| Round 3: Technical Interview | Technical discussion + coding | 30-45 mins | Programming, DBMS, Projects, OOPs |
| Round 4: HR Interview | Behavioral and cultural fit | 15-25 mins | Communication, attitude, expectations |
HR Interview Questions with Answers
Q1: Why do you want to work at Infosys?
Q2: What do you know about InfyTQ?
Q3: Describe your ideal work environment.
Q4: How do you handle constructive criticism?
Q5: Are you comfortable working in a team with diverse backgrounds?
Q6: What motivates you to perform well?
Q7: How do you manage conflicts in a team?
Q8: What are your thoughts on working overtime?
Q9: Tell us about a time you went above and beyond.
Q10: How do you define success?
Technical Interview Questions with Answers
Q1: What is the difference between Python 2 and Python 3?
Python 3 is the present and future with better Unicode support, cleaner syntax, and active development. Infosys primarily uses Python 3 for its projects."
Q2: Explain the difference between List, Tuple, and Dictionary in Python.
fruits = ['apple', 'banana', 'cherry']
fruits.append('date') # Modification allowed
Tuple: Ordered, immutable collection. Allows duplicates. Defined with (). Faster than lists, used for fixed data.
coordinates = (10, 20)
# coordinates[0] = 15 # Error - cannot modify
Dictionary: Unordered (Python 3.7+ maintains insertion order), mutable key-value pairs. Keys must be unique and immutable.
student = {'name': 'John', 'age': 22, 'grade': 'A'}
print(student['name']) # Access by key
Use lists for sequences that change, tuples for constant data, and dictionaries for fast key-based lookups."
Q3: Write a Python program to check if a number is prime.
def is_prime(n):
if n <= 1:
return False
if n <= 3:
return True
if n % 2 == 0 or n % 3 == 0:
return False
# Check for factors up to square root
i = 5
while i * i <= n:
if n % i == 0 or n % (i + 2) == 0:
return False
i += 6
return True
# Test
number = int(input("Enter a number: "))
if is_prime(number):
print(f"{number} is a prime number")
else:
print(f"{number} is not a prime number")
Time Complexity: O(√n) - optimized by checking only up to square root and skipping multiples of 2 and 3.
Q4: What is Exception Handling in Python?
try:
# Code that might raise exception
result = 10 / 0
except ZeroDivisionError:
# Handle specific exception
print("Cannot divide by zero!")
except Exception as e:
# Handle any other exception
print(f"Error: {e}")
else:
# Executes if no exception occurs
print("Division successful")
finally:
# Always executes (cleanup code)
print("Execution completed")
Key concepts:
- try: Block to test for errors
- except: Block to handle specific errors
- else: Executes when no exception
- finally: Always executes (resource cleanup)
- raise: Manually trigger exceptions
Custom exceptions can be created by inheriting from Exception class."
Q5: Explain Inheritance in Python with an example.
class Employee:
def __init__(self, name, salary):
self.name = name
self.salary = salary
def display_info(self):
print(f"Name: {self.name}, Salary: ${self.salary}")
class Developer(Employee): # Inherits from Employee
def __init__(self, name, salary, programming_lang):
super().__init__(name, salary) # Call parent constructor
self.programming_lang = programming_lang
def display_info(self): # Method overriding
super().display_info()
print(f"Language: {self.programming_lang}")
# Usage
dev = Developer("Alice", 75000, "Python")
dev.display_info()
Types of Inheritance:
- Single: One parent, one child
- Multiple: Multiple parents (class C(A, B))
- Multilevel: A → B → C
- Hierarchical: One parent, multiple children
- Hybrid: Combination of above
Python supports all types. Use super() to access parent class methods."
Q6: What are Decorators in Python?
import functools
def timing_decorator(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
import time
start = time.time()
result = func(*args, **kwargs)
elapsed = time.time() - start
print(f"{func.__name__} took {elapsed:.2f} seconds")
return result
return wrapper
@timing_decorator
def slow_function():
import time
time.sleep(1)
return "Done"
slow_function() # Prints execution time
Use cases:
- Logging function calls
- Measuring execution time
- Authentication/authorization
- Caching results
- Input validation
@decorator syntax is syntactic sugar for function = decorator(function)."
Q7: Write a SQL query to find employees with salary greater than their managers.
-- Self-join approach
SELECT e.name AS employee_name,
e.salary AS employee_salary,
m.name AS manager_name,
m.salary AS manager_salary
FROM Employee e
JOIN Employee m ON e.manager_id = m.id
WHERE e.salary > m.salary;
-- Using subquery
SELECT name, salary
FROM Employee
WHERE salary > (
SELECT salary
FROM Employee
WHERE id = Employee.manager_id
);
This requires a self-join since manager data is in the same table. The condition compares employee salary with their manager's salary.
Q8: What is the difference between DELETE, TRUNCATE, and DROP?
Use DELETE when you need conditional removal with transaction support. Use TRUNCATE when you want to quickly empty a table without logging individual row deletions. Use DROP when you want to completely remove the table structure."
Q9: Explain Normalization and its types.
1NF (First Normal Form):
- Atomic values (no multi-valued attributes)
- No repeating groups
- Each cell contains single value
2NF (Second Normal Form):
- Must be in 1NF
- No partial dependencies (non-key attributes depend on full primary key)
- Applicable to composite keys
3NF (Third Normal Form):
- Must be in 2NF
- No transitive dependencies (non-key attributes depend only on key)
- Eliminates indirect relationships
BCNF (Boyce-Codd Normal Form):
- Stricter version of 3NF
- For every dependency X → Y, X must be a superkey
Example Transformation: Unnormalized: Order(OrderID, CustomerName, CustomerAddress, Product1, Product2) 1NF: Separate products into rows 2NF: Separate customer info (partial dependency) 3NF: Ensure no transitive dependencies
Normalization reduces data anomalies during insert, update, and delete operations."
Q10: What is the difference between Stack and Queue?
Stack Operations:
- push(): Add element
- pop(): Remove top element
- peek(): View top without removing
- isEmpty(): Check if empty
Queue Variations:
- Simple Queue: Basic FIFO
- Circular Queue: Reuses empty spaces
- Priority Queue: Elements have priorities
- Deque: Insert/delete at both ends
Both can be implemented using arrays or linked lists, with O(1) time complexity for standard operations."
Managerial/Behavioral Questions with Answers
Q1: How do you handle a situation where requirements keep changing?
Q2: Describe a situation where you had to learn something quickly.
Q3: How would you convince a team to adopt your idea?
Q4: Tell me about a time you had to work with a difficult team member.
Q5: What would you do if you disagree with your manager's technical decision?
Tips for Cracking Infosys Interview
-
Master InfyTQ: Download the InfyTQ app and complete all modules. Focus on Python/Java fundamentals, data structures, and database concepts. The certification is your entry ticket.
-
Practice HackWithInfy Style Problems: If targeting the Power Programmer role, practice competitive programming on HackerRank, CodeChef, and LeetCode. Focus on arrays, strings, and basic algorithms.
-
Know Your Projects Deeply: Be ready to explain your academic projects in detail - architecture, your specific contributions, challenges faced, and lessons learned.
-
OOPs Concepts: Infosys interviewers love OOPs. Understand all concepts with real-world examples and be ready to write code demonstrating inheritance, polymorphism, etc.
-
Database Fundamentals: Master SQL queries, especially joins, subqueries, and aggregate functions. Understand normalization and ACID properties.
-
Pseudocode Proficiency: Practice writing clear pseudocode as Infosys often asks for algorithmic solutions without syntax constraints.
-
Stay Updated on Infosys: Know about recent Infosys acquisitions, leadership changes, and technology focus areas. Show genuine interest in the company.
-
Communication Skills: Infosys values clear communication. Practice explaining technical concepts simply. Avoid jargon unless necessary.
-
Aptitude Preparation: Don't neglect aptitude sections. Practice quantitative, logical reasoning, and verbal ability regularly.
-
Mock Interviews: Conduct mock interviews focusing on both technical and behavioral questions. Record and review your responses.
Frequently Asked Questions (FAQs)
Q1: What is the InfyTQ exam pattern? A: InfyTQ exam typically includes multiple-choice questions on Python/Java fundamentals, aptitude (quantitative and logical), and may include hands-on coding questions. The format evolves, so check the latest pattern on the InfyTQ portal.
Q2: What is the salary package for freshers at Infosys? A: Standard System Engineer role offers approximately 3.6 LPA. Power Programmer (through HackWithInfy) offers 5-8 LPA. Specialist Programmer roles offer higher packages for exceptional candidates.
Q3: How many rounds are there in Infosys interview? A: Typically 2-3 rounds: Technical Interview, HR Interview, and sometimes a Managerial round for higher packages or specific roles.
Q4: Is Infosys training at Mysore mandatory? A: Yes, most freshers undergo training at the Mysore Global Education Center or other training centers. It's a comprehensive program covering technical and soft skills.
Q5: What programming languages should I know for Infosys? A: Python and Java are most commonly tested. Having proficiency in at least one is essential. Knowledge of C++ and SQL is also beneficial.
Best of luck with your Infosys interview preparation!
Explore this topic cluster
More resources in Interview Questions
Use the category hub to browse similar questions, exam patterns, salary guides, and preparation resources related to this topic.
More in Interview Questions
More from PapersAdda
Top 30 HR Interview Questions with Best Answers (2026)
Top 30 System Design Interview Questions for 2026
Top 40 React.js Interview Questions & Answers (2026)
Top 50 Data Structures Interview Questions 2026