Upload Button Icon Add office photos

Accenture

Compare button icon Compare button icon Compare

Filter interviews by

Accenture Reactjs Developer Interview Questions and Answers

Updated 21 Oct 2024

9 Interview questions

A Reactjs Developer was asked 8mo ago
Q. How can you flatten an array without using built-in methods?
Ans. 

Flatten an array without using inbuilt methods

  • Use recursion to iterate through the array and flatten it

  • Create a new array to store the flattened elements

  • Check if each element is an array, if so, recursively call the function to flatten it

A Reactjs Developer was asked 8mo ago
Q. Given an array of objects, sort them based on their ages.
Ans. 

Sorting objects by age involves comparing age properties and rearranging them in ascending or descending order.

  • Use the JavaScript `sort()` method to sort the array of objects.

  • Example: `array.sort((a, b) => a.age - b.age)` for ascending order.

  • For descending order, use: `array.sort((a, b) => b.age - a.age)`.

  • Ensure the age property exists in each object to avoid errors.

Reactjs Developer Interview Questions Asked at Other Companies

Q1. Implement a counter with increment and decrement buttons. Include ... read more
asked in Java R & D
Q2. What are Call, apply and bind methods, what is currying in JavaSc ... read more
Q3. Display a list of products using the flexbox layout. Create a sor ... read more
asked in Infosys
Q4. What is the difference between a development dependency and a reg ... read more
asked in NeoSOFT
Q5. Develop a Progress Bar React Component from scratch, without usin ... read more
A Reactjs Developer was asked 11mo ago
Q. What is the need for destructuring syntax?
Ans. 

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;

A Reactjs Developer was asked 11mo ago
Q. Why are arrow functions used?
Ans. 

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.

What people are saying about Accenture

View All
lavenderalmond
Verified Icon
2d
works at
Accenture
Which offer should I choose – BP vs UKG (SRE Role)?
Got two offers: 🔹 BP – ₹10 LPA (Pune, Hybrid) Stable MNC, decent WLB, slower growth In-hand ~₹62K/month 🔹 UKG – ₹20 LPA (Noida, Hybrid) Strong perks (₹6L insurance, wellness, equity, bonus), high pay In-hand ~₹1.4L/month, but higher expectations Looking for: SRE growth, WLB, learning, and long-term stability What would you pick and why? Any feedback from current/ex-employees is appreciated!
Got a question about Accenture?
Ask anonymously on communities.
🔥 Asked by recruiter 2 times
A Reactjs Developer was asked 12mo ago
Q. How does React work?
Ans. 

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 writ...

A Reactjs Developer was asked 12mo ago
Q. How does Redux work?
Ans. 

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: dispa...

A Reactjs Developer was asked
Q. Describe use cases for useState and useEffect.
Ans. 

useState manages state, while useEffect handles side effects in functional components.

  • useState initializes state: const [count, setCount] = useState(0);

  • useEffect runs side effects: useEffect(() => { document.title = `Count: ${count}`; }, [count]);

  • useState can hold any data type: const [user, setUser] = useState({ name: '', age: 0 });

  • useEffect can mimic lifecycle methods: useEffect(() => { fetchData(); }, [])...

Are these interview questions helpful?
A Reactjs Developer was asked
Q. Write a general reusable form component in Reactjs where fields are dynamic and inputs to the form are displayed in a table format.
Ans. 

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: '...

A Reactjs Developer was asked
Q. How do you make a page responsive. Bootstrap layouts and alerts
Ans. 

To make a page responsive, use Bootstrap layouts and alerts.

  • Use Bootstrap's grid system to create responsive layouts

  • Use media queries to adjust the layout based on screen size

  • Use Bootstrap's responsive utility classes to hide/show elements on different devices

  • Use Bootstrap's responsive navigation components for mobile-friendly menus

  • Use Bootstrap's responsive images to ensure they scale properly

  • Use Bootstrap's resp...

Accenture Reactjs Developer Interview Experiences

8 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Flat the array without using the inbuilt methods
  • Ans. 

    Flatten an array without using inbuilt methods

    • Use recursion to iterate through the array and flatten it

    • Create a new array to store the flattened elements

    • Check if each element is an array, if so, recursively call the function to flatten it

  • Answered by AI
  • Q2. Sort the given objects based on the ages
  • Ans. 

    Sorting objects by age involves comparing age properties and rearranging them in ascending or descending order.

    • Use the JavaScript `sort()` method to sort the array of objects.

    • Example: `array.sort((a, b) => a.age - b.age)` for ascending order.

    • For descending order, use: `array.sort((a, b) => b.age - a.age)`.

    • Ensure the age property exists in each object to avoid errors.

  • Answered by AI

Reactjs Developer Interview Questions & Answers

user image vaibhav chakane

posted on 7 Feb 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Javascript array methods like filter and reduce. Javascript guess the output questions based on variables and functions.
  • Q2. React lifecycle methods
  • Q3. UseState and useEffect usecase
  • Ans. 

    useState manages state, while useEffect handles side effects in functional components.

    • useState initializes state: const [count, setCount] = useState(0);

    • useEffect runs side effects: useEffect(() => { document.title = `Count: ${count}`; }, [count]);

    • useState can hold any data type: const [user, setUser] = useState({ name: '', age: 0 });

    • useEffect can mimic lifecycle methods: useEffect(() => { fetchData(); }, []); for...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Why is arrow function used
  • Ans. 

    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.

  • Answered by AI
  • Q2. What is the need of de structuring syntax
  • Ans. 

    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;

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - focus on fundamentals

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. How React Works?
  • Ans. 

    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...

  • Answered by AI
  • Q2. How Redux Works?
  • Ans. 

    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...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be fundamentally clear with Javascript concepts

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Apr 2022. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. I gave technical interview with Accenture for react js developer. They asked questions majorly related to software development like session storage, Server side rendering Url Constructor Saas Web workers...

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare for basics more. Javascript specific questions were minimal most of them were related to core concepts only.

I applied via Naukri.com and was interviewed in Aug 2021. There were 4 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. Html - Form, meta tags
  • Q2. Css - Grid box.
  • Q3. How do you make a page responsive. Bootstrap layouts and alerts
  • Ans. 

    To make a page responsive, use Bootstrap layouts and alerts.

    • Use Bootstrap's grid system to create responsive layouts

    • Use media queries to adjust the layout based on screen size

    • Use Bootstrap's responsive utility classes to hide/show elements on different devices

    • Use Bootstrap's responsive navigation components for mobile-friendly menus

    • Use Bootstrap's responsive images to ensure they scale properly

    • Use Bootstrap's responsiv...

  • Answered by AI
  • Q4. Javascript array based questions
  • Q5. Questions from redux, hook, use state, UseEffect

Interview Preparation Tips

Interview preparation tips for other job seekers - I had a call from Accenture HR asking my interest for the role. Three rounds - 1st is mcq which had 30 questions for 35min. Moderate to tough.
Second round is technical interview, took around 2 hours. Totally exhausted after 1st hour. Interviewer asked to write few codes in the live code share screen. The process is completed in a week

Skills evaluated in this interview

I applied via Company Website and was interviewed in Apr 2021. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Basic questions
  • Q2. Lifecycle, let vs bar, real dom vs shadow dom

Interview Preparation Tips

Interview preparation tips for other job seekers - Worst Company
Even after clearing all round.. they said candidature is closed due to verification didn't match.

Interview Questionnaire 

1 Question

  • Q1. Asked to write a general reusable form component in Reactjs, fields should be dynamic and inputs to the form should get displayed as table format.
  • Ans. 

    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'...

  • Answered by AI

Interview questions from similar companies

Interview Questionnaire 

2 Questions

  • Q1. Basics of javascript like Closures, IIFE, Hoisting.
  • Q2. React hooks

I applied via LinkedIn and was interviewed in Jun 2021. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. What is hoisting ?
  • Ans. 

    Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope.

    • Variables declared with var are hoisted to the top of their scope

    • Function declarations are hoisted before variables

    • Function expressions are not hoisted

    • Hoisting can lead to unexpected behavior and bugs

  • Answered by AI
  • Q2. What is useEffect ?
  • Ans. 

    useEffect is a hook in React that allows you to perform side effects in functional components.

    • It replaces componentDidMount, componentDidUpdate, and componentWillUnmount.

    • It takes two arguments: a function that performs the side effect and an array of dependencies.

    • The function is called after every render, unless the dependencies haven't changed.

    • Common use cases include fetching data, setting up event listeners, and upd...

  • Answered by AI
  • Q3. What is function currying
  • Ans. 

    Function currying is a technique of transforming a function that takes multiple arguments into a sequence of functions that each take a single argument.

    • Currying allows partial application of a function.

    • It helps in creating reusable functions.

    • Curried functions are composable and can be easily combined to create new functions.

    • Currying can be achieved using closures or by using libraries like Lodash or Ramda.

    • Example: cons...

  • Answered by AI
  • Q4. What is closures in js
  • Ans. 

    Closures are functions that have access to variables in their outer scope, even after the outer function has returned.

    • Closures are created when a function is defined inside another function.

    • The inner function has access to the outer function's variables and parameters.

    • Closures can be used to create private variables and methods.

    • Closures can also be used to create functions with pre-set arguments.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Only a single round which lasted for almost 30 min. It was relatively easy one with basic qns on javascript

Skills evaluated in this interview

Accenture Interview FAQs

How many rounds are there in Accenture Reactjs Developer interview?
Accenture interview process usually has 1 rounds. The most common rounds in the Accenture interview process are Technical and One-on-one Round.
What are the top questions asked in Accenture Reactjs Developer interview?

Some of the top questions asked at the Accenture Reactjs Developer interview -

  1. How do you make a page responsive. Bootstrap layouts and aler...read more
  2. Asked to write a general reusable form component in Reactjs, fields should be d...read more
  3. what is the need of de structuring syn...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.5/5

based on 4 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more
Accenture Reactjs Developer Salary
based on 106 salaries
₹4.4 L/yr - ₹10.5 L/yr
21% more than the average Reactjs Developer Salary in India
View more details

Accenture Reactjs Developer Reviews and Ratings

based on 4 reviews

3.1/5

Rating in categories

4.0

Skill development

2.7

Work-life balance

2.7

Salary

2.8

Job security

3.5

Company culture

2.1

Promotions

2.9

Work satisfaction

Explore 4 Reviews and Ratings
Application Development Analyst
39.3k salaries
unlock blur

₹4.8 L/yr - ₹11 L/yr

Application Development - Senior Analyst
27.7k salaries
unlock blur

₹8.3 L/yr - ₹16.1 L/yr

Team Lead
26.6k salaries
unlock blur

₹12.6 L/yr - ₹22.5 L/yr

Senior Analyst
19.5k salaries
unlock blur

₹9.1 L/yr - ₹15.7 L/yr

Senior Software Engineer
18.5k salaries
unlock blur

₹10.4 L/yr - ₹18 L/yr

Explore more salaries
Compare Accenture with

TCS

3.6
Compare

Cognizant

3.7
Compare

Capgemini

3.7
Compare

Infosys

3.6
Compare
write
Share an Interview