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

Updated 6 Jul 2025

271 Interview questions

🔥 Asked by recruiter 5 times
A Programmer Analyst was asked 1w ago
Q. What are the concepts of OOPS?
Ans. 

OOPs (Object-Oriented Programming) is a programming paradigm based on objects and classes, promoting code reusability and modularity.

  • 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 th...

A Programmer Analyst was asked 2w ago
Q. What is the difference between partition and cluster?
Ans. 

Partitions divide data into distinct sections, while clusters group similar data points together for analysis.

  • Partitioning involves dividing a dataset into non-overlapping segments, e.g., dividing a database into tables.

  • Clustering groups similar data points based on characteristics, e.g., customer segmentation in marketing.

  • Partitions are often used for data organization and management, while clusters are used for ...

Programmer Analyst Interview Questions Asked at Other Companies

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. What is stack? How do you convert a queue to stack?
asked in Cognizant
Q3. Given two tables, one with 20 student records and another with 10 ... read more
asked in Cognizant
Q4. What is the difference between a structure and a class?
Q5. What is SQL? define ddl? Why should we hire you?
A Programmer Analyst was asked 2w ago
Q. Why are we moving to modern data warehousing?
Ans. 

Modern data warehousing enhances scalability, performance, and analytics capabilities for better decision-making.

  • Scalability: Modern data warehouses can easily scale to accommodate growing data volumes, such as cloud-based solutions like Snowflake.

  • Real-time analytics: They support real-time data processing, enabling businesses to make timely decisions, as seen with platforms like Google BigQuery.

  • Cost-effectiveness...

🔥 Asked by recruiter 2 times
A Programmer Analyst was asked 2mo ago
Q. Where are you from?
Ans. 

I hail from a vibrant city known for its tech innovation and cultural diversity, which has greatly influenced my career in programming.

  • I grew up in San Francisco, a hub for technology and startups.

  • The city's rich cultural scene has inspired my creativity in coding.

  • I often visit local tech meetups to network and learn from others.

  • The proximity to Silicon Valley has provided numerous career opportunities.

What people are saying about Cognizant

View All
schedule2
Verified Icon
2w
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Cognizant?
Ask anonymously on communities.
A Programmer Analyst was asked 2mo ago
Q. Python codes to write
Ans. 

Python codes can be used for various tasks, including data analysis, web development, and automation.

  • Python supports multiple programming paradigms, including procedural, object-oriented, and functional programming.

  • Example of a simple function: def greet(name): return f'Hello, {name}!'

  • Python has extensive libraries like NumPy for numerical computations and Pandas for data manipulation.

  • Example of using a library: i...

A Programmer Analyst was asked 3mo ago
Q. Write an SQL query to find the employee with the highest salary.
Ans. 

This SQL query retrieves the employer with the highest salary from a given database table.

  • Use the SELECT statement to specify the columns you want to retrieve, such as employer name and salary.

  • Utilize the MAX() function to find the highest salary in the salary column.

  • Combine the MAX() function with a subquery to get the corresponding employer's name.

  • Example Query: SELECT employer_name FROM employees WHERE salary =...

A Programmer Analyst was asked 3mo ago
Q. Write an SQL query to find the second highest salary.
Ans. 

SQL query to find the second highest salary from a table of employees.

  • Use the 'DISTINCT' keyword to avoid duplicate salaries.

  • Use 'ORDER BY' clause to sort salaries in descending order.

  • Use 'LIMIT' or 'OFFSET' to skip the highest salary and fetch the second.

  • Example SQL: 'SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;'

Are these interview questions helpful?
A Programmer Analyst was asked 3mo ago
Q. What is workflow?
Ans. 

Workflow is a sequence of tasks or processes that define how work is completed within an organization.

  • Defines the steps needed to complete a task, e.g., processing a loan application.

  • Can be automated using software tools, like project management systems.

  • Involves roles and responsibilities, ensuring accountability, e.g., who approves a document.

  • Can be visualized using flowcharts to illustrate the process, e.g., cus...

A Programmer Analyst was asked 3mo ago
Q. What is SAP ABAP?
Ans. 

SAP ABAP is a high-level programming language used for developing applications on the SAP platform.

  • ABAP stands for Advanced Business Application Programming.

  • It is primarily used for developing business applications in SAP environments.

  • ABAP programs can be executed on the SAP NetWeaver Application Server.

  • Common use cases include report generation, data manipulation, and interface development.

  • Example: Creating custo...

A Programmer Analyst was asked 3mo ago
Q. Write a program to calculate the sum of the digits of a number.
Ans. 

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.

Cognizant Programmer Analyst Interview Experiences

564 interviews found

Programmer Analyst Interview Questions & Answers

user image Hrushikesh Yelekar

posted on 23 Feb 2025

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

I appeared for an interview in Jan 2025.

Round 1 - Coding Test 

It's easy just be yourself

Round 2 - Technical 

(2 Questions)

  • Q1. Tell me about yourself
  • Q2. About core Java and oops concept
Round 3 - HR 

