Genpact
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Time queue in API refers to managing requests in a sequential order.
Time queue ensures that API requests are processed in the order they are received.
It helps in preventing overload on the server by limiting the number of concurrent requests.
Examples include using promises or async/await in JavaScript to handle API calls sequentially.
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
Data binding is the automatic synchronization of data between the model and view components in an application.
Data binding allows for the seamless updating of data in the model to be reflected in the view and vice versa.
There are two-way data binding and one-way data binding.
Two-way data binding updates the model and view simultaneously, while one-way data binding updates in one direction only.
Example: In Angular, usin...
Lazy loading is a technique used to defer loading of non-essential resources until they are actually needed.
Lazy loading helps improve performance by only loading resources when they are required.
In Angular, lazy loading is commonly used for loading modules on demand rather than loading everything upfront.
Lazy loading can be implemented using Angular's RouterModule and loadChildren feature.
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
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
Directives are used to add behavior to existing DOM elements, while components are used to create new custom elements.
Directives are used to manipulate the behavior of existing DOM elements, such as changing their appearance or adding event listeners.
Components are used to create custom elements with their own templates, styles, and behavior.
Directives can be structural (like ngIf and ngFor) or attribute-based (like ng...
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Variable and function declarations are hoisted to the top of their scope, regardless of where they are declared in the code.
Only the declarations are hoisted, not the initializations.
Function declarations are hoisted before variable declarations.
Design patterns are reusable solutions to common problems in software design.
Design patterns help in creating maintainable, scalable, and efficient code.
They provide a common language for developers to communicate about solutions to recurring problems.
Examples of design patterns include Singleton, Factory, Observer, and Strategy patterns.
ReplaySubject is a type of Subject in RxJS that records multiple values and replays them to new subscribers.
ReplaySubject is a type of Subject in RxJS
It records multiple values and replays them to new subscribers
It has a buffer size that determines how many values to replay
Closure in JavaScript allows a function to access variables from its outer scope even after the function has finished executing.
Closure is created when a function is defined within another function and the inner function references variables from the outer function.
The inner function maintains a reference to the outer function's scope even after the outer function has finished executing.
Closures are commonly used in ev...
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
posted on 15 Mar 2024
Promises are objects representing the eventual completion or failure of an asynchronous operation. Types refer to the data types in TypeScript.
Promises are used for handling asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Types in TypeScript help catch errors early by enforcing data types at compile time.
Examples: Promise.resolve(), Promise.reject(), string, num
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
Sort array without using methods
Iterate through the array and compare each element with the rest to find the correct position
Swap elements if necessary to sort the array in ascending order
Repeat the process until the array is fully sorted
Reverse a string without using built-in methods
Create an empty string to store the reversed string
Iterate through the input string from the last character to the first
Append each character to the empty string to reverse the input string
ngClass is used to conditionally apply CSS classes to an element in Angular.
Use ngClass directive in the template with an object or array of classes and conditions
Classes are applied when the condition is true, and removed when false
Example:
Angular interceptors are a way to intercept HTTP requests and responses to perform operations like logging, modifying requests, or handling errors.
Interceptors can be used to modify outgoing requests or incoming responses.
They can be used for tasks like adding headers, logging requests, handling errors, or transforming data.
Interceptors are implemented as services that implement the HttpInterceptor interface.
Multiple i...
The entry point of Angular is typically the main.ts file.
Main.ts file is the first file that is executed when an Angular application is started.
It bootstraps the AppModule, which is the root module of the application.
Main.ts file also imports other necessary modules and components required for the application to run.
Process Developer
36.1k
salaries
| ₹1 L/yr - ₹6.8 L/yr |
Process Associate
28k
salaries
| ₹0.9 L/yr - ₹7 L/yr |
Assistant Manager
19.8k
salaries
| ₹5 L/yr - ₹14 L/yr |
Management Trainee
19.1k
salaries
| ₹1.6 L/yr - ₹8.5 L/yr |
Manager
7.4k
salaries
| ₹5.7 L/yr - ₹23.8 L/yr |
Accenture
Capgemini
TCS
Cognizant