i
Xcelore
Filter interviews by
A simple Todo List app built using React
Create a new React project using create-react-app
Create a Todo component to display the list of todos
Use state to manage the list of todos and input field for adding new todos
Implement functionality to add, delete, and mark todos as completed
Promises are a way to handle asynchronous operations in JavaScript, providing a cleaner alternative to callbacks.
Promises represent the eventual completion (or failure) of an asynchronous operation.
They allow you to chain multiple asynchronous operations together.
Promises have states: pending, fulfilled, or rejected.
You can handle the result of a promise using .then() and .catch() methods.
Example: const myPromise ...
REST API is a standard protocol for web services using HTTP, while GraphQL is a query language for APIs.
REST API follows a client-server architecture with stateless communication, while GraphQL allows clients to request only the data they need.
REST API typically uses multiple endpoints for different resources, while GraphQL uses a single endpoint for flexible data retrieval.
REST API has predefined data structures,...
Callback Hell is a situation in asynchronous programming where multiple nested callbacks make the code hard to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Leads to deeply nested code which is hard to read and maintain
Can be avoided by using Promises or async/await syntax
Async/Await is a feature in JavaScript that allows for asynchronous programming using promises.
Async/Await is syntactic sugar built on top of promises in JavaScript.
It allows for writing asynchronous code that looks synchronous, making it easier to read and maintain.
Async functions return a promise, which allows for chaining multiple asynchronous operations.
Await keyword is used inside async functions to wait for ...
Closures are functions that have access to variables from their containing scope even after the parent function has finished executing.
Closures allow functions to maintain access to variables from their outer scope
They are created when a function is defined within another function
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.
Variable and function declarations are hoisted to the top of their scope.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
Hoisting can lead to unexpected behavior if not understood properly.
I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Variable and function declarations are hoisted to the top of their scope.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
Hoisting can lead to unexpected behavior if not understood properly.
Closures are functions that have access to variables from their containing scope even after the parent function has finished executing.
Closures allow functions to maintain access to variables from their outer scope
They are created when a function is defined within another function
Closures are commonly used in event handlers and callbacks
Promises are a way to handle asynchronous operations in JavaScript, providing a cleaner alternative to callbacks.
Promises represent the eventual completion (or failure) of an asynchronous operation.
They allow you to chain multiple asynchronous operations together.
Promises have states: pending, fulfilled, or rejected.
You can handle the result of a promise using .then() and .catch() methods.
Example: const myPromise = new...
Callback Hell is a situation in asynchronous programming where multiple nested callbacks make the code hard to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Leads to deeply nested code which is hard to read and maintain
Can be avoided by using Promises or async/await syntax
Async/Await is a feature in JavaScript that allows for asynchronous programming using promises.
Async/Await is syntactic sugar built on top of promises in JavaScript.
It allows for writing asynchronous code that looks synchronous, making it easier to read and maintain.
Async functions return a promise, which allows for chaining multiple asynchronous operations.
Await keyword is used inside async functions to wait for a pro...
A simple Todo List app built using React
Create a new React project using create-react-app
Create a Todo component to display the list of todos
Use state to manage the list of todos and input field for adding new todos
Implement functionality to add, delete, and mark todos as completed
REST API is a standard protocol for web services using HTTP, while GraphQL is a query language for APIs.
REST API follows a client-server architecture with stateless communication, while GraphQL allows clients to request only the data they need.
REST API typically uses multiple endpoints for different resources, while GraphQL uses a single endpoint for flexible data retrieval.
REST API has predefined data structures, whil...
Top trending discussions
posted on 18 Jun 2025
I appeared for an interview in Dec 2024, where I was asked the following questions.
I prioritize addressing technical debt through regular assessments, refactoring, and integrating it into the development process.
Conduct regular code reviews to identify areas of technical debt, such as outdated libraries or inefficient algorithms.
Implement a 'debt backlog' where technical debt items are tracked and prioritized alongside new features.
Allocate specific time in sprints for refactoring and addressing tech...
I appeared for an interview in Nov 2024, where I was asked the following questions.
Go Modules are a dependency management system for Go programming language, enabling versioning and isolation of packages.
Introduced in Go 1.11 to manage dependencies more effectively.
Allows developers to define module dependencies in a 'go.mod' file.
Supports semantic versioning, making it easier to manage package versions.
Modules can be versioned, allowing for reproducible builds.
Example: 'module example.com/my/module'...
Goroutines are lightweight, managed by Go runtime, while threads are OS-level, heavier, and managed by the OS.
Goroutines are cheaper in terms of memory and resources compared to threads.
Goroutines are multiplexed onto a smaller number of OS threads, allowing for efficient concurrency.
Creating a goroutine is as simple as using the 'go' keyword, e.g., 'go myFunction()'.
Threads require more overhead for creation and manag...
I applied via Company Website and was interviewed before May 2023. There was 1 interview round.
I had to evaluate a software and let them understand where this software could be implemented and the pros and cons of the software.
I applied via Campus Placement and was interviewed before Sep 2021. There were 2 interview rounds.
Mcqs on javascript,. 1 coding question
posted on 2 Jul 2021
I applied via Recruitment Consultant and was interviewed in Jan 2021. There was 1 interview round.
posted on 4 May 2019
I applied via Naukri.com and was interviewed in Oct 2018. There were 3 interview rounds.
This question involves creating a specific pattern using loops and conditional statements in programming.
Identify the desired pattern (e.g., asterisks, numbers).
Use nested loops: outer loop for rows, inner loop for columns.
Control the output format with conditional statements.
Example: For a pyramid pattern, increase spaces and asterisks in each row.
posted on 9 May 2021
I have a solid understanding of JS, Node.js, React, and MongoDB, with practical experience in building full-stack applications.
JavaScript: Proficient in ES6+ features, asynchronous programming, and DOM manipulation. Example: Built a dynamic web app using vanilla JS.
Node.js: Experienced in building RESTful APIs and handling server-side logic. Example: Developed a Node.js API for a task management app.
React: Skilled in c...
Modules in Node.js are reusable blocks of code that encapsulate related functionality.
Modules in Node.js can be built-in modules like fs (file system) or third-party modules like express.
Modules help in organizing code into separate files for better maintainability and reusability.
Modules can be imported using the require() function in Node.js.
Indexes in MongoDB improve query performance by allowing the database to quickly locate and retrieve specific documents.
Indexes help to speed up query performance by allowing the database to quickly locate specific documents based on the indexed fields.
Without indexes, MongoDB would have to perform a collection scan, which can be slow and resource-intensive.
Indexes can be created on single fields or compound fields to ...
Hooks are a feature in React that allow you to use state and other React features in functional components. useRef is a hook that allows you to create a mutable object that persists for the lifetime of the component.
Hooks are used to add state and lifecycle methods to functional components in React
useRef is used to create a mutable reference that persists between renders
useRef can be used to access DOM elements directl...
posted on 16 Aug 2024
Ternary operator in Python is a conditional expression that evaluates to a value based on a condition.
Ternary operator is written as 'value_if_true if condition else value_if_false'
It is a shorthand way of writing an if-else statement in a single line
Example: x = 10 if a > b else 20
based on 1 interview experience
Difficulty level
Duration
based on 4 reviews
Rating in categories
Senior Software Engineer
11
salaries
| ₹9 L/yr - ₹16.6 L/yr |
Software Engineer
5
salaries
| ₹4 L/yr - ₹7 L/yr |
Product Manager
4
salaries
| ₹5 L/yr - ₹14 L/yr |
ml engineer
4
salaries
| ₹4.2 L/yr - ₹7.4 L/yr |
Devops Engineer
3
salaries
| ₹6 L/yr - ₹13 L/yr |
Zidio Development
NexTurn
Springbord Systems
Kanerika Software