(2 Questions)

  • Q1. Tell me about yourself
  • Q2. What are your strengths and weakness
  • Ans. 

    Strengths: Strong problem-solving skills, attention to detail, quick learner. Weakness: Sometimes too focused on perfection.

    • Strength: Strong problem-solving skills - able to analyze complex problems and come up with effective solutions

    • Strength: Attention to detail - ensures accuracy in coding and testing

    • Strength: Quick learner - able to quickly adapt to new technologies and languages

    • Weakness: Sometimes too focused on p...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I appeared for an interview in Jan 2025.

Round 1 - Aptitude Test 

It was conducted in Superset.

Round 2 - Technical 

(2 Questions)

  • Q1. Introduce you self
  • Ans. 

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

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

    • Proficient in analyzing user requirements and designing solutions

    • Strong problem-solving skills and attention to detail

    • Familiar with database management systems like MySQL and Oracle

  • Answered by AI
  • Q2. College project details
Round 3 - HR 

(2 Questions)

  • Q1. Just the documents verification
  • Q2. Are you comfortable with the possibility of relocating?
  • Ans. 

    Yes, I am open to relocating for the right opportunity.

    • I am willing to relocate for a position that aligns with my career goals and offers growth opportunities.

    • I have relocated in the past for job opportunities and have found it to be a positive experience.

    • I understand that relocating may be necessary for certain roles and am prepared to make that commitment.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be honest; it's simpler if you have graduated from college.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. About projects, basic dsa questions,
  • Q2. String,array and more related to dsa
Round 2 - HR 

(2 Questions)

  • Q1. About yourself and why you amt to join cognizant
  • Q2. About your experience in company

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare well related to your projects worked on and your knowledge.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Coding Test 

MCQ's and few coding questions

Round 2 - Technical 

(2 Questions)

  • Q1. Asked about educational details
  • Q2. Asked about project details
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Python code to connect to database

Round 2 - Coding Test 

Types of views in sql

Round 3 - HR 

(2 Questions)

  • Q1. Why did you choose cognizant ?
  • Q2. What is your current role
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview in Jun 2025, where I was asked the following questions.

  • Q1. Self intro, explain about projects
  • Ans. 

    I am a dedicated Programmer Analyst with experience in software development and project management, focusing on innovative solutions.

    • Graduated with a degree in Computer Science, specializing in software engineering.

    • Worked on a project to develop a web-based inventory management system, improving efficiency by 30%.

    • Led a team in creating a mobile application for healthcare providers, enhancing patient engagement.

    • Utilized...

  • Answered by AI
  • Q2. Java basics, oops concepts, mysql concepts
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. OOP in detail concept
  • Ans. 

    OOP is a programming paradigm based on the concept of objects, which can contain data and code to manipulate that data.

    • OOP focuses on creating reusable code through classes and objects

    • Encapsulation allows data to be hidden and only accessed through methods

    • Inheritance allows classes to inherit properties and methods from other classes

    • Polymorphism allows objects to be treated as instances of their parent class

  • Answered by AI
  • Q2. SOLID Principle
Round 2 - Technical 

(2 Questions)

  • Q1. More on technical side
  • Q2. Scenario wise question
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
3
Average
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Maths , Coding , Logical Reasoning

Round 2 - Technical 

(3 Questions)

  • Q1. Java Beginner to intermediate
  • Q2. Sql beginner to intermediate
  • Q3. Questions asked on each and every skills you mentioned in your CV
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

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

Round 1 - Aptitude Test 

Basic reasoning and aptitude questions

Round 2 - Coding Test 

1 SQL and 1 coding question

Round 3 - Technical 

(1 Question)

  • Q1. Python programming and sql coding was asked

Interview Preparation Tips

Interview preparation tips for other job seekers - Study your projects and resume

Cognizant Interview FAQs

How many rounds are there in Cognizant Programmer Analyst interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Technical, Aptitude Test and HR.
How to prepare for Cognizant Programmer Analyst interview?
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?

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

  1. 1 Tell me about your self 2 What is c# 3 What is oops concept 4 What is Delegat...read more
  2. Two defined table and fetching data is done one table has 20 records of 20 stud...read more
  3. Q1. Write a program to check whether the given String is pallindrome or not usi...read more
What are the most common questions asked in Cognizant Programmer Analyst HR round?

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

  1. What are your strengths and weakness...read more
  2. Where do you see yourself in 5 yea...read more
  3. What is your family backgrou...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.1/5

based on 467 interview experiences

Difficulty level

Easy 28%
Moderate 69%
Hard 4%

Duration

Less than 2 weeks 51%
2-4 weeks 31%
4-6 weeks 9%
6-8 weeks 3%
More than 8 weeks 5%
View more
Cognizant Programmer Analyst Salary
based on 56.2k salaries
₹3.5 L/yr - ₹7.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
73k salaries
unlock blur

₹5.3 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

₹9.7 L/yr - ₹23.4 L/yr

Senior Processing Executive
29.8k salaries
unlock blur

₹2.3 L/yr - ₹6.5 L/yr

Technical Lead
19k salaries
unlock blur

₹6 L/yr - ₹21 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.6
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview