i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Challenges faced during Angular migration, creating reducers in ngrx, flattening arrays, and sorting.
Challenges during migration: compatibility issues, deprecated features, breaking changes.
Creating reducers in ngrx: define actions, create reducer function, update state immutably.
Flattening arrays: use flat() method, recursion, or spread operator.
Sorting arrays: use sort() method with custom comparator function.
I appeared for an interview in Jan 2025.
Pipes in Angular are used for transforming data in templates.
Pipes are used to format data before displaying it in the view.
Angular provides built-in pipes like DatePipe, UpperCasePipe, LowerCasePipe, etc.
Custom pipes can also be created for specific formatting needs.
Pipes can be chained together for complex transformations.
Example: {{ birthday | date:'dd/MM/yyyy' }} will format the birthday date.
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...
What people are saying about Cognizant
A directive in Angular is a class with a @Directive decorator that allows you to attach behavior to elements in the DOM.
Directives are used to manipulate the DOM in Angular applications.
There are three types of directives in Angular: component, structural, and attribute directives.
Examples of directives include ngIf, ngFor, and ngStyle.
Cognizant interview questions for designations
I applied via Superset and was interviewed before Oct 2022. There were 2 interview rounds.
Fibonacci sequence code in python
Data structure in Python refers to the way data is organized and stored for efficient access and manipulation.
Data structures in Python include lists, tuples, dictionaries, sets, and arrays.
Each data structure has its own characteristics and use cases.
For example, lists are mutable and ordered, while sets are unordered and do not allow duplicates.
List is mutable and can be modified, while tuple is immutable and cannot be changed.
List can be modified by adding, removing, or changing elements.
Tuple cannot be modified once it is created.
Example: list = [1, 2, 3], tuple = (1, 2, 3)
Get interview-ready with Top Cognizant Interview Questions
I applied via Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.
Factorial can be calculated using a loop by multiplying numbers from 1 to n.
Initialize a variable to 1
Use a loop to multiply the variable with numbers from 1 to n
Return the variable
Answering questions related to software development and Salesforce administration.
Process Builder is a visual tool in Salesforce used to automate business processes.
Types of relationships in Salesforce include lookup, master-detail, and many-to-many relationships.
User represents an individual who can log in and access Salesforce, Profile defines the permissions and settings for a user, and Role determines the hierarchy...
I have configured various software systems and tools for development purposes.
Configured IDEs such as Eclipse and Visual Studio for development
Set up version control systems like Git and SVN
Installed and configured build tools like Maven and Gradle
Configured application servers like Tomcat and JBoss
Set up databases like MySQL and Oracle for development and testing
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
Count the number of pairs in an array whose sum is equal to a given number k.
Iterate through the array and for each element, check if k minus the element exists in the array.
Use a hash table to store the frequency of each element in the array.
If the array contains duplicates, handle them separately to avoid overcounting.
Time complexity can be improved to O(n) using a two-pointer approach.
based on 5 interviews
1 Interview rounds
based on 1 review
Rating in categories
Associate
72.1k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.5k
salaries
| ₹2.4 L/yr - ₹9.4 L/yr |
Senior Associate
49.6k
salaries
| ₹9 L/yr - ₹28 L/yr |
Senior Processing Executive
29k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Accenture