Filter interviews by
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Resume shortlist candidate for next round technical round.
React virtual DOM is a lightweight copy of the actual DOM, used for efficient updates and rendering in React applications.
Virtual DOM is a concept where a lightweight copy of the actual DOM is created and updated by React.
React compares the virtual DOM with the actual DOM and only updates the necessary parts for better performance.
This helps in minimizing the number of DOM manipulations and improves the overall perform
ES6 features are new additions to JavaScript introduced in ECMAScript 2015.
Arrow functions for more concise syntax: const add = (a, b) => a + b;
Let and const for block-scoped variables: let x = 5; const y = 10;
Template literals for easier string interpolation: const name = 'John'; console.log(`Hello, ${name}!`);
Classes for object-oriented programming: class Person { constructor(name) { this.name = name; } }
Destructurin...
var is function scoped, let is block scoped, const is block scoped and cannot be reassigned.
var is function scoped
let is block scoped
const is block scoped and cannot be reassigned
Spread operator is used to split up array elements or object properties, while rest operator is used to merge multiple elements into an array.
Spread operator is denoted by three dots (...) and is used to spread array elements or object properties.
Rest operator is also denoted by three dots (...) and is used to collect multiple elements into a single array.
Spread operator can be used to concatenate arrays or objects, wh...
Hooks in ReactJS are functions that let you use state and other React features without writing a class.
Hooks were introduced in React 16.8 to allow functional components to have state and lifecycle methods.
useState() is a hook that allows you to add state to functional components.
useEffect() is a hook that allows you to perform side effects in functional components.
Custom hooks can be created to reuse logic across mult
A high order function is a function that takes one or more functions as arguments or returns a function as its result.
High order functions can be used to create more flexible and reusable code.
They can be used to abstract and encapsulate common patterns in code.
Examples include map, filter, and reduce functions in JavaScript.
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.
Variable declarations are hoisted to the top of their scope but not their initializations.
Function declarations are fully hoisted, including their definitions.
Hoisting can lead to unexpected behavior if not understood properly.
display none removes element from layout, visibility hidden hides element but still takes up space
display none removes element from layout flow
visibility hidden hides element but still takes up space
display none is more efficient for hiding elements
visibility hidden is better for hiding elements while keeping layout intact
Top trending discussions
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
A framework is a set of guidelines, standards, and tools used to develop software applications.
A framework provides a structure for developers to build upon
It includes pre-written code and libraries to simplify development
Frameworks can be specific to a programming language or platform
Examples include React for web development and TensorFlow for machine learning
posted on 19 Nov 2020
I applied via Campus Placement and was interviewed in Jan 2021. There were 3 interview rounds.
Swap two numbers with and without temporary variable
Without temporary variable: Use addition and subtraction
With temporary variable: Use a third variable to store the value of one of the numbers
Example without temporary variable: a=5, b=7; a=a+b; b=a-b; a=a-b;
Example with temporary variable: a=5, b=7; temp=a; a=b; b=temp;
I applied via Naukri.com and was interviewed in Jan 2020. There were 3 interview rounds.
Depreciation is necessary to allocate the cost of an asset over its useful life.
Depreciation helps in matching the cost of an asset with the revenue it generates.
It allows for the recognition of the wear and tear, obsolescence, and loss of value of assets over time.
Depreciation expense reduces taxable income, resulting in tax savings for companies.
It helps in determining the true profitability and financial position of...
I applied via Naukri.com and was interviewed in Oct 2020. There was 1 interview round.
Second level cache is a caching mechanism used to improve performance by storing frequently accessed data in memory.
Second level cache is implemented at the application level and can be configured using frameworks like Hibernate.
To optimize SQL queries, one can use indexes, avoid using SELECT *, and use JOINs instead of subqueries.
SOLID principles are a set of design principles for writing maintainable and scalable cod...
To deploy an application in AWS, you need to create an EC2 instance, configure security groups, install necessary software, and upload your application code.
Create an EC2 instance in the desired region and select the appropriate instance type
Configure security groups to allow traffic to and from the instance
Install necessary software and dependencies on the instance
Upload your application code to the instance
Start the ...
based on 1 interview
Interview experience
Software Engineer
4
salaries
| ₹8.5 L/yr - ₹10 L/yr |
Software Developer
4
salaries
| ₹11.5 L/yr - ₹18 L/yr |
TCS
Accenture
Wipro
Cognizant