Filter interviews by
I applied via Company Website and was interviewed before Mar 2023. There was 1 interview round.
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.
Custom hooks are created using the 'use' prefix and can be used to share logic between components.
Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.
Example of a custom hook for API call: const useFetc...
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a value and recompute it only when its dependencies change.
useCallback is used to memoize a callback function and prevent unnecessary re-renders.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.
Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.
Class-based components use ES6 classes to create components, while functional components are created using functions.
Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.
Functional components are simpler and more lightweig...
Implementing the lifecycle of a React component in a functional component
Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount
Pass an empty array as the second argument to useEffect to mimic componentDidMount
Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate
Return a cleanup function inside useEffect to mimic compo
Various state management techniques in React include Context API, Redux, and local state.
Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.
Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.
Local state: Managing state within individual components using us
Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.
Redux follows a unidirectional data flow architecture.
Middlewares in Redux are functions that can intercept, modify, or dispatch actions.
Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.
Examples of popular Redux middlewares are Redu...
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.
Events triggered on a child element will 'bubble up' and trigger on parent elements.
Event listeners can be attached to parent elements to handle events from multiple child elements.
Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().
Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.
Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.
Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.
Variables de...
Yes, I have experience working with semantic tags in HTML.
Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.
Understand the importance of using semantic tags for accessibility and search engine optimization.
Semantic tags help in organizing content and making it more readable for developers and browsers.
Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.
Object literals: var obj = { key: value };
Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();
ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();
Object.create() method: var obj = Object.create(pr
Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.
Shallow copy creates a new object but does not create copies of nested objects, only copies their references.
Deep copy creates a new object and also creates new copies of all nested objects.
Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(
The code will throw an error because 'a' is declared but not initialized.
The code will result in a ReferenceError because 'a' is declared but not assigned a value.
Variables declared with 'const' must be initialized at the time of declaration.
Initializing 'a' with a value before calling test() will prevent the error.
CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.
Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout
Use justify-content and align-items properties to align items in the main axis and cross axis respectively
For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout
Yes, I have utilized CSS preprocessors such as SASS and LESS.
I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.
I have also worked with LESS to improve code organization and maintainability through features like variables and functions.
The color applied will be based on the specificity of the selector, with ID having higher specificity than class.
ID has higher specificity than class in CSS
Color applied will be based on the selector with higher specificity
Example: If ID selector has color red and class selector has color blue, the color applied will be red
I applied via campus placement at Indian Institute of Technology (IIT), Patna and was interviewed in Dec 2024. There were 2 interview rounds.
The coding questions were at Leetcode difficulty level and were derived from the Striver sheet.
I applied via campus placement at Amity University and was interviewed in Dec 2024. There were 2 interview rounds.
There will be aptitude questions related to surface area, time and distance, as well as profit and loss.
There will be questions related to arrays, linked lists, stacks, queues, and binary search.
Node.js event loop is a mechanism that allows Node.js to perform non-blocking I/O operations asynchronously.
Event loop is responsible for handling asynchronous operations in Node.js.
It allows Node.js to perform multiple operations simultaneously without blocking the execution.
Event loop continuously checks the event queue for new events and executes them in a non-blocking manner.
Callbacks are used to handle the complet
- Basic data structures questions.
- Node.js specific questions.
Object-oriented programming concepts that focus on classes and objects for better code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation det...
Types of waits in Selenium include implicit, explicit, and fluent waits.
Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit wait: Waits for a certain condition to occur before proceeding further in the code.
Fluent wait: Waits for a condition to be true with a specified frequency of checking.
Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.
First time attend aptitude test .
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Inheritance allows for code reusability and promotes the concept of 'is-a' relationship.
There are different types of inheritance such as single inheritance, multiple inheritance, multilevel inheritance, and hierarchical inheritance.
Example: Class B inheriting from Class A - 'class B: public A {}'
C uses a set of 128 characters, including letters, digits, special characters, and control characters.
C uses 26 letters (uppercase and lowercase), 10 digits (0-9), and various special characters like !, @, #, $, %, etc.
C also includes control characters like newline, tab, carriage return, etc.
The total number of characters used in C is 128.
C is a programming language known for its efficiency and flexibility. It uses 256 characters.
C is a high-level programming language used for system programming, embedded systems, and applications.
C uses 256 characters, including letters, digits, special characters, and whitespace.
Examples of characters in C include 'a', '1', '+', and ' '.
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
Standard quantitative questions accompanied by logical reasoning and related topics.
OOP concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Objects of different classes can be treated as objects of a common superclass.
Abstraction: Hides complex implementation details and only shows the necessa
React is a JavaScript library for building user interfaces.
React allows developers to create reusable UI components.
It uses a virtual DOM for efficient rendering.
React uses a declarative approach to define how the UI should look based on the application state.
It supports server-side rendering for improved performance.
React can be used with other libraries like Redux for state management.
I am a software engineer with a passion for coding and problem-solving. I come from a close-knit family with supportive parents and siblings.
Software engineer with coding and problem-solving skills
Close-knit family with supportive parents and siblings
My strengths include problem-solving and teamwork, while my weaknesses are time management and public speaking. I am addressing my weaknesses by taking time management courses and practicing public speaking.
Strengths: problem-solving, teamwork
Weaknesses: time management, public speaking
Addressing weaknesses: taking time management courses, practicing public speaking
I applied via campus placement at VIT Business School, Vellore and was interviewed in Dec 2024. There were 4 interview rounds.
It's good and many more things are pending
Very good it was very good best nice very nice
God food good water and good everything good
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Position absolute removes element from normal flow, relative keeps element in flow but can be positioned.
Position absolute removes element from normal flow, allowing it to be positioned relative to its closest positioned ancestor.
Position relative keeps element in normal flow but allows it to be positioned relative to its normal position.
Position absolute elements are not affected by other elements and can overlap, whi...
Software Engineer
17
salaries
| ₹7.5 L/yr - ₹17.7 L/yr |
System Administrator
8
salaries
| ₹4 L/yr - ₹7.6 L/yr |
Front end Developer
6
salaries
| ₹3 L/yr - ₹4.2 L/yr |
Motion Graphics Artist
5
salaries
| ₹8.5 L/yr - ₹9.6 L/yr |
Android Developer
5
salaries
| ₹4.8 L/yr - ₹9.5 L/yr |
Disney+ Hotstar
Star Sports
Sony Pictures Networks
Reliance Industries