Filter interviews by
EventLoop is a mechanism in JavaScript that allows for asynchronous operations to be executed in a non-blocking manner.
EventLoop is responsible for handling asynchronous operations in JavaScript.
It continuously checks the call stack and the task queue, moving tasks from the queue to the stack when the stack is empty.
EventLoop ensures that JavaScript remains single-threaded and non-blocking, allowing for efficient handl
Callback functions are functions passed as arguments to other functions to be executed later.
Callback functions are commonly used in asynchronous programming.
They allow for functions to be executed after another function has finished.
Examples include event listeners in web development.
Top trending discussions
posted on 11 Dec 2024
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Use the built-in reverse() method to reverse an array in JavaScript.
Use the reverse() method on the array to reverse its elements in place.
Example: let arr = ['apple', 'banana', 'cherry']; arr.reverse(); // ['cherry', 'banana', 'apple']
posted on 21 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Class components are ES6 classes that extend from React.Component and have a render method, while functional components are simple functions that return JSX.
Class components are more feature-rich and have access to lifecycle methods like componentDidMount, componentDidUpdate, etc.
Functional components are simpler and easier to read, especially for simple UI components.
Functional components can use React Hooks to manage...
A basic function component in React
Create a function component using the 'function' keyword
Return JSX elements within the component function
Example: const MyComponent = () => { return
Virtual DOM is a lightweight copy of the actual DOM that allows for efficient updates and rendering in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing direct manipulation of the actual DOM.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to identify the minimal number of updates needed.
This approach reduces the number of DOM ...
Foreign key in SQL is a field in a table that is a primary key in another table, establishing a relationship between the two tables.
A foreign key constraint ensures referential integrity between two related tables.
It helps maintain consistency and avoid orphan records.
Example: In a database with tables 'orders' and 'customers', the 'customer_id' in 'orders' table can be a foreign key referencing the 'id' column in 'cus
Props are read-only properties that are passed from a parent component to a child component in React.
Props allow data to be passed down the component tree.
Props are immutable and cannot be changed by the child component.
Props are accessed in the child component using this.props.
posted on 23 Aug 2024
Error handling middleware is a function that processes errors in an Express application.
Error handling middleware is defined with four parameters: err, req, res, and next.
It is used to catch errors that occur during the execution of route handlers or other middleware functions.
It is typically defined at the end of the middleware chain with app.use() and has a signature like (err, req, res, next) => {...}.
Example: app.u...
Good one hour arrays linbklist strings
I would choose MongoDB for its flexibility and scalability in handling unstructured data.
MongoDB is a NoSQL database, making it easier to work with unstructured data compared to MySQL which is a relational database.
MongoDB is highly scalable and can handle large amounts of data and high traffic loads.
MongoDB is a good choice for applications that require frequent updates and real-time analytics.
MySQL is a better choice...
I applied via Company Website and was interviewed in Feb 2024. There was 1 interview round.
Oops,Function ,and basic concept of cloud
I applied via Campus Placement and was interviewed in Jul 2023. There were 2 interview rounds.
Software Developer
4
salaries
| ₹1.2 L/yr - ₹5.2 L/yr |
Web Developer
4
salaries
| ₹1.2 L/yr - ₹2.7 L/yr |
Software Tester
3
salaries
| ₹3 L/yr - ₹4.6 L/yr |
HR Executive
3
salaries
| ₹2.5 L/yr - ₹2.8 L/yr |
Innoraft Solutions
TCS
Accenture
Wipro