i
Cognizant
Filter interviews by
OOPS concepts are fundamental to software engineering, with examples like inheritance, encapsulation, and polymorphism.
Inheritance: A child class inherits properties and behaviors from a parent class. For example, a Car class can inherit from a Vehicle class.
Encapsulation: Bundling data and methods that operate on the data into a single unit. For example, a BankAccount class with private variables and public metho...
Multithreading is the ability of a CPU to execute multiple threads concurrently, allowing for better performance and responsiveness in software applications.
Multithreading allows multiple threads to run concurrently within the same process.
Each thread has its own stack and program counter, but shares the same memory space.
Multithreading can improve performance by utilizing multiple CPU cores efficiently.
Examples o...
Monolithic architecture is a single-tiered software application where all components are interconnected and interdependent, while Microservices is a distributed architecture where the application is broken down into smaller, independent services.
Monolithic architecture is a single, indivisible unit, making it difficult to scale and update without affecting the entire system.
Microservices architecture breaks down t...
Java Spring is a powerful framework for building enterprise-level applications with ease and flexibility.
Dependency Injection: Simplifies code management by allowing developers to inject dependencies rather than hard-coding them.
Aspect-Oriented Programming: Enables separation of cross-cutting concerns, such as logging and security, improving code modularity.
Spring Boot: A sub-project that simplifies the setup and ...
What people are saying about Cognizant
Object-Oriented Programming (OOP) concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: A class 'Car' with properties like 'speed' and methods like 'accelerate()'.
Inheritance: Mechanism where a new class inherits properties and methods from an existing class. Example: 'ElectricCar' inherits from...
How to avoid concurrent modification exception while iterating over a hashmap?
Use Iterator instead of foreach loop
Use ConcurrentHashMap instead of HashMap
Synchronize the hashmap while iterating
Use CopyOnWriteArrayList instead of ArrayList for values
Avoid modifying the hashmap while iterating
String is immutable while StringBuffer is mutable in Java.
StringBuffer is more efficient when performing a lot of string manipulations
StringBuffer has methods to append, insert, and delete characters
String is better for small string operations and is thread-safe
StringBuffer is not thread-safe but can be made thread-safe with synchronization
Example: String str = "hello"; StringBuffer sb = new StringBuffer(str);
Exam...
Microservice components are small, independent services that work together to form a larger application.
Each microservice has its own unique function and can be developed and deployed independently
They communicate with each other through APIs or messaging systems
They are often containerized for easy deployment and scaling
Examples include user authentication, payment processing, and inventory management
Lemba expression is a programming language used for scientific computing and data analysis.
Lemba is designed to be simple and easy to learn.
It supports matrix operations and has built-in functions for statistical analysis.
Lemba can be used for machine learning and data visualization.
Example: sum([1, 2, 3]) returns 6.
Interface defines only method signatures while abstract class can have both method signatures and implementations.
An interface can be implemented by multiple classes while an abstract class can only be extended by one class.
An abstract class can have constructors while an interface cannot.
An abstract class can have instance variables while an interface cannot.
An abstract class can have non-abstract methods while a...
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