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 Freshers

Updated 6 Jul 2025

68 Interview questions

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

Programmer Analyst Interview Questions Asked at Other Companies for Fresher

asked in Cognizant
Q1. What is stack? How do you convert a queue to stack?
asked in Cognizant
Q2. Given two tables, one with 20 student records and another with 10 ... read more
asked in Cognizant
Q3. What is the difference between a structure and a class?
Q4. What is SQL? define ddl? Why should we hire you?
asked in Cognizant
Q5. What is the difference between RDBMS and DBMS? Explain database w ... read more
A Programmer Analyst was asked 4mo ago
Q. Given two numbers, write a program to swap them without using a temporary variable.
Ans. 

Swapping two numbers involves exchanging the values of two variables.

  • Create a temporary variable to store one of the numbers

  • Assign the value of the first number to the second number

  • Assign the value of the temporary variable to the first number

A Programmer Analyst was asked 4mo ago
Q. Write a program to swap two numbers using a temporary variable.
Ans. 

Swapping two numbers using a temporary variable in programming.

  • Declare three variables: a, b, temp.

  • Assign values to a and b.

  • Store the value of a in temp.

  • Assign the value of b to a.

  • Assign the value of temp to b.

  • Now a and b have been swapped.

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 7mo ago
Q. If given the name 'pulsar', the function should return 'bike'; otherwise, it should return 'car'. Can you implement this function?
Ans. 

This function checks if the input name is 'pulsar' and returns 'bike' or 'car' accordingly.

  • Use a simple conditional statement to check the name.

  • Example: If name == 'pulsar', return 'bike'.

  • Else, return 'car'.

  • This can be implemented in various programming languages.

🔥 Asked by recruiter 10 times
A Programmer Analyst was asked 8mo ago
Q. What is Polymorphism?
Ans. 

Polymorphism is the ability of a single function or method to operate on different types of data.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example: Inheritance in object-oriented programming languages like Java allows for polymorphism.

A Programmer Analyst was asked 9mo ago
Q. Write code to find the frequency of elements in an array.
Ans. 

This task involves counting the frequency of each string in an array and returning the results in a structured format.

  • Use a dictionary to store the frequency of each string.

  • Iterate through the array and update the count in the dictionary.

  • Example: For input ['apple', 'banana', 'apple'], output should be {'apple': 2, 'banana': 1}.

Are these interview questions helpful?
A Programmer Analyst was asked 10mo ago
Q. What are the key constraints?
Ans. 

Key constraints are rules that enforce uniqueness and relationships in a database.

  • Key constraints ensure that each record in a table is uniquely identified.

  • Primary key constraint enforces uniqueness and ensures each record has a unique identifier.

  • Foreign key constraint establishes a relationship between two tables based on a key field.

  • Unique key constraint ensures that all values in a column are unique.

A Programmer Analyst was asked 10mo ago
Q. What is Python?
Ans. 

Python is a high-level programming language known for its simplicity and readability.

  • Python is interpreted, not compiled

  • It supports multiple programming paradigms like procedural, object-oriented, and functional programming

  • Python has a large standard library and a vibrant community for support

  • Example: print('Hello, World!') is a simple Python program that prints 'Hello, World!' to the console

A Programmer Analyst was asked 11mo ago
Q. How do you perform type casting in Java?
Ans. 

Type casting in Java is the process of converting one data type into another.

  • Use the syntax (newType) variableName to perform type casting.

  • Type casting can be done implicitly or explicitly.

  • Explicit type casting is done by the programmer and may result in data loss if the new type cannot hold the original value.

Cognizant Programmer Analyst Interview Experiences for Freshers

123 interviews found

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
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
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
More than 8 weeks
Result
No response

I appeared for an interview in Aug 2024.

Round 1 - Communication assessment 

(4 Questions)

  • Q1. Speaking on given topic until timer runs out
  • Q2. Grammar questions
  • Q3. Listening to played audio and repeating it correctly
  • Q4. Fill in the blanks type of questions
Round 2 - Aptitude Test 

Part 1 was numerical aptitude MCQ questions. After timer runs out you'll be taken to part 2 game based logical pattern matching questions. Mettl browser was the platform

Round 3 - Coding Test 

Two Java only coding questions, one easy and another medium level. Then filling in code for HTML CSS JavaScript to get desired output

Round 4 - Technical 

(1 Question)

  • Q1. Nobody interviewed me on scheduled date and time. No response from company after that

Interview Preparation Tips

Interview preparation tips for other job seekers - Strong knowledge on Java, SQL, HTML, CSS, and JavaScript is a must. DSA knowledge for solving coding required. Be confident and revise logical puzzles commonly asked by service based companies like 5L and 3L bucket puzzle, search for them in GeeksForGeeks
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Few Quesrtions from Puzzles and pattern and English

Round 2 - One-on-one 

(2 Questions)

  • Q1. Describe about college project
  • Ans. 

    Developed a web-based inventory management system for a local grocery store

    • Used HTML, CSS, JavaScript for front-end development

    • Utilized PHP and MySQL for back-end functionality

    • Implemented user authentication and authorization features

    • Integrated barcode scanning functionality for easy inventory tracking

  • Answered by AI
  • Q2. Questions from Area of Interest
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

First round is aptitude

Round 2 - Coding Test 

