Front Office and Accounts Executive

10+ Front Office and Accounts Executive Interview Questions and Answers

Updated 6 Jul 2025
search-icon

Asked in Paytm

2d ago

Q. Given the code to flatten an array, for example: Input - [2,3,[4,5,[6,7],8,9,[0]]], Output - [2,3,4,5,6,7,8,9,0]

Ans.

Flatten a nested array into a single-level array.

  • Use recursion to iterate through each element of the array.

  • If the element is an array, call the function recursively.

  • If the element is not an array, add it to the result array.

Asked in Paytm

2d ago

Q. Write code that outputs 72 when called as add(5,3).mul(9).calc();

Ans.

Code to output 72 by calling add(5,3).mul(9).calc()

  • Define a class with add, mul, and calc methods

  • add method should add two numbers and return the class instance

  • mul method should multiply the result with a number and return the class instance

  • calc method should return the final result

  • Call the methods in the given order to get the output 72

Asked in Paytm

4d ago

Q. Write code to convert an account number to asterisk. For example, Input: PY12345, Output: PY***45

Ans.

Code to convert account number to asterisk

  • Create a function that takes in an account number as input

  • Use string slicing to replace characters with asterisks

  • Return the modified account number as output

Asked in Paytm

2d ago

Q. Create a dropdown (HTML Select tag) custom component in React.

Ans.

Creating a custom dropdown component in React using HTML Select tag.

  • Create a new component and import React

  • Use the HTML Select tag to create the dropdown

  • Use the map function to loop through the array of strings and create the options

  • Add an onChange event to handle the selection and update the state

  • Pass the array of strings as props to the component

Are these interview questions helpful?

Asked in Paytm

4d ago

Q. Write JavaScript code or a React component to create a folder and file structure.

Ans.

Use Node.js fs module to create folder and file structure in React component

  • Require fs module in React component

  • Use fs.mkdirSync() method to create folder

  • Use fs.writeFileSync() method to create file

  • Use path.join() method to join folder and file paths

  • Handle errors using try-catch block

Asked in Toddle

1d ago

Q. What are useMemo and useCallback hooks in React, and when should we ideally use them?

Ans.

useMemo and useCallback are React hooks used for performance optimization by memoizing values and functions respectively.

  • useMemo is used to memoize the result of a function so that it is only recomputed when its dependencies change.

  • useCallback is used to memoize a function instance so that it is not recreated on every render.

  • useMemo is ideal for optimizing expensive calculations or complex operations that do not depend on props or state changes.

  • useCallback is ideal for optimi...read more

Front Office and Accounts Executive Jobs

Lowes Services India Private limited logo
Senior Software Engineer_Frontend 5-10 years
Lowes Services India Private limited
4.1
Bangalore / Bengaluru
Boomi logo
Front end Software engineer 2-5 years
Boomi
3.5
Kolkata
Alter Domus logo
Senior Software Engineer ( Front End ) 5-10 years
Alter Domus
3.3
Hyderabad / Secunderabad

Asked in Paytm

1d ago

Q. Write a JavaScript code to convert a Roman numeral to a decimal number.

Ans.

JS code to convert Roman to decimal number

  • Create a map of Roman numerals to their decimal values

  • Loop through the Roman numeral string from right to left

  • If the current numeral is less than the previous numeral, subtract it from the total

  • Otherwise, add it to the total

  • Return the total

Asked in Toddle

4d ago

Q. Explain React lifecycle methods and their corresponding implementation using React hooks.

Ans.

React life cycle methods and their corresponding implementation using React hooks.

  • ComponentDidMount - useEffect hook with empty dependency array

  • ComponentDidUpdate - useEffect hook with specific dependency array

  • ComponentWillUnmount - useEffect hook with cleanup function

  • ShouldComponentUpdate - useMemo hook for memoization

  • getDerivedStateFromProps - useState hook for managing component state

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in Paytm

2d ago

Q. Write a Polyfill for the flat function.

Ans.

Polyfill for flat function

  • Create a function that takes an array and a depth as arguments

  • Use recursion to flatten the array to the specified depth

  • If depth is not specified, flatten the array completely

  • Return the flattened array

Asked in Toddle

6d ago

Q. Implement a deep clone functionality to create a copy of deeply nested objects using JavaScript.

Ans.

Implement a deep clone functionality in JavaScript for deeply nested objects.

  • Use JSON.parse(JSON.stringify(obj)) for simple objects.

  • For objects with functions or non-serializable values, use a custom recursive function.

  • Handle circular references by keeping track of visited objects.

Asked in Paytm

5d ago

Q. Create a Todo list component in React.

Ans.

Creating a Todo list component in React

  • Create a new React component for the Todo list

  • Use state to store the list of tasks

  • Render the list of tasks using map()

  • Add a form to add new tasks to the list

  • Add a button to delete tasks from the list

Asked in Paytm

6d ago

Q. Create a counter and a to-do app on the CodeSandbox platform.

Ans.

Create a counter and a to do app on codesandbox platform

  • Create a counter component with buttons to increment and decrement the count

  • Implement a to do app with input field to add tasks and a list to display them

  • Use React or any other front-end framework/library for building the apps

Asked in Reevoy

2d ago

Q. Describe your approach to building a file structure for a new project.

Ans.

Build a file structure

  • Use an array of strings to represent the file structure

  • Each string in the array represents a file or directory

  • Use a specific format to differentiate between files and directories

  • Include the parent-child relationship between directories

Asked in Paytm

3d ago

Q. Write a polyfill for Promise.all().

Ans.

Polyfill for promise.all() is a code that adds support for promise.all() in older browsers.

  • Polyfill can be implemented using a combination of Promise and Array.prototype.reduce()

  • The polyfill should return a promise that resolves when all promises in the input array have resolved

  • If any promise in the input array rejects, the polyfill should reject with the reason of the first promise that rejected

Q. Machine Learning Algorithms

Ans.

Machine learning algorithms are used to analyze data, make predictions, and automate decision-making processes.

  • Machine learning algorithms can be categorized into supervised, unsupervised, and reinforcement learning.

  • Examples of machine learning algorithms include linear regression, decision trees, support vector machines, and neural networks.

  • These algorithms require training data to learn patterns and make predictions.

  • Feature engineering is an important step in preparing data...read more

Asked in Gameskraft

3d ago

Q. Design a yin yang using CSS.

Ans.

Design a yin yang using css

  • Create a circle using border-radius property

  • Use background-color to fill the circle with black and white

  • Create two smaller circles inside the main circle using absolute positioning

  • Use transform property to rotate the smaller circles

  • Add box-shadow to create the 3D effect

Asked in TCS iON

5d ago

Q. You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your maximum jump length at that position. Return true if you can reach the...

read more
Ans.

Jump Game problem involves determining if you can reach the last index of an array based on jump lengths.

  • The input is an array of non-negative integers, where each element represents the maximum jump length from that position.

  • You start at the first index (0) and need to determine if you can reach the last index (length - 1).

  • Use a greedy approach: keep track of the farthest index you can reach as you iterate through the array.

  • If at any point your current index exceeds the fart...read more

Interview Experiences of Popular Companies

Paytm Logo
3.2
 • 800 Interviews
Schlumberger Logo
3.8
 • 145 Interviews
LinkedIn  Logo
4.3
 • 69 Interviews
Gameskraft  Logo
4.0
 • 18 Interviews
View all

Top Interview Questions for Front Office and Accounts Executive Related Skills

interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Front Office and Accounts Executive Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits