Filter interviews by
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
React hooks are functions that let you use state and other React features in functional components.
Allow functional components to have state and lifecycle methods
Replace class components with simpler functional components
Examples: useState, useEffect, useContext
Redux is a predictable state container for JavaScript apps, used to manage application state in a centralized store.
Redux helps manage the state of an application in a predictable way
It allows for a single source of truth for the state of the application
Redux is commonly used with React to manage the state of components
Actions are dispatched to update the state in Redux store
Reducers specify how the state changes in re
Yes, I have experience with file upload tasks. Files are saved in DB by storing the file path and retrieval is done by fetching the file path from the DB.
Used multer middleware in Node.js to handle file uploads
Saved file path in MongoDB using Mongoose schema
Retrieved file by querying the database for the file path
Implemented file upload functionality in a project using React for the front end
CRUD operations in MongoDB include create, read, update, and delete operations on documents in a collection.
Create: db.collection.insertOne()
Read: db.collection.find()
Update: db.collection.updateOne()
Delete: db.collection.deleteOne()
Aggregation is the process of combining data from multiple sources to provide a summary or overview.
Aggregation in databases involves grouping and summarizing data to provide insights.
In MongoDB, aggregation pipelines are used to process data and return computed results.
Examples of aggregation functions include sum, average, count, and group by.
They are used in MongoDB aggregation pipeline to perform various operations like joining, filtering, projecting, etc.
Used in MongoDB aggregation pipeline for data manipulation
Perform operations like joining, filtering, projecting, etc.
Help in combining data from multiple collections
Use $lookup to perform a left outer join between two collections
Developed a real-time chat application using Node.js with Socket.io for instant messaging functionality.
Implemented server-side logic using Node.js to handle incoming messages and broadcast them to all connected clients
Utilized Socket.io library to establish WebSocket connections for real-time communication
Integrated with MongoDB to store chat messages and user information
Implemented authentication and authorization me
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 Trainee
3
salaries
| ₹2.4 L/yr - ₹4.1 L/yr |
Infosys
TCS
Wipro
HCLTech