i
CognitiveClouds
Filter interviews by
Sorting a string and array
Use the sort() method to sort an array
Use the split() method to convert a string to an array
Use the join() method to convert an array to a string
Create a collection of objects from given data
Iterate through the data and create an object for each item
Assign the relevant properties to each object
Push each object to an array to create the collection
Top trending discussions
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
Props are used to pass data from parent to child components in React. Ternary operator is a conditional operator that evaluates a condition and returns one of two values.
Props are read-only and help in maintaining the unidirectional data flow in React
Ternary operator syntax: condition ? value if true : value if false
Example of props:
Example of ternary operator: const message = isTrue ?
Redux is a state management library for JavaScript applications. Middleware is a function that intercepts actions before they reach the reducer.
Redux is used to manage the state of an application in a predictable way.
Middleware in Redux allows you to write logic that has access to the actions being dispatched.
Common middleware in Redux includes logging, asynchronous API calls, and routing.
Example: Redux Thunk is a popu...
I applied via Naukri.com and was interviewed before Jul 2021. There were 4 interview rounds.
I applied via Company Website and was interviewed in Dec 2024. There were 2 interview rounds.
Html, CSS, bootstrap, JavaScript, react.js
posted on 29 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in React applications.
Virtual DOM is a concept in React where a lightweight copy of the actual DOM is maintained.
When changes are made to the virtual DOM, React compares it with the actual DOM and only updates the necessary parts.
This helps in improving performance by minimizing the number of updates to the actual DOM.
Hooks are a new addition in React 16.8 that allow you to use state and other React features without writing a class.
Hooks are functions that let you use state and other React features in functional components.
useEffect is a hook that lets you perform side effects in function components.
It is similar to componentDidMount, componentDidUpdate, and componentWillUnmount in class components.
useEffect takes two arguments: a f...
posted on 8 Nov 2024
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
CORS error occurs when a web application makes a request to a different domain than the one it originated from.
CORS stands for Cross-Origin Resource Sharing
It is a security feature implemented by browsers to prevent unauthorized access to resources on a different domain
CORS error can be resolved by configuring the server to include the appropriate CORS headers in the response
Common CORS error messages include 'Access-C...
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure cases.
Promises help in avoiding callback hell and writing cleaner asynchronous code.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Engineer
63
salaries
| ₹3 L/yr - ₹11 L/yr |
Associate Software Engineer
42
salaries
| ₹4 L/yr - ₹8 L/yr |
Software Developer
12
salaries
| ₹3.1 L/yr - ₹12 L/yr |
IOS Developer
9
salaries
| ₹2.4 L/yr - ₹11.6 L/yr |
Lead
9
salaries
| ₹23 L/yr - ₹24 L/yr |
Accenture
Wipro
Cognizant
Capgemini