i
CognitiveClouds
Filter interviews by
I applied via LinkedIn and was interviewed in Dec 2023. There were 4 interview rounds.
Asked to write 2 easy DSA coding question and Questions on React.js
Again 2 easy DSA and few questions on web developement.
1 easy DSA round and questions on React.
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.
Throttling is a technique used to control the rate at which a function is executed.
Throttling limits the number of times a function can be called over a specified time period.
It helps in optimizing performance by preventing excessive function calls, especially in scenarios like scroll events or API requests.
Example: Limiting the number of API calls to a server to prevent overwhelming the server with too many requests.
Use the spread operator or Object.assign() method to copy an object in JavaScript.
Use the spread operator: const newObj = { ...oldObj };
Use Object.assign() method: const newObj = Object.assign({}, oldObj);
I applied via LinkedIn and was interviewed before Jan 2023. There was 1 interview round.
HOC stands for Higher Order Component. It is a pattern in React that allows reusing component logic.
HOC is a function that takes a component and returns a new component with additional functionality.
It helps in code reuse, logic abstraction, and cross-cutting concerns.
HOCs can be used for tasks like authentication, logging, and data fetching.
Example: withAuth HOC can add authentication logic to a component.
HOCs can be
React is a JavaScript library for building user interfaces that uses a virtual DOM and a component-based architecture.
React uses a virtual DOM to efficiently update the user interface.
It follows a component-based architecture where UI is divided into reusable components.
React uses a declarative syntax to describe how the UI should look based on the application state.
It efficiently updates only the necessary parts of th...
I applied via Company Website and was interviewed in Dec 2024. There were 2 interview rounds.
Html, CSS, bootstrap, JavaScript, react.js
I applied via Naukri.com and was interviewed before Jul 2021. There were 4 interview rounds.
Basic coding nd programming and moderate level
I appeared for an interview in Feb 2025, where I was asked the following questions.
useState() is a React Hook that allows functional components to manage state.
useState() is imported from React: `import React, { useState } from 'react';`
It returns an array with two elements: the current state and a function to update it.
Example: `const [count, setCount] = useState(0);` initializes count to 0.
The state can be updated by calling the updater function: `setCount(count + 1);`.
useState() can hold any data
React JS offers a component-based architecture, efficient rendering, and a strong community, making it ideal for modern web development.
Component-Based Architecture: React allows developers to build encapsulated components that manage their own state, making code reusable and easier to maintain.
Virtual DOM: React uses a virtual representation of the DOM to optimize rendering, resulting in faster updates and improved pe...
React JS has limitations such as performance issues, SEO challenges, and a steep learning curve for beginners.
Performance: Large applications can lead to performance bottlenecks if not optimized properly. For example, excessive re-renders can slow down the app.
SEO Challenges: React applications can have issues with search engine optimization since content is rendered on the client-side. Server-side rendering (SSR) can ...
Keys in React are unique identifiers for elements in lists, helping React optimize rendering and manage component updates efficiently.
Keys help React identify which items have changed, are added, or are removed.
They should be unique among siblings but can be reused in different lists.
Using indexes as keys can lead to issues with component state and performance.
Example: <li key={item.id}>{item.name}</li> in
JSX is a syntax extension for JavaScript that allows writing HTML-like code within JavaScript, primarily used in React.
JSX stands for JavaScript XML.
It allows developers to write HTML structures in the same file as JavaScript code.
JSX is transpiled to JavaScript using tools like Babel.
Example: <h1>Hello, World!</h1> becomes React.createElement('h1', null, 'Hello, World!').
JSX can also embed JavaScript expre...
Functional components are simpler and use hooks, while class components manage state and lifecycle methods.
Functional components are stateless and simpler, while class components can manage state and lifecycle methods.
Functional components use hooks (e.g., useState, useEffect) for state and side effects, whereas class components use 'this.state' and 'this.setState'.
Class components require 'render()' method to return J...
based on 2 interviews
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