Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Cognizant Programmer Analyst Interview Questions and Answers for Experienced

Updated 1 Jul 2025

55 Interview questions

A Programmer Analyst was asked
Q. Technical interview on basics from the language you prefer.
Ans. 

A technical interview assesses your programming knowledge and problem-solving skills in your preferred language.

  • Understand basic syntax and data types (e.g., int, string, float).

  • Be familiar with control structures like loops (for, while) and conditionals (if, switch).

  • Know how to work with functions: defining, calling, and passing parameters.

  • Understand object-oriented programming concepts if applicable (classes, in...

A Programmer Analyst was asked
Q. What are the fundamental concepts of Object-Oriented Programming (OOP)?
Ans. 

Object-Oriented Programming (OOP) is a paradigm based on objects, encapsulating data and behavior for better code organization.

  • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

  • Inheritance: Mechanism to create a new class from an existing class, inheriting attributes and methods (e.g., a 'Dog' class inheriting from an 'Animal' class).

  • Polymorphism: Ability to present ...

Programmer Analyst Interview Questions Asked at Other Companies for Experienced

asked in Cognizant
Q1. 1 Tell me about your self 2 What is c# 3 What is oops concept 4 W ... read more
asked in Cognizant
Q2. Write a program to check whether the given String is a palindrome ... read more
asked in Cognizant
Q3. Explain me about OOPS Concepts. Write a program in C++ to calcula ... read more
asked in Boeing
Q4. difference b/w ref and out , array program to shift the position ... read more
asked in Cognizant
Q5. If a wheel of a car suddenly comes off while driving, would you a ... read more
A Programmer Analyst was asked
Q. Write two code examples in your preferred language.
Ans. 

Demonstrating coding skills by writing two code snippets in a preferred programming language.

  • Choose a programming language (e.g., Python, Java, C#).

  • Write a simple function that performs a specific task.

  • Include error handling to manage potential issues.

  • Provide comments to explain the code logic.

A Programmer Analyst was asked
Q. What is a Data Warehouse?
Ans. 

A data warehouse is a large, centralized repository of integrated data from various sources, used for reporting and analysis.

  • Data warehouse stores structured, historical data for decision-making purposes.

  • It consolidates data from multiple sources, such as databases, spreadsheets, and external systems.

  • Data is transformed, cleaned, and organized to support reporting and analysis.

  • It provides a single source of truth ...

What people are saying about Cognizant

View All
a junior software engineer
1w
Job offer in Malaysia - legit or scam?
Hey everyone, I received a job proposal from Mindgraph for a Junior Mainframe Developer position in Malaysia (onsite). Not sure if it's a real deal. They found my resume on Naukri and the offer includes: * Experience: 3+ years on cardlink, VSAM, CICS, JCL * Location: Malaysia (Accenture client in Kuala Lumpur) * Notice: 0-60 days * Benefits: One-way ticket, 1-week stay, medical insurance, visa. Has anyone heard of Mindgraph or had a similar experience? Note : This is a permanent position with Mindgragh and you need to work with our client Accenture - Malaysia (Kaula Lumpur) & we will provide one way Air Ticket from India - Malaysia, 1 Week Accommodation, Medical Insurance and will take care of the Visa process also. Any insights would be appreciated!
Got a question about Cognizant?
Ask anonymously on communities.
A Programmer Analyst was asked
Q. Explain the framework using OOP concepts.
Ans. 

Frameworks utilize OOP concepts to enhance code reusability, maintainability, and scalability in software development.

  • Encapsulation: Bundling data and methods, e.g., a class 'Car' with properties like 'speed' and methods like 'accelerate()'.

  • Inheritance: Creating new classes from existing ones, e.g., 'ElectricCar' inherits from 'Car', adding features like 'chargeBattery()'.

  • Polymorphism: Methods can take many forms,...

A Programmer Analyst was asked
Q. Explain the Quicksort algorithm, including the steps.
Ans. 

Quicksort is a divide-and-conquer algorithm that sorts an array by partitioning it into two sub-arrays, then recursively sorting the sub-arrays.

  • Choose a pivot element from the array.

  • Partition the array into two sub-arrays, with elements less than the pivot in one sub-array and elements greater than the pivot in the other sub-array.

  • Recursively apply the quicksort algorithm to each sub-array.

  • Combine the sorted sub-a...

A Programmer Analyst was asked
Q. What is NoSQL and how is it different from RDBMS?
Ans. 

NoSQL is a non-relational database that stores and retrieves data in a flexible and scalable manner.

  • NoSQL databases are schema-less and do not require a fixed table structure like RDBMS.

  • NoSQL databases are horizontally scalable, meaning they can handle large amounts of data and traffic.

  • Examples of NoSQL databases include MongoDB, Cassandra, and Redis.

  • RDBMS databases are vertically scalable, meaning they can handle...

Are these interview questions helpful?
A Programmer Analyst was asked
Q. Write a program in Java to find the middle element in a list.
Ans. 

Java program to find the middle element in a list.

  • Create a list and add elements to it.

  • Find the size of the list using size() method.

  • Calculate the middle index using size()/2.

  • Retrieve the middle element using get() method.

  • Handle cases where the list has even number of elements.

A Programmer Analyst was asked
Q. Explain joins in detail and their types.
Ans. 

Joins are used to combine data from two or more tables based on a related column.

  • Types of joins include inner join, left join, right join, and full outer join.

  • Inner join returns only the matching rows from both tables.

  • Left join returns all rows from the left table and matching rows from the right table.

  • Right join returns all rows from the right table and matching rows from the left table.

  • Full outer join returns al...

A Programmer Analyst was asked
Q. Can you provide a simple and quantifiable example?
Ans. 

To improve website performance, reduce page load time by 20% within 3 months.

  • Analyze current website performance metrics

  • Identify areas of improvement such as image optimization, code minification, and caching

  • Implement changes and monitor performance regularly

  • Use tools like Google PageSpeed Insights and GTmetrix to track progress

Cognizant Interview Experiences

142 interviews found

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Coding Test 

Medium Level leetcode questions.

Round 2 - Technical 

(2 Questions)

  • Q1. Questions on python and logic for a simple python coding question
  • Q2. Questions on AWS medium
Round 3 - HR 

(2 Questions)

  • Q1. Give a brief about yourself
  • Ans. 

    I am a skilled Programmer Analyst with experience in developing and maintaining software applications.

    • Proficient in programming languages such as Java, C++, and Python

    • Strong analytical and problem-solving skills

    • Experience in database management and system integration

    • Ability to work well in a team environment and communicate effectively with stakeholders

  • Answered by AI
  • Q2. Document validation
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Basic Aptitude Questions

Round 2 - Technical 

(2 Questions)

  • Q1. OOPS Concept and coding questions
  • Q2. SQL coding questions

Programmer Analyst Interview Questions & Answers

user image Dheeraj Pant

posted on 31 Dec 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Basic apti questions

Round 2 - Coding Test 

4 question based on dsa. Two easy and two difficult

Round 3 - Technical 

(2 Questions)

  • Q1. Data science basics
  • Q2. Implement queue
  • Ans. 

    A queue is a linear data structure that follows the First In First Out (FIFO) principle for managing elements.

    • A queue can be implemented using arrays or linked lists.

    • In an array-based implementation, maintain two pointers: front and rear.

    • Enqueue operation adds an element at the rear, while dequeue removes from the front.

    • Example: Enqueue 'A', 'B', 'C' results in queue: ['A', 'B', 'C']. Dequeue removes 'A', resulting in ...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Sep 2024. There were 2 interview rounds.

Round 1 - Coding Test 

SQL,Python,C,C#,Dotnet

Round 2 - Assignment 

Coding challenge with respect to what is mentioned in resume

Interview Preparation Tips

Interview preparation tips for other job seekers - All the best
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Job Portal and was interviewed in Apr 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Coding questions specially based on your technical skills.

Round 2 - Technical 

(4 Questions)

  • Q1. One more technical round to understand your technical skills
  • Q2. Explain about internship
  • Q3. Project you worked in BE
  • Ans. 

    Developed a web-based inventory management system for a local bookstore as part of my Bachelor's degree project.

    • Designed a user-friendly interface using HTML, CSS, and JavaScript.

    • Implemented a backend using PHP and MySQL for data storage and retrieval.

    • Conducted user testing with bookstore staff to gather feedback and improve functionality.

    • Integrated features like search, add, update, and delete for managing inventory.

    • D...

  • Answered by AI
  • Q4. Previous experience
Round 3 - HR 

(1 Question)

  • Q1. One HE round to discuss about terms of employment

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well for your technical skills
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

There were questions related to reasoning, English, aptitude, and mathematics.

Round 2 - Coding Test 

Coding round with 4/5 codes were there

Interview Preparation Tips

Interview preparation tips for other job seekers - Please go with basic knowledge based understandings
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I appeared for an interview in Jan 2025.

Round 1 - Coding Test 

Oops,dsa,sql,30min,easy,hackerrank

Round 2 - Group Discussion 

Group,discussion,coding,java,ml,dsa

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Group Discussion 

Intutive and immersive topic asked was about co2 emission

Round 2 - Case Study 

Algebraic questions and IQ

Interview Preparation Tips

Interview preparation tips for other job seekers - All the begs
Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Frequency of strings

Round 2 - Technical 

(3 Questions)

  • Q1. What is abstract class
  • Ans. 

    Abstract class is a class that cannot be instantiated and may contain abstract methods.

    • Cannot be instantiated directly

    • May contain abstract methods that must be implemented by subclasses

    • Can have both abstract and non-abstract methods

    • Used for creating a template for other classes to inherit from

  • Answered by AI
  • Q2. What exception handling
  • Ans. 

    Exception handling is a programming concept that deals with errors and unexpected events in a program.

    • Exception handling allows programmers to gracefully handle errors and prevent program crashes.

    • It involves using try, catch, and finally blocks to handle exceptions.

    • Examples of exceptions include divide by zero, file not found, and out of memory errors.

  • Answered by AI
  • Q3. Difference between list and array
  • Ans. 

    Arrays are fixed in size and store elements of the same data type, while lists can dynamically resize and store elements of different data types.

    • Arrays have a fixed size, while lists can dynamically resize.

    • Arrays store elements of the same data type, while lists can store elements of different data types.

    • Arrays use contiguous memory allocation, while lists use linked data structures.

    • Arrays are accessed by index, while ...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. What's your expectations

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Apr 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

Aptitude test 2 hours

Round 2 - Technical 

(2 Questions)

  • Q1. Programming questions and their logic
  • Q2. Code logic for a specific function
  • Ans. 

    Code logic for a specific function

    • Identify the input parameters required for the function

    • Define the steps needed to achieve the desired output

    • Consider edge cases and error handling

    • Test the function with different inputs to ensure correctness

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. Intro about myself
  • Q2. Background qns to know more about myself

Interview Preparation Tips

Interview preparation tips for other job seekers - na

Cognizant Interview FAQs

How many rounds are there in Cognizant Programmer Analyst interview for experienced candidates?
Cognizant interview process for experienced candidates usually has 2-3 rounds. The most common rounds in the Cognizant interview process for experienced candidates are Technical, Aptitude Test and HR.
How to prepare for Cognizant Programmer Analyst interview for experienced candidates?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are Functional Testing, Test Cases, Smoke Testing, Test Data and System Integration Testing.
What are the top questions asked in Cognizant Programmer Analyst interview for experienced candidates?

Some of the top questions asked at the Cognizant Programmer Analyst interview for experienced candidates -

  1. 1 Tell me about your self 2 What is c# 3 What is oops concept 4 What is Delegat...read more
  2. Q1. Write a program to check whether the given String is pallindrome or not usi...read more
  3. Explain me about OOPS Concepts. Write a program in C++ to calculate Fibonacci S...read more
What are the most common questions asked in Cognizant Programmer Analyst HR round for experienced candidates?

The most common HR questions asked in Cognizant Programmer Analyst interview are for experienced candidates -

  1. What is your family backgrou...read more
  2. Why are you looking for a chan...read more
  3. Where do you see yourself in 5 yea...read more
How long is the Cognizant Programmer Analyst interview process?

The duration of Cognizant Programmer Analyst interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 78 interview experiences

Difficulty level

Easy 35%
Moderate 61%
Hard 4%

Duration

Less than 2 weeks 59%
2-4 weeks 34%
4-6 weeks 4%
6-8 weeks 2%
More than 8 weeks 2%
View more
Cognizant Programmer Analyst Salary
based on 56.2k salaries
₹2 L/yr - ₹9.3 L/yr
8% less than the average Programmer Analyst Salary in India
View more details

Cognizant Programmer Analyst Reviews and Ratings

based on 5.8k reviews

3.5/5

Rating in categories

3.5

Skill development

3.5

Work-life balance

3.0

Salary

3.3

Job security

3.5

Company culture

2.7

Promotions

3.2

Work satisfaction

Explore 5.8k Reviews and Ratings
Associate
73.2k salaries
unlock blur

₹5.4 L/yr - ₹12.5 L/yr

Programmer Analyst
56.2k salaries
unlock blur

₹3.5 L/yr - ₹7.3 L/yr

Senior Associate
55.1k salaries
unlock blur

₹8.4 L/yr - ₹28.5 L/yr

Senior Processing Executive
29.8k salaries
unlock blur

₹2.2 L/yr - ₹6.5 L/yr

Technical Lead
18.1k salaries
unlock blur

₹6 L/yr - ₹25.5 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.6
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview