i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed before Jul 2021. There was 1 interview round.
Closure is a function that has access to its parent scope even after the parent function has returned. For each is a loop statement used to iterate over arrays or objects.
Closure is created when a function is returned from another function
It allows for private variables and functions in JavaScript
For each is used to loop through arrays or objects without the need for a counter variable
It can be used with a callback fun...
Method to generate 3 unique numbers without using a variable
Use Math.random() to generate random numbers
Use an array to store the generated numbers
Check if the generated number already exists in the array before adding it
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.
posted on 10 Dec 2024
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
Virtual DOM is a lightweight copy of the actual DOM, React key features include component-based architecture, declarative syntax, and virtual DOM, React Hooks are functions that let you use state and other React features without writing a class.
Virtual DOM is a lightweight copy of the actual DOM that React uses to improve performance by updating only the necessary parts of the DOM.
Key features of React include componen...
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 was interviewed in Dec 2024.
Ages, odd numbers, number series, work and time, calendars.
Youth in politics and artificial intelligence.
posted on 7 Dec 2024
Quantitative aptitude, logical apptiude,
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
Debugger in JavaScript is used for pausing the execution of code to inspect variables, check the flow of the program, and debug errors.
Debugger helps in identifying and fixing bugs in the code.
It allows developers to step through code line by line to understand the flow of execution.
Developers can inspect variables and their values at different points in the code.
By setting breakpoints, developers can pause the code at...
I applied via Company Website and was interviewed in Dec 2024. There were 2 interview rounds.
Html, CSS, bootstrap, JavaScript, react.js
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
Associate
72.4k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.4k
salaries
| ₹2.4 L/yr - ₹9.6 L/yr |
Senior Associate
48.3k
salaries
| ₹9 L/yr - ₹27.2 L/yr |
Senior Processing Executive
28.7k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24.2 L/yr |
TCS
Infosys
Wipro
Accenture