Filter interviews by
Top trending discussions
posted on 5 Jan 2025
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
Dependency Injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.
Allows for easier testing by injecting mock dependencies
Promotes reusability and modularity by decoupling components
Reduces code duplication by centralizing dependency creation
Example: Angular uses Dependency Injection to provide services to components
Routing is the process of navigating between different pages or views in a web application.
Routing allows users to move between different parts of a web application without reloading the entire page
It is implemented using a router module in Angular, which maps URLs to components
Routes can have parameters that can be passed to components for dynamic content
Routing can be used to create single-page applications (SPAs) wh
posted on 13 Dec 2024
I applied via Referral and was interviewed in Nov 2024. There were 4 interview rounds.
General aptitude and reasoning skills.
Building a user interface for a food point of sale (POS) application.
Coding a frontend UI from provided image. And creating a fucntional star rating system
Designing a Component API in React using Typescript involves defining props, state, and methods for the component.
Define the props interface to specify the expected input data for the component
Use typescript types to ensure type safety and prevent runtime errors
Define the state interface to manage the internal state of the component
Implement methods to handle user interactions and component logic
Document the component
Function to clear all timer ids at once
Create an array to store all timer ids
Iterate through the array and clear each timer id using clearTimeout() function
posted on 10 Jul 2024
I applied via LinkedIn and was interviewed in Jun 2024. There was 1 interview round.
Callbacks are functions passed as arguments to another function to be executed later
Callbacks are commonly used in event handling, asynchronous programming, and functional programming
Callbacks can be synchronous or asynchronous
Example: passing a callback function to a setTimeout() function
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
CSS Box-model defines how elements are rendered in a webpage, including padding, border, and margin.
Box-model consists of content, padding, border, and margin
Content area is where text or images are displayed
Padding is the space between content and border
Border is the line around the content and padding
Margin is the space outside the border
Flexbox is for one-dimensional layouts, grid is for two-dimensional layouts.
Flexbox is best for arranging items in a single row or column.
Grid is best for creating complex layouts with rows and columns.
Flexbox is more suitable for smaller scale layouts, while grid is better for larger scale layouts.
Flexbox is more flexible in terms of item order and sizing, while grid provides more control over the overall layout.
Both
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
DOM stands for Document Object Model, which is a programming interface for web documents.
DOM is a representation of the structure of a web page, allowing scripts to dynamically access and update the content, structure, and style of the page.
It provides a way for scripts to interact with the elements on a web page, such as changing text, styles, and attributes.
DOM is hierarchical, with elements nested inside other eleme...
Promises in TypeScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in a more readable and manageable way.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Example: const myPromise = new Promise((resolve, reject) => { ...
Hooks in JavaScript 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 are functions that allow you to reuse
Generate an array of prime numbers from 1 to 100.
Iterate from 1 to 100 and check if each number is prime
A prime number is only divisible by 1 and itself
Start with a list of prime numbers and check divisibility
Front Office Executive
4
salaries
| ₹1.8 L/yr - ₹4.2 L/yr |
Accenture
Capgemini
HCLTech
Teleperformance