Accenture
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Prop drilling is the process of passing props down multiple levels of nested components in React.
Prop drilling occurs when a prop needs to be passed through multiple levels of components that do not need the prop themselves.
It can lead to unnecessary passing of props through intermediate components, making the code harder to maintain.
To avoid prop drilling, you can use Context API, Redux, or React's useContext and useR...
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their assignments.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
useContext hook allows components to access data from a context without passing props down manually
useContext hook is used to consume a context created by React.createContext
It takes the context object as an argument and returns the current context value for that context
It allows components to subscribe to context changes and re-render when the context value changes
I appeared for an interview in Oct 2024.
React Query is a library for managing server state in React applications, while Redux is a state management library for managing client-side state.
React Query is specifically designed for managing server state, making it easier to fetch, cache, and update data from APIs.
Redux is a more general-purpose state management library that can be used for managing client-side state in a predictable way.
React Query provides buil...
Interface is for defining object shapes and types, while type is for creating aliases for existing types.
Interface is used for defining the structure of an object in TypeScript.
Type is used to create aliases for existing types, making code more readable and reusable.
Interfaces can be extended or implemented, while types can be used to create union types or intersection types.
Interfaces are open for extension, while typ
I appeared for an interview in Feb 2025, where I was asked the following questions.
useState() is a React Hook that allows functional components to manage state.
useState() is imported from React: `import React, { useState } from 'react';`
It returns an array with two elements: the current state and a function to update it.
Example: `const [count, setCount] = useState(0);` initializes count to 0.
The state can be updated by calling the updater function: `setCount(count + 1);`.
useState() can hold any data
React JS offers a component-based architecture, efficient rendering, and a strong community, making it ideal for modern web development.
Component-Based Architecture: React allows developers to build encapsulated components that manage their own state, making code reusable and easier to maintain.
Virtual DOM: React uses a virtual representation of the DOM to optimize rendering, resulting in faster updates and improved pe...
React JS has limitations such as performance issues, SEO challenges, and a steep learning curve for beginners.
Performance: Large applications can lead to performance bottlenecks if not optimized properly. For example, excessive re-renders can slow down the app.
SEO Challenges: React applications can have issues with search engine optimization since content is rendered on the client-side. Server-side rendering (SSR) can ...
Keys in React are unique identifiers for elements in lists, helping React optimize rendering and manage component updates efficiently.
Keys help React identify which items have changed, are added, or are removed.
They should be unique among siblings but can be reused in different lists.
Using indexes as keys can lead to issues with component state and performance.
Example: <li key={item.id}>{item.name}</li> in
JSX is a syntax extension for JavaScript that allows writing HTML-like code within JavaScript, primarily used in React.
JSX stands for JavaScript XML.
It allows developers to write HTML structures in the same file as JavaScript code.
JSX is transpiled to JavaScript using tools like Babel.
Example: <h1>Hello, World!</h1> becomes React.createElement('h1', null, 'Hello, World!').
JSX can also embed JavaScript expre...
Functional components are simpler and use hooks, while class components manage state and lifecycle methods.
Functional components are stateless and simpler, while class components can manage state and lifecycle methods.
Functional components use hooks (e.g., useState, useEffect) for state and side effects, whereas class components use 'this.state' and 'this.setState'.
Class components require 'render()' method to return J...
What people are saying about Accenture
I applied via Referral and was interviewed in Jan 2024. There were 3 interview rounds.
Virtual DOM is a lightweight copy of the actual DOM that React uses to improve performance by minimizing direct manipulation of the actual DOM.
Virtual DOM is a representation of the actual DOM in the form of a lightweight copy.
When changes are made to the virtual DOM, React compares it with the actual DOM to identify the minimal number of changes needed.
This process helps in optimizing performance by reducing direct ma...
Reconciliation in React is the process of updating the DOM to match the virtual DOM.
Reconciliation is the algorithm that React uses to update the UI efficiently.
It compares the virtual DOM with the previous virtual DOM and only updates the necessary components.
Reconciliation helps in improving performance by minimizing DOM manipulations.
Key prop is important for reconciliation to identify which items have changed, adde...
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function's scope
They maintain a reference to the variables they need, even after the parent function has finished executing
Closures are commonly used in event handlers and callbacks
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Hoisting applies to both variable and function declarations.
Variable declarations are hoisted to the top of their scope but not their assignments.
Function declarations are fully hoisted, meaning they can be called before they are declared.
ES6 features are modern JavaScript syntax enhancements that make code more concise and readable.
Arrow functions for more concise syntax: const add = (a, b) => a + b;
Let and const for block-scoped variables: let x = 5; const y = 10;
Template literals for string interpolation: const name = 'Alice'; console.log(`Hello, ${name}!`);
Destructuring assignment for easily extracting values from objects or arrays: const { firstNam...
React Fiber is a complete rewrite of React's core algorithm for rendering UI components.
React Fiber is a reimplementation of the React core algorithm.
It allows for incremental rendering, prioritizing updates based on their priority level.
Fiber reconciles the virtual DOM tree in a more efficient and flexible way.
It enables features like error boundaries, async rendering, and more.
Fiber was introduced in React version 16
Implementing dark mode in an application involves changing the color scheme to darker tones for better visibility in low light environments.
Use CSS variables to define color schemes for light and dark modes
Toggle between light and dark mode using a state variable in React
Apply the appropriate color scheme based on the selected mode
Allow users to switch between light and dark mode using a toggle button
Accenture interview questions for designations
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
Get interview-ready with Top Accenture Interview Questions
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Hooks are a feature in React that allow you to use state and other React features in functional components.
Hooks were introduced in React 16.8.
They allow you to use state and other React features without writing a class component.
Commonly used hooks include useState, useEffect, useContext, and useReducer.
Hooks must be used at the top level of a functional component.
Hooks can be custom created as well.
Life cycle methods are methods that are called at different stages of a component's life cycle in React.
Mounting phase: constructor, render, componentDidMount
Updating phase: shouldComponentUpdate, render, componentDidUpdate
Unmounting phase: componentWillUnmount
Redux is a predictable state container for JavaScript apps.
Redux helps manage the state of an application in a predictable way
It allows for a single source of truth for the state
Actions are dispatched to update the state through reducers
Example: createStore, combineReducers, applyMiddleware
useEffect variants are different ways to use the useEffect hook in React for handling side effects.
useEffect with empty dependency array for running only once on mount
useEffect with dependency array for running on specific dependencies change
useEffect with cleanup function for cleaning up side effects
useEffect with return function for cleanup on unmount
I applied via Company Website and was interviewed in Oct 2023. There was 1 interview round.
CI/CD pipelines automate the process of testing and deploying code changes.
CI stands for Continuous Integration, which involves automatically building and testing code changes as they are committed to the repository.
CD stands for Continuous Deployment or Continuous Delivery, which involves automatically deploying code changes to production after passing tests.
CI/CD pipelines help in ensuring code quality, reducing manu...
I applied via Naukri.com and was interviewed before May 2023. There was 1 interview round.
State is mutable and managed within a component, while props are immutable and passed from parent to child components.
State is managed within a component and can be changed using setState() method
Props are passed from parent to child components and cannot be changed within the child component
State is used for internal component data management, while props are used for passing data from parent to child components
React is a JavaScript library for building user interfaces, while JavaScript is a programming language used for web development.
React is a library for building user interfaces, while JavaScript is a programming language.
React uses a virtual DOM for faster rendering, while JavaScript directly manipulates the DOM.
React allows for component-based architecture, while JavaScript is more procedural in nature.
React provides a...
ReactJS is popular for its virtual DOM, component-based architecture, and strong community support.
React's virtual DOM allows for efficient updates and improved performance.
Component-based architecture promotes reusability and maintainability of code.
React has a large and active community, providing extensive resources and support.
React's JSX syntax makes it easier to write and understand code compared to other framewo
The duration of Accenture React Js Frontend Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 12 interviews
1 Interview rounds
based on 8 reviews
Rating in categories
Application Development Analyst
39k
salaries
| ₹3 L/yr - ₹12 L/yr |
Application Development - Senior Analyst
27.4k
salaries
| ₹7 L/yr - ₹20.2 L/yr |
Team Lead
24.9k
salaries
| ₹7.2 L/yr - ₹25.7 L/yr |
Senior Software Engineer
18.2k
salaries
| ₹6 L/yr - ₹20 L/yr |
Senior Analyst
17.9k
salaries
| ₹5.5 L/yr - ₹21.3 L/yr |
TCS
Cognizant
Capgemini
Infosys