i
Infosys
Work with us
Filter interviews by
A for loop iterates through an array to print each element sequentially.
Use a for loop syntax: for (initialization; condition; increment) { }
Example: for (int i = 0; i < array.length; i++) { System.out.println(array[i]); }
In JavaScript: for (let i = 0; i < array.length; i++) { console.log(array[i]); }
In Python: for element in array: print(element)
I've utilized various design patterns like Singleton, Observer, and Factory in my projects to enhance code maintainability and scalability.
Singleton: Ensured a single instance of a configuration manager in a web application.
Observer: Implemented in a notification system where multiple components react to user actions.
Factory: Used to create different types of user objects based on user roles in an authentication m...
The Accounts Payable (AP) process manages company expenses and vendor payments efficiently.
Invoice Receipt: Collecting invoices from vendors for goods/services received.
Invoice Verification: Ensuring accuracy by matching invoices with purchase orders and receipts.
Approval Workflow: Routing invoices for approval from relevant departments or managers.
Payment Processing: Scheduling and executing payments to vendors v...
An index in SQL is a database object that improves the speed of data retrieval operations on a table.
Indexes are created on columns to enhance query performance.
Example: CREATE INDEX idx_name ON employees(name);
They work like a book's index, allowing quick access to data.
Indexes can be unique, ensuring no duplicate values in a column.
Example: CREATE UNIQUE INDEX idx_email ON users(email);
While they speed up reads,...
Calculate trailing zeros in a factorial using Python by counting factors of 5 in the numbers leading to n.
Trailing zeros in n! are produced by factors of 10, which are made from pairs of 2 and 5.
Since there are usually more factors of 2 than 5, we only need to count the factors of 5.
The formula to calculate trailing zeros is: n // 5 + n // 25 + n // 125 + ... until n // 5^k is 0.
Example: For 100!, trailing zeros =...
Managing memory leaks involves detection, prevention, and remediation strategies to ensure application stability.
Use memory profiling tools like Valgrind or VisualVM to identify memory leaks.
Implement automated tests that include stress testing to catch leaks early.
Regularly review and refactor code to eliminate unnecessary object retention.
Utilize weak references in languages like Java to avoid strong reference c...
A data entry operator inputs, updates, and maintains data in computer systems, ensuring accuracy and efficiency.
Inputting data from various sources, such as paper documents or online forms, into databases.
Verifying the accuracy of data by cross-referencing with original documents.
Updating existing data to reflect changes, such as customer information or inventory levels.
Maintaining data integrity by following comp...
Use Java Streams to find the person with the maximum age from an array of Person objects efficiently.
1. Define the Person class with an age attribute: `class Person { int age; }`.
2. Create an array of Person objects: `Person[] people = {new Person(25), new Person(30), new Person(22)};`.
3. Use Streams to find the maximum age: `Person oldest = Arrays.stream(people).max(Comparator.comparingInt(Person::getAge)).orElse...
The Fibonacci series is a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.
The Fibonacci series starts with 0 and 1.
Each subsequent number is the sum of the previous two.
Example: For n=5, the series is 0, 1, 1, 2, 3.
A simple implementation can be done using iteration or recursion.
Dependency Injection (DI) promotes loose coupling; scoped lifetime for DbContext ensures efficient resource management in web apps.
DI allows for better testability and maintainability of code by decoupling dependencies.
Scoped lifetime means a new instance of DbContext is created per request, reducing memory usage.
Using a scoped DbContext ensures that all operations within a request share the same context, preventi...
I applied via Approached by Company and was interviewed before Mar 2021. There were 3 interview rounds.
Architect an authentication and authorization module
Identify the user roles and permissions
Choose an appropriate authentication mechanism (e.g. OAuth, JWT)
Implement secure password storage and retrieval
Use encryption for sensitive data
Implement session management and token expiration
Integrate with existing user management systems if applicable
I worked as a Senior Software Engineer at Tech Innovations, focusing on developing scalable web applications and leading a team of developers.
Led a team of 5 developers to create a cloud-based inventory management system, improving efficiency by 30%.
Implemented microservices architecture, which reduced deployment times from hours to minutes.
Collaborated with cross-functional teams to gather requirements and ensure alig...
I'm seeking new challenges and opportunities for growth that align with my career goals and aspirations.
Desire for professional growth: I'm looking for a role that offers more opportunities for leadership and innovation.
Seeking a better cultural fit: My current workplace has a different set of values than I aspire to, and I want to be part of a team that shares my vision.
Interest in new technologies: I'm eager to work ...
I appeared for an interview in Feb 2025.
Spring Boot's default server is Tomcat, but you can easily switch to others like Jetty or Undertow.
Spring Boot uses Tomcat as the default embedded server.
To use Jetty, add the dependency: 'spring-boot-starter-jetty' in your pom.xml.
For Undertow, include 'spring-boot-starter-undertow' in your dependencies.
You can exclude Tomcat by adding 'exclude = {Tomcat.class}' in your @SpringBootApplication annotation.
Spring Boot's default port is 8080, and it can be changed via application properties or command line arguments.
Default port: 8080.
Change via application.properties: server.port=9090.
Change via command line: java -jar app.jar --server.port=9090.
Change via YAML: server: port: 9090
Optional.of() throws an exception for null, while Optional.ofNullable() allows null values, returning an empty Optional.
Optional.of(T value): Requires a non-null value; throws NullPointerException if value is null.
Example: Optional<String> opt = Optional.of('Hello'); // valid
Optional.ofNullable(T value): Accepts null values; returns Optional.empty() if value is null.
Example: Optional<String> opt = Optional....
Receiving negative feedback is an opportunity for growth; I approach it with an open mind and a willingness to improve.
Listen actively to the feedback without interrupting, showing respect for the manager's perspective.
Ask clarifying questions to fully understand the feedback and the areas needing improvement.
Reflect on the feedback and identify specific actions I can take to address the concerns raised.
Create a plan t...
I appeared for an interview in Jun 2025, where I was asked the following questions.
Faced a challenge when mediating a conflict between two team members, leading to improved communication and collaboration.
Identified the root cause of the conflict: differing work styles and communication issues.
Facilitated a meeting where both parties could express their concerns and perspectives.
Encouraged active listening and empathy, helping them understand each other's viewpoints.
Developed a follow-up plan to ensu...
Collaborated with a diverse team to enhance employee engagement through a comprehensive feedback initiative.
Led a team of five in designing an employee feedback survey to assess workplace satisfaction.
Facilitated brainstorming sessions to gather diverse perspectives and ideas.
Analyzed survey results and presented findings to management, leading to actionable changes.
Implemented follow-up meetings to ensure continuous i...
I admire your company's commitment to employee well-being and innovative practices, making it an ideal place for my skills and passion.
Your company's strong focus on employee engagement aligns with my belief in fostering a positive workplace culture.
I am impressed by your initiatives in diversity and inclusion, which resonate with my values and experiences in promoting equity.
The opportunity to work with a team that pr...
I pursued a career in Employee Relations to foster a positive workplace culture and support employee well-being and engagement.
Passion for people: I enjoy helping individuals navigate workplace challenges, ensuring they feel heard and valued.
Conflict resolution: I have successfully mediated disputes, such as resolving a team conflict that improved collaboration and productivity.
Promoting engagement: I initiated employe...
Goul is a term often used to refer to a mythical creature or a type of monster in folklore.
Goul is derived from Arabic 'ghul', meaning a demon or evil spirit.
In folklore, ghouls are often depicted as grave robbers or flesh-eating creatures.
Ghouls appear in various cultures, often associated with the undead or supernatural.
In modern literature and media, ghouls are popular in horror genres, such as in video games like '...
My friends would describe me as empathetic, reliable, and a great listener who always supports them in their endeavors.
Empathetic: I often put myself in others' shoes, understanding their feelings and perspectives. For instance, I helped a friend through a tough breakup by actively listening and providing support.
Reliable: My friends know they can count on me. When a friend needed help moving, I was there without hesit...
I prioritize tasks, utilize project management tools, and maintain clear communication to effectively manage multiple projects.
Prioritization: I assess project deadlines and importance, focusing on high-impact tasks first. For example, if two projects have overlapping deadlines, I evaluate which one aligns more with organizational goals.
Project Management Tools: I use tools like Trello or Asana to track progress and de...
I successfully mediated a conflict between two departments, improving collaboration and enhancing employee morale.
Identified the root cause of the conflict through one-on-one meetings with team members.
Facilitated a joint meeting where both departments could express their concerns and expectations.
Implemented a follow-up plan to ensure ongoing communication and collaboration between the teams.
Measured success through e...
I have worked for three companies with varying sizes and industries, gaining experience in infrastructure management, project planning, and team leadership.
Managed infrastructure projects for a large tech company, overseeing network upgrades and server migrations
Led a team of IT professionals in a medium-sized financial institution, implementing disaster recovery plans and security protocols
Worked as a consultant for a...
I have worked for a variety of companies in the technology and infrastructure sector.
Worked for a multinational IT consulting firm
Managed infrastructure projects for a Fortune 500 company
Consulted for a government agency on infrastructure upgrades
I have worked with various technologies such as cloud computing, virtualization, network management, and cybersecurity.
Cloud computing - Managed AWS infrastructure for scalability and cost-efficiency.
Virtualization - Implemented VMware solutions to optimize server resources.
Network management - Configured Cisco routers and switches for efficient data flow.
Cybersecurity - Conducted vulnerability assessments and implemen...
Implemented a cloud migration project for a large financial institution
Led a team to assess current infrastructure and develop a migration plan
Utilized AWS services to migrate applications and data to the cloud
Ensured minimal downtime and optimized performance post-migration
I appeared for an interview in Dec 2024.
Debugging background jobs involves checking logs, monitoring job status, and using debugging tools.
Check the logs for any error messages or warnings
Monitor the job status to see if it is running or stuck
Use debugging tools like debugger or profiler to analyze the code execution
Check for any dependencies or external factors affecting the job
Debugging smartforms involves identifying and fixing errors in the form design or code.
Check for syntax errors in the smartform code
Verify data binding and field mappings
Use debugging tools like breakpoints and watchpoints
Test the smartform with sample data to identify issues
Consult documentation or seek help from experienced developers
I have used the BAPI_MATERIAL_GET_DETAIL to retrieve material details in SAP system.
BAPI_MATERIAL_GET_DETAIL is used to fetch material master data in SAP
It can be used to retrieve information such as material description, unit of measure, and plant data
Example: BAPI_MATERIAL_GET_DETAIL('MaterialNumber')
File handling is the process of managing and manipulating files on a computer system.
File handling involves tasks such as creating, reading, writing, and deleting files.
It also includes operations like opening and closing files, as well as moving and copying files.
Examples of file handling functions include fopen(), fread(), fwrite(), and fclose() in programming languages like C or Python.
The FM used to upload data is 'UPLOAD_DATA'
The FM 'UPLOAD_DATA' is commonly used in SAP systems to upload data from external sources
It is often used in data migration projects or when bulk data needs to be imported into the system
The 'UPLOAD_DATA' FM typically requires input parameters such as file path, data format, and target table
To make a table field case sensitive, you can change the collation of the column to a case-sensitive collation.
Change the collation of the column to a case-sensitive collation like Latin1_General_CS or SQL_Latin1_General_CP1_CS_AS
For example, ALTER TABLE table_name ALTER COLUMN column_name COLLATE Latin1_General_CS_AS
BSPI is used instead of Update query for real-time data processing and to ensure data consistency.
BSPI (Business Service Provider Interface) is used for real-time data processing in SAP systems.
BSPI ensures data consistency by providing a standardized way to update data across different systems.
Update queries can be risky for real-time data processing as they may lead to data inconsistencies.
BSPI allows for better erro...
FM stands for Facilities Management, which includes various types such as Hard FM and Soft FM.
Hard FM involves physical assets like buildings and equipment maintenance.
Soft FM focuses on non-physical assets like cleaning, security, and catering services.
Other types include Integrated FM, Total FM, and Strategic FM.
Examples: Hard FM - HVAC maintenance, Soft FM - janitorial services.
BAPIs are created using transaction code BAPI in SAP system.
BAPIs are created using transaction code BAPI in SAP system.
BAPIs are defined using Function Modules in SAP.
BAPIs are used to integrate SAP systems with external systems.
BAPIs can be created for both standard SAP functions and custom functions.
Tcode for code optimization is SE30 in SAP
SE30 is a transaction code in SAP used for performance trace and analysis
It helps in identifying performance bottlenecks in ABAP code
SE30 provides detailed analysis of runtime, database, and memory consumption
Code optimization involves improving code efficiency and performance.
Identify and remove unnecessary code
Use efficient data structures and algorithms
Minimize the number of function calls
Optimize loops and conditional statements
Use caching and memoization techniques
Profile and analyze code for bottlenecks
The Tcode for ADOBE Form is SFP.
Tcode SFP is used to create and maintain Adobe Forms in SAP systems.
Adobe Forms are used for designing and formatting business documents like invoices, purchase orders, etc.
Yes, I have worked on Module Pool in SAP ABAP development.
I have experience creating interactive screens using Module Pool programming in SAP ABAP.
I have worked on designing screens with input fields, buttons, and logic to process user input.
I have implemented navigation between screens and data validation in Module Pool.
I have integrated Module Pool programs with backend ABAP logic for data processing.
I have experienc...
Commit statement is used to permanently save changes made in a transaction in a database.
Commits all changes made in a transaction to the database
Permanently saves the changes
Ends the transaction and makes the changes visible to other transactions
To gain practical experience and skills through internships, certifications, and volunteer work before securing a full-time job.
Took time to gain practical experience through internships, certifications, and volunteer work
Focused on developing skills and knowledge in relevant areas
Used the gap year to explore different career options and industries
Took time to travel or pursue personal interests before committing to a ...
Aptitude test questions
An example of machine learning is training a model to predict customer churn in a telecom company.
Collect and preprocess data on customer behavior and churn
Split data into training and testing sets
Choose a machine learning algorithm (e.g. logistic regression)
Train the model on the training data
Evaluate the model's performance on the testing data
Use the model to predict customer churn in the future
Aptitude test questions
Artificial intelligence is the simulation of human intelligence processes by machines, especially computer systems.
AI involves machines performing tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation.
Machine learning is a subset of AI that allows machines to learn from data and improve their performance over time.
Examples of AI include...
There are three types of artificial intelligence: narrow AI, general AI, and superintelligent AI.
Narrow AI, also known as weak AI, is designed for a specific task or set of tasks, such as facial recognition or language translation.
General AI, also known as strong AI, is able to perform any intellectual task that a human can do.
Superintelligent AI is hypothetical and would surpass human intelligence in every way.
Example...
I appeared for an interview in Feb 2025.
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...
I appeared for an interview in Jan 2025.
Snowflake offers a unique architecture that separates storage and compute, providing scalability, flexibility, and cost-effectiveness.
Snowflake's architecture separates storage and compute, allowing for independent scaling of each component.
Snowflake uses virtual warehouses to allocate compute resources on-demand, optimizing performance and cost.
Snowflake's multi-cluster shared data architecture enables seamless collab...
Time travel refers to the ability to query historical data in Snowflake, while fail safe refers to the system's ability to maintain data integrity and availability in case of failures.
Time travel allows users to query data as it existed at a specific point in the past, using the TIMESTAMP parameter in queries.
Fail safe mechanisms in Snowflake ensure data integrity and availability by automatically handling system failu...
Live feed is real-time data while extract is historical data.
Live feed is data that is constantly updated in real-time.
Extract is historical data that is extracted at a specific point in time.
Live feed is commonly used for monitoring real-time events, while extract is used for analysis of past data.
Examples: Twitter feed is live data, while a monthly sales report is an extract.
I appeared for an interview in Jan 2025.
Static calls are resolved at compile time, while dynamic calls are resolved at runtime.
Static calls are resolved at compile time based on the declared type of the object being called.
Dynamic calls are resolved at runtime based on the actual type of the object being called.
Static calls are faster but less flexible, while dynamic calls are slower but more flexible.
Example: In a static call, the method to be called is det...
Control over job execution can be achieved through job scheduling, monitoring, and automation.
Use job scheduling tools like Control-M or CA Workload Automation to manage job execution.
Monitor job progress and status using tools like IBM Tivoli Monitoring or Nagios.
Automate job execution and error handling with scripts or custom programs.
Implement job dependencies to ensure proper sequencing and execution.
Set up alerts ...
A cursor in databases is a pointer that allows for traversal and manipulation of query results.
A cursor is used to retrieve and process individual rows returned by a query.
It allows for sequential access to query results, enabling operations like fetching, updating, and deleting rows.
Cursors are commonly used in programming languages like SQL to work with result sets.
For example, in a banking application, a cursor can ...
Null variables in COBOL DB2 programs can be handled using NULL indicators and COALESCE function.
Use NULL indicators to check if a variable is null before processing it.
Use COALESCE function to replace null values with a default value.
Handle null variables carefully to avoid runtime errors.
The waterfall model is a linear sequential software development process where progress flows in one direction like a waterfall.
Involves distinct phases such as requirements, design, implementation, testing, and maintenance.
Each phase must be completed before moving on to the next phase.
Changes are difficult to implement once a phase is completed.
Example: Traditional software development approach where requirements are ...
Agile framework is a project management approach that emphasizes flexibility, collaboration, and incremental development.
Agile framework involves breaking down projects into smaller tasks called sprints
It promotes frequent communication and collaboration among team members
Allows for flexibility and adaptability to changes in requirements
Examples of Agile frameworks include Scrum, Kanban, and Extreme Programming
I appeared for an interview in Jan 2025.
The exam consists of seven sections, and the cutoff score is quite high; it is essential to complete the exam thoroughly.
I completed a 6-month internship at a tech company, where I worked on network infrastructure projects.
Assisted in setting up and configuring network devices such as routers and switches
Troubleshooted network issues and implemented solutions
Collaborated with team members on various IT projects
Participated in meetings with clients to discuss project requirements
I have worked on various major projects including designing and implementing network infrastructure, developing automation scripts, and optimizing system performance.
Designed and implemented a new network infrastructure for a large company, improving network speed and reliability
Developed automation scripts to streamline system monitoring and maintenance tasks, saving time and reducing errors
Optimized system performanc...
The latest news I heard regarding technology is the release of the new iPhone 13 with improved camera features.
Apple recently announced the release of the iPhone 13 series with upgraded camera capabilities.
The new iPhone 13 models come with improved low-light performance and cinematic mode for videos.
Apple also introduced the A15 Bionic chip for enhanced performance and battery life.
What people are saying about Infosys
Some of the top questions asked at the Infosys interview -
The duration of Infosys interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 5.3k interview experiences
Difficulty level
Duration
based on 43.8k reviews
Rating in categories
Hyderabad / Secunderabad,
Chennai
+12-7 Yrs
Not Disclosed
Technology Analyst
54.9k
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Senior Systems Engineer
54.3k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.3k
salaries
| ₹9.5 L/yr - ₹16.5 L/yr |
System Engineer
32.6k
salaries
| ₹2.4 L/yr - ₹5.5 L/yr |
Senior Associate Consultant
32.2k
salaries
| ₹8.2 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture