Genpact
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed before Aug 2023. There was 1 interview round.
States are mutable data managed within a component, while props are immutable data passed from parent to child components.
States are managed within a component and can be changed using setState method
Props are passed from parent to child components and are immutable
States are used for internal component data management, while props are used for passing data between components
Example: A counter component may have a stat...
Data can be passed from children to parents in React components by using callback functions.
Use callback functions to pass data from child components to parent components
Parent component passes a function as a prop to child component
Child component calls the function with the data as an argument to pass data to parent component
A reusable React form component that dynamically generates fields and displays inputs in a table format.
Use React's state to manage form data dynamically.
Utilize a mapping function to render form fields based on an array of field definitions.
Implement a submit handler to process the form data.
Display the form inputs in a table format using HTML table elements.
Example of field definitions: [{ label: 'Name', type: 'text'...
I applied via Company Website and was interviewed in Apr 2021. There were 3 interview rounds.
What people are saying about Genpact
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
React is a JavaScript library for building user interfaces that uses a virtual DOM to efficiently update the UI.
React creates a virtual DOM to represent the UI components.
When state or props change, React compares the virtual DOM with the actual DOM and updates only the necessary parts.
React uses a component-based architecture to build reusable UI elements.
React uses JSX, a syntax extension for JavaScript, to write com...
Redux is a predictable state container for JavaScript apps.
Redux stores the entire state of the application in a single immutable object.
Actions are dispatched to describe state changes.
Reducers specify how the state changes in response to actions.
Components can subscribe to the Redux store to access the state.
Redux helps manage the state of complex applications and makes it easier to debug and test.
Example: dispatchin...
Arrow functions are used for concise syntax, lexical scoping of 'this', and implicit return of single expressions.
Arrow functions have a more concise syntax compared to traditional function expressions.
Arrow functions do not bind their own 'this' value, instead they inherit 'this' from the containing scope.
Arrow functions automatically return the result of a single expression without needing the 'return' keyword.
Destructuring syntax allows for easy extraction of values from arrays or objects in JavaScript.
Simplifies code by providing a concise way to extract multiple values from arrays or objects
Improves readability and maintainability of code
Can be used in function parameters to destructure objects directly
Example: const person = { name: 'John', age: 30 }; const { name, age } = person;
I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.
There were 15 mcq questions from JS, React,HTML and CSS
I appeared for an interview in Feb 2025, where I was asked the following questions.
Understanding the JavaScript event loop is crucial for predicting output in asynchronous code execution.
The event loop handles asynchronous operations in JavaScript, allowing non-blocking execution.
JavaScript uses a call stack and a message queue to manage execution contexts.
Example: setTimeout(() => console.log('A'), 0); console.log('B'); outputs 'B' then 'A'.
Microtasks (like Promises) are processed before macrotas...
React.memo is a higher-order component that optimizes functional components by memoizing their output.
React.memo prevents unnecessary re-renders by memoizing the component's output based on props.
It is useful for functional components that render the same output given the same props.
Example usage: const MemoizedComponent = React.memo(MyComponent);
You can provide a custom comparison function as the second argument to Re...
Redux is a predictable state container for JavaScript apps. It helps manage the state of an application in a more organized way.
Redux is a state management tool commonly used with React to manage the state of an application.
It follows a unidirectional data flow, where the state is stored in a single store.
Actions are dispatched to update the state, and reducers specify how the state should change in response to actions...
Context API is used in React to pass data through the component tree without having to pass props down manually at every level.
Avoids prop drilling by providing a way to share values like themes, user data, etc. across the component tree.
Helps in managing global state in React applications.
Context API consists of Provider and Consumer components to provide and consume the context data.
Can be used for theming, localizat...
based on 1 interview experience
Difficulty level
Duration
Process Developer
38k
salaries
| ₹2.4 L/yr - ₹7.2 L/yr |
Process Associate
28.9k
salaries
| ₹1.8 L/yr - ₹4.8 L/yr |
Management Trainee
22.2k
salaries
| ₹4.2 L/yr - ₹8.6 L/yr |
Assistant Manager
21.6k
salaries
| ₹6 L/yr - ₹13.4 L/yr |
Manager
8.5k
salaries
| ₹11 L/yr - ₹19.1 L/yr |
Accenture
Capgemini
TCS
Cognizant