Second was coding then after technical interview

Round 3 - Technical 

(2 Questions)

  • Q1. One aptitude Question
  • Q2. One simple coding question like find the frequency of arrays
  • Ans. 

    This task involves counting the frequency of each string in an array and returning the results in a structured format.

    • Use a dictionary to store the frequency of each string.

    • Iterate through the array and update the count in the dictionary.

    • Example: For input ['apple', 'banana', 'apple'], output should be {'apple': 2, 'banana': 1}.

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected
Round 1 - Aptitude Test 

Repeated questions have been asked.

Round 2 - Coding Test 

Basic Questions Were Asked.

Interview Preparation Tips

Interview preparation tips for other job seekers - Review the fundamentals of Java, improve your communication skills, prepare for SQL, and create a personal project; that's all.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

  • Q1. 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 custom rep...

  • Answered by AI
  • Q2. 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., customer...

  • Answered by AI
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
  • Q1. Example or your leadership quality
  • Q2. If your manager is on leave and you have an critical business issue . Even your manager is out of office and not able to reach out to him through mobile. What will you do?
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Coding Test 

HACKERRANK TEST WAS CONDUCTED FOR TESTING THE KNOWLEDGE IN REACT.JS AS I BELONG TO THAT FIELD.

Round 2 - Technical 

(8 Questions)

  • Q1. What project you were in ?
  • Q2. What was your day to day role in that project?
  • Q3. Two defined table and fetching data is done one table has 20 records of 20 students another table has 10 student information if i want to pick the common record how to pick?
  • Ans. 

    Use SQL JOIN to fetch common records from two tables.

    • Use SQL JOIN to combine the two tables based on a common column (e.g. student ID).

    • Select the columns you want to retrieve from both tables.

    • Use the WHERE clause to filter out the records that are common between the two tables.

  • Answered by AI
  • Q4. Difference between sql and sql server?
  • Ans. 

    SQL is a language used to manage databases, while SQL Server is a Microsoft product that includes a database management system.

    • SQL is a language used to interact with databases, while SQL Server is a Microsoft product that includes a database management system.

    • SQL can be used with various database management systems like MySQL, Oracle, etc., while SQL Server is specific to Microsoft.

    • SQL is a standard language for query...

  • Answered by AI
  • Q5. Question related to Joins?
  • Q6. If i want to select uncommon records which does not match how to pick?
  • Ans. 

    To select uncommon records that do not match, use the NOT IN or NOT EXISTS clause in SQL.

    • Use the NOT IN clause to select records that do not match a specific list of values.

    • Use the NOT EXISTS clause to select records that do not have a matching record in a subquery.

    • Example: SELECT * FROM table_name WHERE column_name NOT IN (value1, value2);

    • Example: SELECT * FROM table1 WHERE NOT EXISTS (SELECT * FROM table2 WHERE table...

  • Answered by AI
  • Q7. Explain react in website making?
  • Ans. 

    React is a JavaScript library for building user interfaces.

    • React allows developers to create reusable UI components.

    • It uses a virtual DOM for efficient rendering.

    • React can be used to build single-page applications.

    • React is maintained by Facebook and a community of developers.

    • React can be combined with other libraries like Redux for state management.

  • Answered by AI
  • Q8. How to add moving images in flipkart?
  • Ans. 

    Moving images can be added in Flipkart by using HTML and CSS animations.

    • Use HTML tag to insert the image

    • Apply CSS animations to create the moving effect

    • Use keyframes to define the animation behavior

Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Programmer Analyst interview:
  • SQL Server
  • React.Js
  • Angularjs
  • HTML
  • CSS
  • Bootstrap
  • ASP.Net MVC
  • MySQL
Interview preparation tips for other job seekers - Many more Questions related to react,angular,sql server,HTML,CSS,BOOTSTRAP.
CHECKED ALMOST EVERY KNOWLEDGE MENTIONED BY ME.
Do prepare for what you've mentioned in your resume and your technical expertise.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Easy level aptitude. Revise basic mathematics also. That's it

Round 2 - Coding Test 

Easy to medium level

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare harder now otherwise regret later after joining maybe not immediately

Cognizant Interview FAQs

How many rounds are there in Cognizant Programmer Analyst interview for freshers?
Cognizant interview process for freshers usually has 2-3 rounds. The most common rounds in the Cognizant interview process for freshers are Aptitude Test, Technical and Resume Shortlist.
How to prepare for Cognizant Programmer Analyst interview for freshers?
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 Manual Testing, Smoke Testing, Test Cases, Test Data and Test Planning.
What are the top questions asked in Cognizant Programmer Analyst interview for freshers?

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

  1. Two defined table and fetching data is done one table has 20 records of 20 stud...read more
  2. If i want to select uncommon records which does not match how to pi...read more
  3. Technical: SQL queries of join b/w three tables Sorting in descending order c ...read more
What are the most common questions asked in Cognizant Programmer Analyst HR round for freshers?

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

  1. Where do you see yourself in 5 yea...read more
  2. What are your strengths and weakness...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 82 interview experiences

Difficulty level

Easy 28%
Moderate 67%
Hard 5%

Duration

Less than 2 weeks 48%
2-4 weeks 26%
4-6 weeks 13%
6-8 weeks 6%
More than 8 weeks 7%
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