Filter interviews by
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Let, Const, and Var are used to declare variables in JavaScript with different scoping and reassignment abilities.
Var has function scope and can be redeclared and reassigned.
Let has block scope and can be reassigned but not redeclared.
Const has block scope and cannot be reassigned or redeclared.
State and props are two important concepts in React. State represents the internal data of a component, while props are used to pass data from a parent component to a child component.
State is mutable and can be changed within a component.
Props are read-only and cannot be modified within a component.
State is used to manage component-specific data, while props are used for inter-component communication.
State is initializ...
Promise is a callback function that returns a value in the future. Async-Await is a syntax that simplifies working with Promises.
Promises are used to handle asynchronous operations and avoid callback hell.
Async-Await is a syntax that allows writing asynchronous code that looks like synchronous code.
Async-Await is built on top of Promises and uses the same underlying mechanism.
Async-Await can only be used within an asyn...
Closures are functions that have access to variables in their outer scope, even after the outer function has returned.
Closures are created when a function is defined inside another function.
The inner function has access to the outer function's variables and parameters.
Closures can be used to create private variables and methods.
Closures can also be used to create functions with pre-set arguments.
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their scope.
Hoisting applies to both variable and function declarations.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted, including their definitions.
Hoisting can lead to unexpected behavior if not understood properly.
Event Loop is a mechanism that allows JavaScript to handle asynchronous operations.
Event Loop is a continuous process that checks the Event Queue and moves events to the Event Stack.
Event Queue holds all the events that are waiting to be processed.
Event Stack holds the events that are currently being processed.
When the Event Stack is empty, the Event Loop checks the Event Queue for new events.
JavaScript uses Event Loop...
Local Storage is persistent storage that remains even after the browser is closed, while Session Storage is temporary and is cleared when the browser is closed.
Local Storage has no expiration date, while Session Storage is cleared when the session ends
Local Storage can store larger amounts of data compared to Session Storage
Local Storage is accessible across different browser tabs and windows, while Session Storage is ...
Redux is a state management library for JavaScript applications, providing a predictable and centralized workflow.
Redux follows a unidirectional data flow pattern.
The application state is stored in a single JavaScript object called the store.
Actions are dispatched to describe state changes.
Reducers are pure functions that specify how the state should change based on the dispatched actions.
Selectors are used to extract ...
Optimizing a React app involves reducing bundle size, using lazy loading, and optimizing rendering performance.
Reduce bundle size by code splitting and using dynamic imports
Use lazy loading to load components only when needed
Optimize rendering performance by using shouldComponentUpdate and PureComponent
Use React.memo to memoize functional components
Avoid unnecessary re-renders by using useMemo and useCallback
Use perfor...
Hooks are a feature introduced in React 16.8 that allow developers to use state and other React features in functional components.
useState() - for managing state in functional components
useEffect() - for performing side effects in functional components
useContext() - for accessing context in functional components
useReducer() - for managing complex state and actions in functional components
useCallback() - for memoizing f...
Higher Order Functions are functions that take other functions as arguments or return functions as their results.
Higher Order Functions can be used to create reusable code by abstracting common functionality into a separate function.
They can also be used to implement functional programming concepts like currying and composition.
Example: Array.prototype.map() is a higher order function that takes a callback function as ...
Context API is a feature in React that allows data to be passed down the component tree without manually passing props at each level.
Context API provides a way to share data between components without the need for prop drilling.
It consists of two main components: Provider and Consumer.
The Provider component allows data to be provided and accessed by any component within its subtree.
The Consumer component allows compone...
Top trending discussions
I applied via Naukri.com and was interviewed in Jan 2024. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
An aptitutde test 20 questions, 2 coding and 2 output based
I applied via Recruitment Consulltant and was interviewed before Aug 2022. There were 4 interview rounds.
Javascript questions about closure,prototype, strings array problem solving
Html css react coding with tricky and real scenarios in project
Angular supports various data types including string, number, boolean, object, array, and any.
String: 'hello world'
Number: 42
Boolean: true or false
Object: { name: 'John', age: 30 }
Array: [1, 2, 3]
Any: can be any data type
CSS has multiple versions, the latest being CSS3.
CSS1 was released in 1996
CSS2 was released in 1998
CSS3 is the latest version
CSS3 has many new features like animations, transitions, and flexbox
I have used jQuery versions 3.5.1 and 3.6.0 in my recent projects.
Used jQuery 3.5.1 for project A
Used jQuery 3.6.0 for project B
posted on 9 Oct 2020
Future methods are asynchronous and execute in a separate thread, while Queueable allows chaining of jobs and can handle larger data volumes.
Future methods are limited to 50 per transaction and cannot be chained
Queueable can be chained and can handle up to 50 jobs in a single transaction
Future methods are executed in a separate thread and are useful for long-running operations
Queueable jobs can be scheduled to run at a...
Yes, we can call a future method from another future method.
A future method can call another future method using the @future annotation.
The second future method will be queued and executed after the first future method completes.
It is important to note that there is a limit of 50 future method calls per Apex invocation.
Yes
A future method can be called from a batch class
Future methods are used to perform long-running operations asynchronously
Batch classes are used to process large data sets in smaller chunks
Calling a future method from a batch class allows for parallel processing
I applied via Walk-in and was interviewed in Oct 2020. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in Jan 2020. There were 4 interview rounds.
posted on 26 Nov 2019
Accrual is the process of recognizing and recording expenses or revenues in the financial statements, even if the cash has not been exchanged.
Accrual accounting recognizes transactions when they occur, regardless of when the cash is received or paid.
It ensures that financial statements reflect the economic reality of a business.
Accrued expenses and accrued revenues are common examples of accruals.
Accruals are necessary...
Senior Software Engineer
2.2k
salaries
| ₹5.7 L/yr - ₹22.7 L/yr |
Software Engineer
1.4k
salaries
| ₹3 L/yr - ₹9.7 L/yr |
Technical Lead
1.4k
salaries
| ₹9.9 L/yr - ₹32 L/yr |
Network Engineer
462
salaries
| ₹3 L/yr - ₹12 L/yr |
Senior Technical Lead
419
salaries
| ₹13.4 L/yr - ₹35 L/yr |
TCS
Infosys
Wipro
HCLTech