Genpact
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Performance issues in Angular can be handled by optimizing code, reducing HTTP requests, and using lazy loading.
Optimize code by using trackBy in ngFor loops
Reduce HTTP requests by using caching and pagination
Use lazy loading to load only necessary components
Use AOT compilation to reduce load time
Avoid using ngIf with heavy computations
Use ChangeDetectionStrategy.OnPush to reduce change detection cycles
Custom directives in AngularJS allow you to create reusable components.
Create a new directive using the directive() method
Specify the directive's behavior using the link() method
Use the directive in HTML using its name as an attribute
Pass data to the directive using attributes
Example:
Angular is a JavaScript framework for building web applications with a modular architecture.
Angular uses a component-based architecture to build reusable UI components
It uses a declarative approach to define UI elements and their behavior
Angular provides a powerful set of tools for data binding, dependency injection, and routing
It follows the MVC (Model-View-Controller) pattern to separate concerns and improve maintain...
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
Authentication verifies a user's identity, while authorization determines what a user can access.
Authentication confirms a user's identity through credentials like username and password.
Authorization controls access to resources based on the authenticated user's permissions.
Example: Logging into a website (authentication) and then being able to view/edit specific pages based on your role (authorization).
To render a list in React, use map() function to iterate over an array of data and return a list of components. State is mutable data managed within a component, while props are immutable data passed from parent to child components.
To render a list in React, use map() function to iterate over an array of data and return a list of components.
Example: const items = ['item1', 'item2', 'item3']; items.map(item =>
Webpage optimization techniques include minifying CSS and JS files, optimizing images, using asynchronous loading for scripts, and reducing render-blocking scripts.
Minify CSS and JS files to reduce file sizes and improve loading times.
Optimize images by compressing them and using the correct file format (e.g. JPEG for photographs, PNG for graphics).
Use asynchronous loading for scripts to prevent them from blocking the ...
Use SCSS to apply background color to nested li elements and utilize mixins.
Use nesting to target the li elements within a parent element
Apply background color to the 2nd li element using the :nth-child() selector
Define and use mixins to reuse styles across the codebase
To fix cumulative layout shift issues, ensure all images and media have dimensions specified in HTML, use CSS aspect ratio boxes, and prioritize loading critical resources.
Specify dimensions for all images and media in HTML to prevent layout shifts.
Use CSS aspect ratio boxes to reserve space for images before they load.
Prioritize loading critical resources to avoid sudden layout changes.
Javscript oop related coding
I applied via Naukri.com
My father is a software engineer who works for a tech company.
Father is a software engineer
Works for a tech company
I was interviewed in Jun 2024.
This is coding + mcq question
I applied via Naukri.com and was interviewed before Nov 2023. There were 3 interview rounds.
Excellent and test related which we worked technology only
React is a JavaScript library for building user interfaces, while Angular is a full-fledged framework for web development.
React is a library, while Angular is a framework.
React uses a virtual DOM for better performance, while Angular uses a regular DOM.
React is more flexible and allows developers to choose their own tools and libraries, while Angular has a more opinionated structure.
React is mainly focused on the view ...
Props drilling is passing props through multiple levels of components. Higher order component is a function that takes a component and returns a new component.
Props drilling involves passing props from a parent component to a deeply nested child component, which can lead to prop pollution and make the code harder to maintain.
Higher order component is a pattern where a function takes a component and returns a new compon...
I applied via Approached by Company and was interviewed before Nov 2023. There was 1 interview round.
Event loop is a mechanism in JavaScript that allows for asynchronous operations to be executed in a non-blocking way.
Event loop is responsible for handling asynchronous operations in JavaScript.
It allows for non-blocking execution of code by continuously checking the call stack and the task queue.
When the call stack is empty, the event loop moves tasks from the task queue to the call stack for execution.
Example: setTim...
DOM stands for Document Object Model, a programming interface for web documents.
DOM is a tree-like structure that represents the elements of a web page.
It allows developers to manipulate the content, structure, and style of a web page using scripting languages like JavaScript.
DOM provides methods and properties to interact with HTML elements, such as selecting, adding, removing, or modifying them.
Example: document.getE...
I applied via Naukri.com and was interviewed in Feb 2022. There were 2 interview rounds.
React virtual DOM is a lightweight copy of the actual DOM, which allows React to efficiently update and render components.
React creates a virtual DOM tree that mirrors the actual DOM.
When changes occur, React compares the virtual DOM with the previous version to identify the minimal updates needed.
React then updates the virtual DOM and efficiently applies the changes to the actual DOM.
This process helps in optimizing p...
Redux is a predictable state container for JavaScript apps. Flow is a static type checker for JavaScript.
Redux is a state management library for JavaScript applications.
It helps in managing the state of an application in a predictable way.
It follows a unidirectional data flow pattern.
Flow is a static type checker for JavaScript that helps in catching errors before runtime.
It helps in improving the quality of code and r
Unit testing is a software testing technique where individual units or components of a software application are tested in isolation from the rest of the application.
Unit testing is done to ensure that each unit of the software application is working as expected.
It helps in identifying and fixing bugs early in the development cycle.
Unit tests are automated and can be run frequently to ensure that changes made to the cod...
Routing in React is the process of navigating between different components or pages based on the URL.
React Router is a popular library for handling routing in React
It allows for declarative routing with components and URLs
Routes can be defined with parameters and nested routes
Navigation can be done with Link and NavLink components
Programmatic navigation can be done with the useHistory hook
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
JavaScript coding questions using map, filter, reduce.
React hooks coding example s.
Interview experience
based on 4 reviews
Rating in categories
Process Developer
36.2k
salaries
| ₹1 L/yr - ₹6.8 L/yr |
Process Associate
28.1k
salaries
| ₹0.9 L/yr - ₹6.5 L/yr |
Assistant Manager
19.8k
salaries
| ₹5 L/yr - ₹14 L/yr |
Management Trainee
19.2k
salaries
| ₹1.6 L/yr - ₹8.5 L/yr |
Manager
7.4k
salaries
| ₹7 L/yr - ₹24 L/yr |
Accenture
Capgemini
TCS
Cognizant