i
Infosys
Work with us
Filter interviews by
JavaScript architecture refers to the structural design of JavaScript applications, focusing on organization and scalability.
Modular architecture: Breaks code into reusable modules (e.g., using ES6 modules).
MVC pattern: Separates application logic into Model, View, and Controller (e.g., AngularJS).
Event-driven architecture: Uses events to trigger actions (e.g., Node.js with event emitters).
Single Page Applications...
An event listener is a procedure or function in a computer program that waits for an event to occur.
Event listeners are commonly used in web development to handle user interactions like clicks, key presses, etc.
They are used to trigger specific actions or functions when a certain event occurs.
Event listeners can be added to HTML elements using JavaScript.
Example: Adding a click event listener to a button element t...
JS is single threaded to ensure simplicity and prevent race conditions.
JS was designed to be single threaded to simplify programming and prevent race conditions.
Having a single thread allows for easier debugging and predictable behavior.
Examples of multi-threaded languages like Java can lead to complex synchronization issues.
JS uses an event loop to handle asynchronous operations without the need for multiple thre...
Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking and processing events.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations, ensuring that the program does not wait for one operation to complete before moving on to the next.
Event loop continuously checks the event queue for any pending e...
Transactions in Spring Boot applications are managed using @Transactional annotation.
Use @Transactional annotation on methods that need to be executed within a transaction.
Transactions can be managed programmatically using TransactionTemplate.
Spring Boot provides support for declarative transaction management.
Transactions can be configured using properties in application.properties file.
The transient keyword in Java is used to indicate that a field should not be serialized when the object is converted to a byte stream.
Transient keyword is used to prevent a field from being serialized in Java.
Transient fields are not included in the serialization process.
Transient keyword is often used for fields that are not relevant to be saved or transmitted.
Dependency injection is a design pattern in which components are given their dependencies rather than creating them internally.
Dependency injection helps in achieving loose coupling between classes.
It allows for easier testing and maintenance of code.
There are three types of dependency injection: constructor injection, setter injection, and interface injection.
Example: Instead of a class creating an instance of an...
Checked exceptions are checked at compile time, while unchecked exceptions are not.
Checked exceptions are subclasses of Exception class, except RuntimeException and its subclasses
Checked exceptions must be either caught or declared in the method signature using 'throws'
Unchecked exceptions are subclasses of RuntimeException class, and do not need to be caught or declared
IOC container is a software framework for managing dependencies in object-oriented programming.
IOC stands for Inversion of Control
It helps in decoupling components in a system
IOC container manages the creation and configuration of objects
Examples include Spring Framework's ApplicationContext and Google Guice
Load management in data page involves optimizing the loading of data to improve performance and efficiency.
Load management involves prioritizing data loading based on importance and frequency of use.
It includes techniques such as lazy loading, caching, and prefetching to minimize load times.
Examples of load management in data page include loading critical data first and deferring non-essential data.
Optimizing quer...
posted on 27 Jul 2025
I appeared for an interview before Jul 2024, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
The maximum number of subnets that can be created in a VPC depends on the CIDR block size chosen for the VPC.
The maximum number of subnets in a VPC is determined by the number of available IP addresses in the CIDR block.
Each subnet in a VPC must be associated with a unique CIDR block within the VPC's CIDR range.
For example, if a VPC is created with a CIDR block of 10.0.0.0/16, it can have up to 65,536 subnets (2^16).
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
Multithreading is the ability of a CPU to execute multiple threads concurrently, improving performance and responsiveness.
Multithreading allows multiple threads to run concurrently within the same process.
Stages of multithreading include thread creation, thread scheduling, and thread execution.
Example: A web server handling multiple client requests simultaneously using multithreading.
To run 5 tasks simultaneously, use multithreading or multiprocessing in the code.
Use multithreading or multiprocessing to create separate threads/processes for each task.
Ensure proper synchronization and communication between the threads/processes if needed.
Consider using a thread pool or multiprocessing pool for better resource management.
Example: In Python, you can use the 'threading' or 'multiprocessing' module to a...
Our deployment process involves continuous integration and automated testing before releasing to production.
We use Jenkins for continuous integration to automatically build and test code changes.
Before deployment, code changes are reviewed by team members to ensure quality.
We have different environments for testing such as development, staging, and production.
Deployment to production is done using automated scripts to ...
DDL commands are used to define or modify the structure of database objects, while DML commands are used to manage data within those objects.
DDL commands include CREATE, ALTER, DROP, TRUNCATE, etc.
DML commands include INSERT, UPDATE, DELETE, SELECT, etc.
DDL commands are used to create or modify tables, indexes, views, etc.
DML commands are used to insert, update, delete, or retrieve data from tables.
I appeared for an interview in Aug 2024.
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to pass functionality as an argument to a method.
Functional interfaces have a single abstract method and can be used with lambda expressions.
Streams provide a way to process collections of objects in a functional style.
Default methods allow interfaces to have method imple...
Demonstrating Java Streams and Lambda functions with a simple example of filtering and mapping a list of integers.
Streams allow processing sequences of elements (e.g., collections) in a functional style.
Lambda functions provide a concise way to represent a single method interface.
Example: Filtering even numbers from a list: List<Integer> evens = numbers.stream().filter(n -> n % 2 == 0).collect(Collectors.toLis...
I have experience working on various projects in different industries.
Managed a team to implement a new software system for a retail company
Led a market research project for a healthcare organization
Developed a marketing strategy for a tech startup
Collaborated with cross-functional teams on a product launch for a consumer goods company
I address contradictions by actively listening, seeking common ground, and proposing solutions collaboratively.
Listen actively to understand the perspectives of colleagues and superiors
Seek common ground by focusing on shared goals and interests
Propose solutions collaboratively by involving all parties in the decision-making process
I appeared for an interview before Jul 2024, where I was asked the following questions.
I bring a unique blend of analytical skills, industry knowledge, and a passion for problem-solving that aligns with your team's goals.
Strong analytical skills: I excel in data analysis, demonstrated by my project where I improved efficiency by 20% through data-driven decisions.
Industry knowledge: My experience in consulting has equipped me with insights into market trends, allowing me to provide valuable recommendation...
In my last project, I resolved a critical production issue by systematically identifying and addressing the root cause.
Identified the issue by monitoring system logs and user reports, which indicated a sudden spike in error rates.
Conducted a root cause analysis using tools like JIRA to track the issue's history and related changes.
Collaborated with the development team to review recent code deployments that could have ...
I applied via Company Website and was interviewed in Jul 2024. There were 3 interview rounds.
Count unique values of a column, excluding null values.
Use SQL query with COUNT(DISTINCT column_name) to count unique values.
Filter out null values using WHERE clause.
Example: SELECT COUNT(DISTINCT column_name) FROM table_name WHERE column_name IS NOT NULL;
React is a JavaScript library for building user interfaces.
React is used for creating interactive UI components.
It uses a virtual DOM for efficient rendering.
React components have a lifecycle which includes mounting, updating, and unmounting.
Some of the lifecycle methods include componentDidMount, componentDidUpdate, and componentWillUnmount.
Hooks in programming are functions that allow developers to execute code at specific points in the application's lifecycle.
Hooks are used in React to add functionality to functional components.
useState is a hook used to add state to functional components.
useEffect is a hook used to perform side effects in functional components.
Custom hooks can be created to reuse logic across multiple components.
What people are saying about Infosys
Some of the top questions asked at the Infosys Associate Consultant interview -
The duration of Infosys Associate Consultant interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 255 interview experiences
Difficulty level
Duration
based on 1.2k reviews
Rating in categories
Technology Analyst
54.9k
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
30.7k
salaries
| ₹8.3 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture