i
Infosys
Work with us
Filter interviews by
Global variables are accessible throughout the program, while local variables are confined to the block or function where they are defined.
Global variables are declared outside of functions and can be accessed anywhere in the code.
Local variables are declared within a function or block and can only be accessed within that scope.
Example of a global variable: `int globalVar = 10;`
Example of a local variable: `void f...
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...
OAuth 2.0 in Drupal is a protocol for authorization, allowing secure access to resources on behalf of users.
OAuth 2.0 enables third-party applications to obtain limited access to user accounts on an HTTP service.
In Drupal, it can be used to authenticate users via external services like Google, Facebook, etc.
It supports various grant types, such as Authorization Code, Implicit, Resource Owner Password Credentials, ...
Migrating from Drupal 7 to 10 involves planning, updating modules, and data migration using tools like Migrate API.
1. Assess current site: Review custom modules, themes, and contributed modules for compatibility with Drupal 10.
2. Update to Drupal 8: Migrate from Drupal 7 to Drupal 8 first, as direct migration to 10 is not supported.
3. Use Migrate API: Utilize the Migrate API for data migration, ensuring content ty...
JSON (JavaScript Object Notation) is a lightweight data interchange format that's easy for humans to read and write.
JSON is text-based and uses a syntax similar to JavaScript objects.
It consists of key-value pairs, e.g., {"name": "John", "age": 30}.
JSON supports data structures like arrays, e.g., {"fruits": ["apple", "banana", "cherry"]}.
It's widely used for APIs and configuration files due to its simplicity and r...
JSOJ stands for JavaScript Online Judge, a platform for coding challenges and competitions using JavaScript.
JSOJ allows users to submit JavaScript code for automated testing against predefined test cases.
It is commonly used in competitive programming to evaluate coding skills.
Examples of platforms similar to JSOJ include Codeforces and LeetCode, which also support various programming languages.
Inheritance in OOP allows classes to inherit properties and methods from other classes, promoting code reusability.
Single Inheritance: A class inherits from one superclass. Example: class Dog extends Animal.
Multiple Inheritance: A class inherits from multiple superclasses. Example: class Dog extends Animal, Pet (not supported in Java).
Multilevel Inheritance: A class inherits from a subclass, creating a chain. Exam...
The event cycle in React refers to how events are handled and propagated in the React component lifecycle.
React uses a synthetic event system that normalizes events across different browsers.
Events in React are handled using camelCase syntax, e.g., onClick instead of onclick.
Event handlers can be defined as methods in class components or as functions in functional components.
Example: <button onClick={this.handl...
To convert a word to lower case, use programming functions or methods that handle string manipulation effectively.
Use built-in functions like 'lower()' in Python: 'WORD'.lower() results in 'word'.
In JavaScript, use 'toLowerCase()': 'WORD'.toLowerCase() gives 'word'.
In Java, use 'toLowerCase()' method: 'WORD'.toLowerCase() returns 'word'.
In C#, use 'ToLower()': 'WORD'.ToLower() results in 'word'.
To find the second largest number in an array, iterate through the array while tracking the largest and second largest values.
Initialize two variables: largest and secondLargest to negative infinity.
Iterate through each number in the array.
If the current number is greater than largest, update secondLargest to largest and then update largest to current number.
If the current number is less than largest but greater t...
I appeared for an interview before Jul 2024, where I was asked the following questions.
OOP (Object-Oriented Programming) is a programming paradigm based on objects that encapsulate data and behavior.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same interface for diffe...
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, inde...
Polymorphism is a programming concept allowing objects to be treated as instances of their parent class, enabling method overriding.
Polymorphism allows methods to do different things based on the object it is acting upon.
Example: A function that takes a base class reference can call overridden methods in derived classes.
Types of polymorphism: Compile-time (method overloading) and runtime (method overriding).
Example of ...
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.
I am motivated by the opportunity to make a positive impact, continuous learning, and fostering strong relationships in the workplace.
Making a positive impact: I thrive when I can help resolve employee issues, leading to a more harmonious workplace.
Continuous learning: I am driven by the chance to develop my skills, such as attending workshops on conflict resolution.
Building relationships: I find motivation in creating...
I excel in communication, problem-solving, and empathy, which are crucial for fostering positive employee relations.
Strong communication skills: I effectively convey information and listen actively, ensuring clarity in employee interactions.
Problem-solving abilities: I approach conflicts with a solution-oriented mindset, having successfully mediated disputes in previous roles.
Empathy: I understand employee concerns and...
I tend to be overly critical of my work, which can slow down my productivity and affect my confidence in decision-making.
I often spend too much time perfecting details, like when I worked on a project report and missed the deadline due to revisions.
I sometimes struggle with delegation, as I prefer to take on tasks myself to ensure quality, which can lead to burnout.
In team settings, I can be hesitant to voice my ideas,...
I possess strong communication, conflict resolution, and analytical skills to foster positive employee relations and enhance workplace culture.
Excellent communication skills: I can effectively convey information and listen actively to employee concerns.
Conflict resolution: I have successfully mediated disputes between employees, leading to amicable solutions and improved team dynamics.
Analytical skills: I analyze emplo...
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...
Absolutely! I thrive in collaborative environments and believe teamwork drives success.
I actively listen to my teammates' ideas and incorporate their feedback into projects.
In my previous role, I led a cross-departmental team to improve employee engagement, resulting in a 20% increase in satisfaction scores.
I believe in celebrating team successes, which fosters a positive atmosphere and motivates everyone to contribute...
I embrace criticism as an opportunity for growth, using it to improve my skills and enhance team dynamics.
Listen actively to understand the feedback without becoming defensive.
Reflect on the criticism to identify areas for personal and professional growth.
Seek clarification if the feedback is unclear, ensuring I fully grasp the points being made.
Implement changes based on constructive criticism, demonstrating my commit...
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 stay updated on industry trends through continuous learning, networking, and leveraging various resources.
Subscribe to industry newsletters and journals, such as SHRM or HR Magazine, to receive the latest research and insights.
Attend webinars and conferences, like the HR Technology Conference, to learn from experts and network with peers.
Engage in professional associations, such as the Society for Human Resource Mana...
I would approach difficult clients with empathy, active listening, and a solution-oriented mindset to resolve their concerns effectively.
Listen actively to understand the client's concerns without interrupting.
Empathize with their situation by acknowledging their feelings, e.g., 'I understand how frustrating this must be for you.'
Ask clarifying questions to gather more information and ensure I fully understand the issu...
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 appeared for an interview in Jun 2025, where I was asked the following questions.
Spring Boot uses @Value annotation for accessing properties from application.properties for exception handling.
@Value annotation is used to inject values from application.properties.
Example: @Value("${my.property}") private String myProperty;
You can use @ConfigurationProperties for binding properties to a class.
Example: @ConfigurationProperties(prefix = "app") public class AppProperties { private String name; }
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 Jun 2025, where I was asked the following questions.
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 Jun 2025, where I was asked the following questions.
I possess strong communication skills, adaptability, and a customer-centric approach, ensuring effective support and satisfaction.
Excellent communication skills: I can convey information clearly and effectively, which helps in resolving customer queries promptly.
Adaptability: I can quickly adjust to new tools and processes, ensuring I stay efficient in a dynamic work environment.
Customer-centric approach: I prioritize ...
I tend to be overly critical of my work, which can slow me down, but I'm learning to balance quality with efficiency.
I often spend too much time perfecting details, like ensuring every email response is flawless, which can delay my response time.
I sometimes struggle with delegation, as I prefer to handle tasks myself to ensure they meet my standards, but I'm working on trusting my team more.
I can be hesitant to speak u...
I possess strong communication skills, a customer-centric approach, and a proven ability to resolve issues efficiently.
Excellent communication skills: I can convey information clearly and effectively, ensuring customers understand solutions.
Customer-centric approach: I prioritize customer satisfaction, as demonstrated when I resolved a complex issue for a client, leading to positive feedback.
Problem-solving abilities: ...
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.
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.7k reviews
Rating in categories
Technology Analyst
54.8k
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Senior Systems Engineer
54.2k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.3k
salaries
| ₹9.6 L/yr - ₹16.5 L/yr |
System Engineer
32.6k
salaries
| ₹2.4 L/yr - ₹5.5 L/yr |
Senior Associate Consultant
32k
salaries
| ₹8.2 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture