i
Cognizant
Filter interviews by
OOP (Object-Oriented Programming) is a programming paradigm based on objects and classes to structure software design.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism where a new class derives properties and behavior from an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same interfa...
Inheritance is a fundamental OOP concept allowing a class to inherit properties and methods from another class.
Promotes code reusability by allowing new classes to use existing code.
Supports method overriding, enabling a subclass to provide a specific implementation.
Example: A 'Dog' class can inherit from an 'Animal' class, gaining its properties like 'legs' and methods like 'eat'.
Facilitates a hierarchical classi...
OOP in Java is a programming paradigm based on objects, encapsulation, inheritance, and polymorphism for better code organization.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: private variables with public getters/setters.
Inheritance: Mechanism where one class inherits properties and behaviors from another. Example: class Dog extends Animal.
Polymorphism: Abilit...
The Singleton design pattern restricts a class to a single instance and provides a global access point to that instance.
Ensures a class has only one instance.
Provides a global point of access to that instance.
Useful for managing shared resources, like database connections.
Implemented using private constructors and static methods.
Example in Java: public class Singleton { private static Singleton instance; private S...
What people are saying about Cognizant
A HashMap uses a hash table to store key-value pairs, allowing for efficient data retrieval and storage.
HashMap uses an array of buckets to store entries, where each bucket can hold multiple entries in case of collisions.
A hash function computes an index based on the key, determining where to store the value in the array.
When two keys hash to the same index, a collision occurs, which is typically handled using cha...
Exception handling in Java is crucial for managing errors and maintaining program flow using try-catch blocks.
Use try-catch blocks to catch exceptions: try { // code that may throw an exception } catch (ExceptionType e) { // handle exception }
Use finally block for cleanup: try { // code } catch (Exception e) { // handle exception } finally { // cleanup code }
Throw exceptions using '...
.NET is a software development framework created by Microsoft, enabling developers to build applications for various platforms.
.NET Framework: The original version, primarily for Windows applications, supports languages like C# and VB.NET.
.NET Core: A cross-platform, open-source version of .NET that allows developers to build applications for Windows, macOS, and Linux.
.NET 5 and later: Unified platform that combin...
An .exe file is an executable file format used to run programs on Windows operating systems.
Executable Format: .exe files contain a program that can be executed directly by the operating system.
Windows OS: Primarily used in Windows environments, .exe files are not natively supported by other operating systems like macOS or Linux.
Installation Packages: Many software applications are distributed as .exe files, such ...
Agile is a flexible project management methodology that promotes iterative development and collaboration among teams.
Iterative Development: Agile breaks projects into small, manageable units called iterations or sprints, allowing teams to adapt to changes quickly.
Collaboration: Agile emphasizes teamwork and communication, often involving stakeholders in the development process to gather feedback continuously.
Custo...
Lookup activity is used in Azure Data Factory to retrieve a single row from a dataset based on a specified key.
Lookup activity is used to retrieve data from a database or file system in Azure Data Factory.
It can be used to perform lookups on tables, views, or files.
The lookup activity requires a dataset and a query to specify the data to retrieve.
It is commonly used in data integration pipelines to fetch reference...
I appeared for an interview in May 2025, where I was asked the following questions.
I appeared for an interview in Apr 2025, where I was asked the following questions.
I appeared for an interview before Sep 2021.
Effective backups are crucial for data integrity and recovery in software engineering.
Regularly schedule backups to prevent data loss, e.g., daily incremental backups.
Use versioning to keep multiple copies of files, allowing recovery from different points in time.
Implement offsite backups to protect against physical disasters, such as using cloud storage.
Test backup restoration processes periodically to ensure data can...
I applied via Naukri.com and was interviewed in Jun 2024. There were 2 interview rounds.
I appeared for an interview in Dec 2024.
Data structures questions and aptitude
I applied via Company Website and was interviewed in Dec 2023. There were 2 interview rounds.
Basic coding question
BR in ServiceNow stands for Business Rule.
BR is a type of automation that executes when a record is inserted, updated, deleted, displayed, or queried.
BRs are used to enforce business logic, data integrity, and automate processes.
Examples of BRs include sending email notifications when a record is updated, enforcing data validation rules, and triggering workflows.
Client side scripting runs on the user's browser, while server side scripting runs on the server.
Client side scripting is executed on the user's browser, allowing for dynamic interactions without reloading the page (e.g. JavaScript).
Server side scripting is executed on the server, generating dynamic content before sending it to the user's browser (e.g. PHP, Python).
I appeared for an interview in Sep 2024, where I was asked the following questions.
An aptitude test is easy with normal questions
Normal hacker rank questions for solving
The duration of Cognizant Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 26 interview experiences
Difficulty level
Duration
based on 1.2k reviews
Rating in categories
Associate
72.9k
salaries
| ₹5.3 L/yr - ₹12.5 L/yr |
Programmer Analyst
56.1k
salaries
| ₹3.5 L/yr - ₹7.3 L/yr |
Senior Associate
55.2k
salaries
| ₹10.2 L/yr - ₹23.5 L/yr |
Senior Processing Executive
29.9k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
Technical Lead
18.5k
salaries
| ₹6 L/yr - ₹21.2 L/yr |
TCS
Infosys
Wipro
Accenture