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

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Programmer Analyst Trainee Interview Questions, Process, and Tips

Updated 29 Mar 2025

Top Cognizant Programmer Analyst Trainee Interview Questions and Answers

  • Q1. Check for syntax error/logical error and correct the error to get the desired output. void maxReplace(int size,int *inputList) { int i,sum=0; for(i=0;i
  • Q2. Alien Dictionary Problem Statement You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of th ...read more
  • Q3. if you promised a customer for the product on a specific day and your company will not be able to give that product on time then how will you convince that customer ?
View all 200 questions

Cognizant Programmer Analyst Trainee Interview Experiences

402 interviews found

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

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(4 Questions)

  • Q1. Java and oops concept
  • Q2. Software development life cycle
  • Ans. 

    Software development life cycle is a process of planning, designing, developing, testing, and deploying software.

    • SDLC is a framework that guides the development of software.

    • It involves several stages such as planning, designing, coding, testing, and deployment.

    • Each stage has its own set of activities and deliverables.

    • The goal of SDLC is to produce high-quality software that meets the customer's requirements.

    • Examples of...

  • Answered by AI
  • Q3. Machine learning beginner
  • Q4. SQL basic queries and dbms

Interview Preparation Tips

Interview preparation tips for other job seekers - Blindly follow up your resume topics. And also make a good communication with recruiter.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Sep 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

Aptitude + 3 Coding Questions

Round 2 - Technical 

(2 Questions)

  • Q1. Swap Two no. without using third variable.
  • Ans. 

    Swap two numbers without using a third variable

    • Use arithmetic operations to swap the numbers

    • Example: a = 5, b = 10. After swapping, a = 10, b = 5

  • Answered by AI
  • Q2. Remove duplicate words from a given string.
  • Ans. 

    Remove duplicate words from a given string.

    • Split the string into an array of words

    • Use a Set to store unique words

    • Join the Set back into a string

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. Tell me about yourself.
  • Ans. 

    I am a recent graduate with a degree in Computer Science, passionate about coding and problem-solving.

    • Recent graduate in Computer Science

    • Passionate about coding and problem-solving

    • Experience with programming languages like Java, Python, and SQL

  • Answered by AI
  • Q2. Are you willing to relocate for this Job role.
  • Ans. 

    Yes, I am willing to relocate for this job role.

    • I am open to relocating for the right opportunity.

    • I have relocated for previous job roles and am comfortable with the process.

    • I understand the importance of being flexible and adaptable in the job market.

  • Answered by AI

Skills evaluated in this interview

Programmer Analyst Trainee Interview Questions Asked at Other Companies

asked in Cognizant
Q1. Check for syntax error/logical error and correct the error to get ... read more
asked in Cognizant
Q2. Alien Dictionary Problem Statement You are provided with a sorted ... read more
asked in Cognizant
Q3. if you promised a customer for the product on a specific day and ... read more
asked in Cognizant
Q4. What are OOP characteristics? Difference between abstraction and ... read more
asked in Cognizant
Q5. Why is java platform independent?

I applied via Campus Placement and was interviewed in May 2022. There were 2 interview rounds.

Round 1 - Aptitude Test 

I was asked 4 to 5 simple questions on permutations combinations, probability, speed and time etc.

Round 2 - Technical 

(4 Questions)

  • Q1. Why is java platform independent?
  • Ans. 

    Java is platform independent due to its bytecode and JVM.

    • Java code is compiled into bytecode which is platform-independent.

    • JVM (Java Virtual Machine) interprets the bytecode and executes it on any platform.

    • This eliminates the need for recompilation of code for different platforms.

    • For example, a Java program compiled on Windows can run on Linux or Mac without any changes.

    • This makes Java highly portable and flexible.

  • Answered by AI
  • Q2. Difference between Java and c++?
  • Ans. 

    Java is a high-level, object-oriented programming language, while C++ is a low-level, general-purpose programming language.

    • Java is platform-independent, while C++ is platform-dependent.

    • Java has automatic memory management (garbage collection), while C++ requires manual memory management.

    • Java supports multithreading and exception handling by default, while C++ requires explicit implementation.

    • Java has a simpler syntax a...

  • Answered by AI
  • Q3. Tell me some of the features of Java?
  • Ans. 

    Java is a popular programming language known for its platform independence and object-oriented features.

    • Java is platform independent, meaning it can run on any platform with a Java Virtual Machine (JVM)

    • Java is object-oriented, allowing for encapsulation, inheritance, and polymorphism

    • Java has automatic memory management through garbage collection

    • Java has a rich set of APIs and libraries for various tasks, such as networ...

  • Answered by AI
  • Q4. Why IT as you are from civil engineering background?
  • Ans. Sir, though I am from civil , it interests me. I was learning java during my school days and after that i got somehow detached . But i again discovered interest as one of my roommates is in IT , so seeing her code l, inclined me towards the sub.
  • Answered Anonymously

Interview Preparation Tips

Interview preparation tips for other job seekers - For interview prep platforms such as geeksforgeeks, prepinsta, youtube etc can be referred. Only practicing and being consistent will surely help to crack the interview because there are generally repetitive questions and can be easily learnt from the previous interview experiences.

Skills evaluated in this interview

I applied via Campus Placement

Round 1 - Aptitude Test 

Pretty average questions, not difficult

Round 2 - Technical 

(3 Questions)

  • Q1. Sorting array using any alogrithm
  • Ans. 

    Sorting an array involves arranging its elements in a specific order.

    • Choose an appropriate sorting algorithm based on the size and type of data in the array.

    • Common sorting algorithms include bubble sort, insertion sort, selection sort, merge sort, and quicksort.

    • Implement the chosen algorithm in code and apply it to the array.

    • Verify that the array is sorted correctly by checking the order of its elements.

  • Answered by AI
  • Q2. Code for Pattern matching
  • Ans. 

    Pattern matching is the process of finding specific patterns within a larger set of data.

    • Regular expressions are commonly used for pattern matching.

    • Pattern matching can be used in programming languages to match specific syntax or structures.

    • Pattern matching can also be used in data analysis to find trends or anomalies.

    • Examples of pattern matching include searching for specific words in a document or finding a specific

  • Answered by AI
  • Q3. General OOPs concepts

Interview Preparation Tips

Interview preparation tips for other job seekers - As a CS student, basic concepts would be enough for the interview

Skills evaluated in this interview

Cognizant interview questions for designations

 Trainee Programmer

 (40)

 Programmer Analyst

 (553)

 Senior Programmer Analyst

 (1)

 Junior Programmer Analyst

 (1)

 Programmer

 (28)

 SAS Programmer Analyst

 (1)

 Programmer Analyst 1

 (5)

 Programmer Analyst Intern

 (1)

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

I applied via Campus Placement and was interviewed before Sep 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Consists Quants, English, Reasoning and two easy level questions basicly mathematical based.

Round 3 - Technical 

(1 Question)

  • Q1. Its upto interviewer, who they are and which technology they are belonging too. General they ask about computer language proficiency, coding question may be ask for sometime and fundamental of CS and also ...

Interview Preparation Tips

Interview preparation tips for other job seekers - Please pratice aptitude, logical reasoning and English. After that try to solve atleast 10 questions related to array and string operations. Basically easy level coding questions. And OOPS is important they will definitely ask about it and DBMS

Get interview-ready with Top Cognizant Interview Questions

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed before Sep 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

General aptitude questions were asked and technology based were also asked.

Round 2 - Technical 

(3 Questions)

  • Q1. Normalization in DBMS
  • Ans. 

    Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

    • Normalization helps in minimizing data redundancy by breaking down large tables into smaller ones.

    • It ensures data integrity by reducing the chances of anomalies like insertion, update, and deletion anomalies.

    • There are different normal forms like 1NF, 2NF, 3NF, BCNF, and 4NF, each with specific rules to follow.

    • F...

  • Answered by AI
  • Q2. Html code structure and tags
  • Q3. Data structures
Round 3 - HR 

(1 Question)

  • Q1. General questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident!!!

Skills evaluated in this interview

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 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

It was a basic aptitude test

Round 3 - Coding Test 

They give us two programing questions which are of a medium level

Round 4 - Technical 

(1 Question)

  • Q1. Basic questions about us About the projects we mentioned Skills we project in the resume
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Feb 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Aptitude test means multiple choice questions related to job.

Round 3 - Coding Test 

Transformation of medical procedure, method, disease name , instruments into alfanumerical form.

Round 4 - Case Study 

In this particular case will be study.

Interview Preparation Tips

Interview preparation tips for other job seekers - Marketing of yourself. Be proactive market yourself as you were marketing the business.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Aptitude Test 

I attended gen c,there was no coding questions asked just aptitude questions

Round 2 - One-on-one 

(2 Questions)

  • Q1. What are access specifiers?
  • Ans. 

    Access specifiers determine the level of access to class members.

    • There are three access specifiers in Java: public, private, and protected.

    • Public members can be accessed from anywhere.

    • Private members can only be accessed within the same class.

    • Protected members can be accessed within the same class and its subclasses.

    • Access specifiers help enforce encapsulation and prevent unauthorized access to class members.

  • Answered by AI
  • Q2. What is the difference between c and c++?
  • Ans. 

    C++ is an extension of C with object-oriented programming features.

    • C++ supports object-oriented programming while C does not.

    • C++ has classes and templates while C does not.

    • C++ has better support for exception handling than C.

    • C++ has a standard library that includes many useful functions.

    • C++ is more complex than C and can be harder to learn.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Ita easy to crack if you put effort .they mainly check your communication skills

Skills evaluated in this interview

I applied via Campus Placement

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Pretty Basics Questions

Round 3 - Technical 

(7 Questions)

  • Q1. Tell me about yourself
  • Q2. Why u want to join it industry
  • Q3. Write a program to swap to Numbers
  • Ans. 

    A program to swap two numbers

    • Declare two variables to store the numbers

    • Take input for both variables

    • Swap the values using a temporary variable

    • Print the swapped values

  • Answered by AI
  • Q4. Write a program to find palindrome
  • Ans. 

    Program to check if a given string is a palindrome or not.

    • Convert the string to lowercase to ignore case sensitivity.

    • Use two pointers, one at the beginning and one at the end of the string.

    • Compare the characters at both pointers and move them towards each other until they meet.

    • If all characters match, the string is a palindrome.

  • Answered by AI
  • Q5. Two puzzels questions
  • Q6. Questions from project
  • Q7. Whats you expecting from this role

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be confident be real you what ur opinions on this

Cognizant Interview FAQs

How many rounds are there in Cognizant Programmer Analyst Trainee interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Aptitude Test, Technical and HR.
How to prepare for Cognizant Programmer Analyst Trainee 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 JIRA, Requirement Analysis, Quality Center, Web Services and Web Technologies.
What are the top questions asked in Cognizant Programmer Analyst Trainee interview?

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

  1. if you promised a customer for the product on a specific day and your company w...read more
  2. What are OOP characteristics? Difference between abstraction and encapsulation?...read more
  3. Why is java platform independe...read more
How long is the Cognizant Programmer Analyst Trainee interview process?

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

Tell us how to improve this page.

Cognizant Programmer Analyst Trainee Interview Process

based on 240 interviews

6 Interview rounds

  • Aptitude Test Round - 1
  • Aptitude Test Round - 2
  • Technical Round
  • HR Round - 1
  • HR Round - 2
  • Personal Interview1 Round
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.6k Interviews
Accenture Interview Questions
3.8
 • 8.3k Interviews
Infosys Interview Questions
3.6
 • 7.7k Interviews
Wipro Interview Questions
3.7
 • 5.7k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
HCLTech Interview Questions
3.5
 • 3.9k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.9k Interviews
Genpact Interview Questions
3.8
 • 3.2k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
DXC Technology Interview Questions
3.7
 • 804 Interviews
View all
Cognizant Programmer Analyst Trainee Salary
based on 8.5k salaries
₹0.9 L/yr - ₹5 L/yr
At par with the average Programmer Analyst Trainee Salary in India
View more details

Cognizant Programmer Analyst Trainee Reviews and Ratings

based on 873 reviews

3.4/5

Rating in categories

3.4

Skill development

3.4

Work-life balance

3.1

Salary

3.2

Job security

3.4

Company culture

3.0

Promotions

3.0

Work satisfaction

Explore 873 Reviews and Ratings
Associate
72.3k salaries
unlock blur

₹5.2 L/yr - ₹16 L/yr

Programmer Analyst
55.6k salaries
unlock blur

₹2.4 L/yr - ₹9.3 L/yr

Senior Associate
50.3k salaries
unlock blur

₹9 L/yr - ₹28.6 L/yr

Senior Processing Executive
29.1k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.7k salaries
unlock blur

₹6 L/yr - ₹25 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview