i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
4-5 basic aptitude was asked
I applied via Campus Placement and was interviewed before Nov 2023. There was 1 interview round.
OOPS concepts refer to Object-Oriented Programming concepts which include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation...
Recursion is a programming technique where a function calls itself to solve a problem.
Recursion involves breaking down a problem into smaller subproblems and calling the function recursively to solve them.
Each recursive call works on a smaller input until a base case is reached to stop the recursion.
Example: Factorial calculation, Fibonacci sequence, tree traversal.
Abstraction in Java is the concept of hiding the implementation details and showing only the necessary features of an object.
Abstraction allows programmers to focus on what an object does instead of how it does it.
It helps in reducing complexity and improving the efficiency of the code.
In Java, abstraction is achieved through abstract classes and interfaces.
Example: Animal is an abstract class with abstract method 'eat...
I applied via Job Fair and was interviewed in Dec 2022. There were 3 interview rounds.
What people are saying about Cognizant
I applied via Recruitment Consulltant and was interviewed in Oct 2022. There were 2 interview rounds.
Cognizant interview questions for designations
Get interview-ready with Top Cognizant Interview Questions
I applied via Naukri.com and was interviewed before Oct 2023. There were 2 interview rounds.
Basic java program where interviewer wanted to check java concepts
I appeared for an interview before Mar 2024, where I was asked the following questions.
This program calculates the sum of the digits of a given integer number.
Convert the number to a string to iterate through each digit.
Initialize a sum variable to zero.
For each character in the string, convert it back to an integer and add it to the sum.
Return or print the final sum.
The Fibonacci series is a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.
The Fibonacci series starts with 0 and 1.
The next number is found by adding up the two numbers before it.
Example: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...
A simple implementation can be done using recursion or iteration.
In Python, you can use a loop or a recursive function to generate the series.
This program reverses an array of strings by swapping elements from both ends towards the center.
Define a function that takes an array of strings as input.
Use a loop to swap elements from the start and end of the array.
Continue swapping until the middle of the array is reached.
Example: Input: ['apple', 'banana', 'cherry'], Output: ['cherry', 'banana', 'apple'].
Object-Oriented Programming (OOP) is a programming paradigm based on the concept of objects, which can contain data and methods.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same int...
I appeared for an interview before Apr 2024, where I was asked the following questions.
I applied via Campus Placement and was interviewed before Jan 2024. There were 2 interview rounds.
Topics related to general aptitude.
Some of the top questions asked at the Cognizant Programmer Analyst interview for experienced candidates -
The duration of Cognizant Programmer Analyst interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 77 interviews
4 Interview rounds
based on 5.6k reviews
Rating in categories
Associate
72.4k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.6k
salaries
| ₹2.4 L/yr - ₹9.3 L/yr |
Senior Associate
50.3k
salaries
| ₹9 L/yr - ₹28.6 L/yr |
Senior Processing Executive
29.1k
salaries
| ₹1.8 L/yr - ₹9.2 L/yr |
Technical Lead
17.7k
salaries
| ₹6 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Accenture