i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Pure components, memo, useCallback, and HoC are optimization techniques in React for improving performance.
Pure components are components that only re-render when their props or state change.
memo is a higher order component that memoizes the result of a component rendering, preventing unnecessary re-renders.
useCallback is a hook that memoizes functions, preventing unnecessary re-creations on re-renders.
HoC (Higher Orde...
What people are saying about Capgemini
A reducer is a pure function in React that takes the previous state and an action, and returns the new state.
Reducers are used in React to manage state changes in an application
They take the previous state and an action as input
Reducers are pure functions, meaning they do not modify the state directly
They return a new state based on the previous state and the action
Redux is a popular library that uses reducers to manag
New features of HTML5 and CSS positions include flexbox, grid layout, and sticky positioning.
Flexbox allows for easier alignment and distribution of items within a container.
Grid layout enables the creation of complex layouts with rows and columns.
Sticky positioning allows elements to stick to a specific position on the page as the user scrolls.
Spread operator is used to expand an iterable object into individual elements.
Used for passing props to child components
Used for merging arrays and objects
Syntax: ...
Example: const arr = [1, 2, 3]; const newArr = [...arr, 4, 5];
Capgemini interview questions for designations
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
I applied via Recruitment Consulltant and was interviewed in Oct 2022. There were 3 interview rounds.
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
I applied via Naukri.com and was interviewed in May 2022. There was 1 interview round.
Closure is a feature in JavaScript that allows a function to access variables in its outer scope.
A closure is created when a function is defined inside another function.
The inner function has access to the outer function's variables and parameters.
The outer function's variables and parameters are not accessible from outside the closure.
Closures can be used to create private variables and methods.
Example: function outer...
ES6 features are new additions to JavaScript language syntax and functionality.
Arrow functions
Template literals
Let and const keywords
Destructuring assignment
Spread and rest operators
Classes
Modules
Promises
Default parameters
Object.assign()
Symbol data type
based on 3 interviews
1 Interview rounds
based on 2 reviews
Rating in categories
Consultant
55.4k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
50.7k
salaries
| ₹3 L/yr - ₹11.8 L/yr |
Senior Consultant
46.6k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
21k
salaries
| ₹2.2 L/yr - ₹9 L/yr |
Senior Software Engineer
20.4k
salaries
| ₹3.5 L/yr - ₹12.6 L/yr |
Wipro
Accenture
Cognizant
TCS