i
Infosys
Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Use OFFSET and FETCH in SQL to retrieve specific records from a table.
Use OFFSET to skip the first n-1 records
Use FETCH to limit the number of records to be retrieved
Example: SELECT * FROM table_name OFFSET 4 ROWS FETCH NEXT 5 ROWS ONLY
Constraints are rules or conditions that must be followed in order to ensure data integrity and accuracy.
Constraints define the limits or restrictions on data values in a database table
Examples of constraints include primary key, foreign key, unique key, and check constraints
Constraints help maintain data quality and consistency in a database
Low, Medium, and High priority defects are categorized based on their impact on the system and urgency of fixing.
Low priority defects are minor issues that do not significantly impact the system's functionality.
Medium priority defects are issues that have a noticeable impact on the system but are not critical.
High priority defects are critical issues that severely impact the system's functionality and need immediate at...
Joins are used to combine rows from two or more tables based on a related column between them.
Joins are used in SQL to retrieve data from multiple tables based on a related column.
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column;
A domain name from an email refers to the part after the @ symbol in an email address.
The domain name is typically the name of the organization or service provider associated with the email address.
For example, in the email address example@gmail.com, 'gmail.com' is the domain name.
dense_rank() assigns a unique rank to each distinct row, row_number() assigns a unique sequential integer to each row.
dense_rank() is used to assign a unique rank to each distinct row based on the specified order.
row_number() is used to assign a unique sequential integer to each row in the result set.
Example: dense_rank() - SELECT dense_rank() OVER (ORDER BY salary) AS rank FROM employees;
Example: row_number() - SELECT...
SCD types refer to slowly changing dimensions in data warehousing. Star schema is denormalized while snowflake schema is normalized.
SCD types refer to how dimensions change over time in a data warehouse
Type 1: Overwrite existing data with new data
Type 2: Keep track of historical data with new records
Type 3: Keep track of some historical data with limited history
Star schema is denormalized with a central fact table conn...
Group by clause is used in SQL to group rows that have the same values into summary rows.
Group by clause is used with aggregate functions like SUM, COUNT, AVG, etc.
It is used to group rows based on one or more columns specified in the query.
Group by clause must be used after the WHERE clause and before the ORDER BY clause.
Example: SELECT department, COUNT(*) FROM employees GROUP BY department;
Seeking new challenges and growth opportunities in a different environment.
Desire for career advancement
Interest in learning new technologies
Seeking a more challenging role
Company restructuring or downsizing
Relocation to a different city
My strengths include attention to detail and problem-solving skills. My weakness is sometimes being too critical of my own work.
Strength: Attention to detail - I always ensure that all aspects of the testing process are thoroughly checked.
Strength: Problem-solving skills - I am able to quickly identify and resolve issues that arise during testing.
Weakness: Being too critical of my own work - I sometimes spend too much
I was interviewed in Aug 2024.
The project is a web application for managing inventory and sales of a retail store.
Encapsulation is used to hide the internal implementation details of classes and only expose necessary methods and properties.
Abstraction is used to define a common interface for interacting with different types of inventory items, such as products and services.
For example, the Product class encapsulates details like name, price, and qu...
No, a Java program cannot be run without a main method.
The main method is the entry point of a Java program, without it the program cannot be executed.
The JVM looks for the main method to start the execution of the program.
Attempting to run a Java program without a main method will result in a compilation error.
Spring Boot is a popular framework for building Java applications due to its ease of use, rapid development capabilities, and robust features.
Provides a quick and easy way to set up a production-ready Spring application
Reduces the amount of boilerplate code required for configuration
Offers built-in support for various technologies such as embedded servers, security, and monitoring
Enables developers to focus on writing
Code to find unique elements in a list of strings
Create a HashSet to store unique elements
Iterate through the list and add elements to the HashSet
Convert the HashSet back to an array of strings
Typecasting is the process of converting one data type into another.
Explicit typecasting is done using parentheses and the desired data type.
Implicit typecasting is done automatically by the compiler.
Examples: int x = (int) 3.14; // explicit typecasting, double y = 5; // implicit typecasting
Maps store key-value pairs while lists store ordered collection of elements.
Maps use keys to access values, while lists use indexes.
Maps do not allow duplicate keys, but lists can have duplicate elements.
Maps are typically used for quick lookups based on keys, while lists are used for maintaining order of elements.
Example: Map
I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.
Spring filters are components in Spring framework that intercept incoming HTTP requests and outgoing HTTP responses.
Filters are used to perform tasks like logging, authentication, authorization, etc.
They are configured in the web.xml file or using annotations like @WebFilter.
Example: javax.servlet.Filter interface is implemented to create custom filters.
Flat map is used to flatten nested collections, while map is used to transform elements in a collection.
Flat map is used when you have a collection of collections and you want to flatten it into a single collection.
Map is used to transform each element in a collection using a given function.
Example: Using flatMap to flatten a list of lists - list.stream().flatMap(List::stream).collect(Collectors.toList())
Example: Using...
Stream API in Java 8 allows for functional-style operations on collections.
Stream API provides a way to process collections of objects in a functional way.
It supports operations like filter, map, reduce, and collect.
Example: List
Example: List
Java 8 introduced parallel programming concepts like streams, parallel streams, and CompletableFuture.
Java 8 introduced streams which allow for functional-style operations on collections.
Parallel streams allow for parallel processing of stream elements, improving performance on multi-core processors.
CompletableFuture class enables asynchronous programming by representing a future result of an asynchronous computation.
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
Abstract classes can have constructors, fields, and methods, while interfaces cannot.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract for classes to implement.
...
SOLID is a set of five design principles to make software designs more understandable, flexible, and maintainable.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses without aff...
Static keyword is used in Java to create class-level variables and methods.
Static variables are shared among all instances of a class
Static methods can be called without creating an instance of the class
Static keyword can also be used to create static blocks for initialization
I was interviewed in Jul 2024.
Infosys interview questions for popular designations
I applied via Referral and was interviewed in Sep 2024. There was 1 interview round.
iframe is used to embed another HTML document within the current document, while window handling involves managing multiple browser windows or tabs.
iframe is used to display content from another source within the current webpage
Window handling involves managing multiple browser windows or tabs
iframe is used for embedding maps, videos, or other external content
Window handling is commonly used in automated testing to swi
An exception in Java is a runtime error that disrupts the normal flow of a program.
Exceptions are objects that are thrown when an error occurs during the execution of a program.
They can be caught and handled using try-catch blocks.
Common types of exceptions include NullPointerException, ArrayIndexOutOfBoundsException, and IOException.
Get interview-ready with Top Infosys Interview Questions
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Filenet upgradation involves planning, testing, and implementing new versions of the Filenet software.
Plan the upgradation process by assessing system requirements and compatibility with existing infrastructure.
Backup all data and configurations to prevent data loss during the upgradation.
Test the new version in a controlled environment to ensure compatibility and functionality.
Implement the upgradation during a schedu...
Data migration in Filenet involves exporting data from one system and importing it into another while ensuring data integrity.
Plan the migration process including identifying data to be migrated, mapping data fields, and setting up migration tools.
Export data from the source system using Filenet export tools or APIs.
Transform the data if necessary to match the target system's data structure.
Import the data into the tar...
React JS is a popular JavaScript library for building user interfaces.
Efficient and fast rendering with virtual DOM
Component-based architecture for reusability and maintainability
Support for server-side rendering for improved SEO
Large community and ecosystem for support and resources
Error loading in React JS can be caused by various reasons such as incorrect file paths, syntax errors, or network issues.
Check if the file paths in your import statements are correct
Look for syntax errors in your code, such as missing commas or semicolons
Ensure that your network connection is stable and there are no CORS issues
Use browser developer tools to check for any console errors or network requests failing
useMemo is a React hook that memoizes the result of a function to optimize performance by avoiding unnecessary re-computations.
useMemo is used to memoize expensive calculations so that they are only computed when dependencies change.
It takes a function and an array of dependencies as arguments.
The memoized value is only recalculated when one of the dependencies has changed.
Developed a mobile app for tracking daily water intake and hydration levels
Researched user needs and preferences for water intake tracking
Designed user-friendly interface with customizable water intake goals
Implemented features for tracking hydration levels and sending reminders
Conducted user testing to gather feedback for improvements
I applied via campus placement at Dr DY Patil Institute of Technology (Womens Polytechnic), Pune and was interviewed in Oct 2024. There were 2 interview rounds.
I applied via Approached by Company and was interviewed in Aug 2024. There were 2 interview rounds.
Find 2nd max element in an array of strings.
Sort the array in descending order
Return the element at index 1
Sort strings based on city names.
Use Arrays.sort() method with a custom Comparator to sort strings based on city names.
Create a Comparator that compares the city names of two strings.
Example: String[] cities = {"New York", "London", "Paris"};
Example: Arrays.sort(cities, (a, b) -> a.compareTo(b));
I addressed team conflicts by promoting open communication, active listening, and facilitating constructive discussions.
Encouraged team members to express their concerns and viewpoints openly
Acted as a mediator to resolve conflicts and find common ground
Implemented team-building activities to improve collaboration and trust
Provided constructive feedback and guidance to help team members work through conflicts
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 4.8k interviews
Interview experience
based on 39.4k reviews
Rating in categories
Technology Analyst
55.6k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
50.6k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39.5k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.7k
salaries
| ₹5.1 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.9k
salaries
| ₹4.5 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture