i
Infosys
Work with us
Filter interviews by
Pardo in dataflow refers to a parallel data processing model that optimizes performance and resource utilization.
Pardo stands for 'Parallel Do', enabling distributed processing of data across multiple nodes.
It allows for efficient handling of large datasets by breaking them into smaller chunks.
For example, in Apache Beam, Pardo can be used to apply a function to each element in a collection in parallel.
This model ...
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 =...
DevOps methodology integrates development and operations to enhance collaboration, efficiency, and software delivery speed.
Focuses on collaboration between development and operations teams.
Utilizes automation tools like Jenkins for continuous integration and delivery.
Emphasizes monitoring and feedback loops to improve processes.
Encourages a culture of shared responsibility and accountability.
Adopts Agile practices...
OOP (Object-Oriented Programming) is a programming paradigm based on objects and classes to structure software design.
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 interfac...
OOP is a programming paradigm based on objects, encapsulating data and behavior for modular and reusable code.
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 di...
Fundamental coding concepts include syntax, data structures, algorithms, and debugging, essential for effective programming.
Syntax: The set of rules that defines the combinations of symbols that are considered to be correctly structured programs. Example: In Python, indentation is crucial.
Data Structures: Ways to organize and store data for efficient access and modification. Example: Arrays, linked lists, and hash...
Language is a structured system of communication using symbols, sounds, or gestures to convey meaning.
Language can be spoken, written, or signed, such as English, Spanish, or American Sign Language.
It consists of grammar, vocabulary, and syntax that govern how words are combined.
Language evolves over time, adapting to cultural and societal changes, like the emergence of slang.
It serves various functions, including...
The strategy involves analyzing data patterns to derive actionable insights for decision-making.
Identify key data points: Focus on metrics that directly impact outcomes, such as user engagement or system performance.
Utilize data visualization: Tools like graphs and charts can help reveal trends and anomalies in the data.
Apply statistical analysis: Techniques like regression analysis can uncover relationships betwe...
Encapsulation is a fundamental concept in OOP that restricts direct access to an object's data and methods.
Encapsulation combines data and methods that operate on that data into a single unit called a class.
It restricts access to certain components, which is achieved using access modifiers like private, protected, and public.
For example, a class 'Car' can have private attributes like 'speed' and 'fuelLevel', and p...
Python uses automatic memory management with a built-in garbage collector to handle memory allocation and deallocation.
Python uses a private heap space to store all its objects and data structures.
Memory allocation is handled by the Python memory manager, which manages the allocation of memory blocks.
Python employs reference counting to keep track of the number of references to an object. When the reference count ...
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.
I appeared for an interview in Feb 2025, where I was asked the following questions.
Java supports two main categories of data types: primitive types and reference types, each serving different purposes.
Primitive Data Types: These include int, char, double, boolean, etc. Example: int age = 30;
Reference Data Types: These include objects and arrays. Example: String name = 'John';
Primitive types are stored directly in memory, while reference types store references to objects.
Java has 8 primitive data type...
Java Collections Framework provides a set of classes and interfaces for storing and manipulating groups of objects.
Collection Interface: The root interface for the collection hierarchy. Example: List, Set, Queue.
List Interface: An ordered collection (also known as a sequence). Example: ArrayList, LinkedList.
Set Interface: A collection that does not allow duplicate elements. Example: HashSet, TreeSet.
Queue Interface: A ...
Use the transient keyword in Java to prevent a variable from being serialized.
Declare the variable with the transient keyword: `private transient int myVar;`
Transient variables are ignored during serialization, meaning they won't be saved.
Useful for sensitive data like passwords or large objects that can be recreated.
Example: `private transient String password;` will not be serialized.
Encapsulation in Java is the bundling of data and methods that operate on that data within a single unit, typically a class.
Encapsulation restricts direct access to some of an object's components, which is a means of preventing unintended interference.
It is achieved using access modifiers: private, protected, and public.
Example: A class 'Person' with private fields 'name' and 'age', accessed via public methods.
Encapsul...
Yes, constructors can call each other using 'this()' in Java, enabling constructor chaining.
Constructor chaining allows one constructor to call another within the same class.
Use 'this(parameters)' to invoke another constructor from a constructor.
Example: 'this(5)' in a constructor can call another constructor that takes an int parameter.
Chaining helps reduce code duplication and improves readability.
Java's exception inheritance rules dictate how exceptions can be caught and declared in methods.
1. Checked exceptions must be declared in the method signature or handled within the method.
2. Unchecked exceptions (RuntimeExceptions) do not need to be declared or caught.
3. Subclasses of Exception are checked exceptions; subclasses of RuntimeException are unchecked.
4. A method can throw multiple exceptions, but must decla...
JSP filters are components that allow developers to intercept requests and responses in JavaServer Pages.
Filters can modify request and response objects before they reach the JSP or servlet.
They are defined in the web.xml file or using annotations in Java.
Common use cases include logging, authentication, and input validation.
Example: A logging filter can log the details of incoming requests.
Filters can be chained, allo...
I appeared for an interview in Jan 2025.
They gave a case study where the candidate had to showcase the audience segmentation, create a brochure design with content and showcase the writing skills based on a product that they gave.
To plan a brochure layout, consider the target audience, key message, visual hierarchy, branding, and call-to-action.
Identify the target audience and tailor the design to appeal to their preferences and needs.
Determine the key message or information that needs to be communicated clearly.
Establish a visual hierarchy to guide the reader's eye through the content.
Ensure consistent branding elements such as colors, fonts, ...
I would schedule regular meetings with stakeholders to discuss information needs and establish clear communication channels.
Schedule regular meetings with stakeholders to discuss information needs
Establish clear communication channels to ensure timely and accurate information collection
Utilize project management tools to track progress and deadlines
Provide stakeholders with updates on information collection process
I applied via Company Website
Deleting a child table column linked by a foreign key requires careful consideration of referential integrity.
Foreign keys enforce referential integrity between parent and child tables.
You cannot directly delete a column from a child table if it is part of a foreign key constraint.
To delete the column, first drop the foreign key constraint using: ALTER TABLE child_table DROP CONSTRAINT fk_name;
After dropping the constr...
No, we cannot use commit or roll back within a trigger.
Triggers are automatically committed or rolled back as part of the transaction that fired them.
Using commit or rollback within a trigger can lead to unpredictable behavior and is not recommended.
Materialized views store the results of a query and can be refreshed to update the data.
Materialized views store the results of a query in a table-like structure
They can be refreshed manually or automatically based on a schedule
Refresh options include full, fast, and force refresh
Example: CREATE MATERIALIZED VIEW mv_name AS SELECT * FROM table_name;
Use CONNECT BY LEVEL to print numbers from 1 to 10 in Oracle SQL
Use CONNECT BY LEVEL to generate rows from 1 to 10
Select the generated numbers in the query
Context switching is the process of storing and restoring the state of a CPU so that multiple processes can share the same CPU.
Context switching allows the CPU to switch from one process to another, enabling multitasking.
In Oracle PLSQL, collection types are used to store multiple values in a single variable.
Examples of collection types in PLSQL include arrays, nested tables, and associative arrays.
Analytical functions are used to perform calculations across a set of rows related to the current row.
Analytical functions are used to calculate aggregate values based on a group of rows.
They can be used to calculate running totals, moving averages, rank, percentiles, etc.
Examples include functions like ROW_NUMBER(), RANK(), DENSE_RANK(), LAG(), LEAD(), SUM() OVER(), AVG() OVER().
I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.
Attributes in HTML provide additional information about an element and are defined within the element's start tag.
Attributes are used to modify the behavior or appearance of an HTML element.
They are specified within the opening tag of an element using name-value pairs.
Examples include 'href' in an anchor tag (<a href='https://www.example.com'>) and 'src' in an image tag (<img src='image.jpg'>).
Flexbox is a layout model in CSS that allows for dynamic and responsive design of web pages.
Flexbox is used to create flexible layouts that can adapt to different screen sizes and orientations.
It allows for easy alignment and distribution of elements within a container.
Flexbox properties include display: flex, flex-direction, justify-content, align-items, and flex-grow.
Example: display: flex; justify-content: center; a...
I appeared for an interview in Feb 2025.
Sorting algorithms arrange data in a specific order, crucial for efficient data processing and retrieval.
Types of sorting algorithms include: Bubble Sort, Quick Sort, Merge Sort, and Heap Sort.
Bubble Sort is simple but inefficient for large datasets; it repeatedly steps through the list.
Quick Sort is efficient for large datasets, using a divide-and-conquer approach to sort elements.
Merge Sort divides the array into hal...
The Software Development Lifecycle (SDLC) is a structured process for developing software applications through various stages.
1. Requirements Gathering: Identify user needs and system requirements.
2. Design: Create architecture and design specifications for the software.
3. Implementation: Write and compile the code based on design documents.
4. Testing: Validate the software through various testing methods (e.g., unit t...
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...
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
Choosing between MongoDB and PostgreSQL depends on project needs like data structure, scalability, and query complexity.
MongoDB is a NoSQL database, ideal for unstructured data and rapid development.
PostgreSQL is a relational database, suitable for complex queries and data integrity.
Use MongoDB for applications requiring high scalability, like social media platforms.
Choose PostgreSQL for applications needing ACID compl...
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...
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
I am a Senior Android Developer with 5+ years of experience in developing mobile applications for various industries.
Developed and maintained multiple Android applications from concept to deployment
Proficient in Java, Kotlin, and Android SDK
Experience with RESTful APIs, third-party libraries, and version control systems like Git
Strong problem-solving skills and ability to work in a team environment
Familiar with Agile d...
The inline keyword is used in Kotlin to suggest that a function should be inlined at the call site.
Used to eliminate the overhead of function calls by copying the function code directly at the call site
Helps in improving performance by reducing the function call overhead
Should be used for small functions or lambdas to avoid unnecessary function call overhead
Agile methodology is a project management approach that emphasizes flexibility, collaboration, and iterative development.
Agile methodology focuses on delivering working software in short, iterative cycles called sprints.
It values customer collaboration and responding to change over following a strict plan.
Key principles include individuals and interactions over processes and tools, working software over comprehensive d...
I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.
Dynamic xpath is a way to locate elements on a web page based on changing attributes or positions.
Use functions like contains(), starts-with(), or ends-with() to create dynamic xpaths
Avoid using indexes in xpaths as they can change with page updates
Consider using unique attributes or text within the element to create a reliable xpath
What people are saying about Infosys
Some of the top questions asked at the Infosys interview for freshers -
The duration of Infosys interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 431 interview experiences
Difficulty level
Duration
based on 43.9k reviews
Rating in categories
Technology Analyst
55k
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.4k
salaries
| ₹9.5 L/yr - ₹16.5 L/yr |
System Engineer
32.7k
salaries
| ₹2.4 L/yr - ₹5 L/yr |
Senior Associate Consultant
32.4k
salaries
| ₹8.3 L/yr - ₹15.1 L/yr |
TCS
Wipro
Cognizant
Accenture