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

Interview experience
3
Average
Difficulty level
Easy
Process Duration
More than 8 weeks
Result
Selected Selected

I appeared for an interview before Mar 2024.

Round 1 - One-on-one 

(2 Questions)

  • Q1. What are data types?
  • Ans. 

    Data types define the kind of data a variable can hold, influencing operations and memory usage.

    • Primitive data types include integers, floats, and characters. Example: int age = 25;

    • Composite data types include arrays and structures. Example: int numbers[] = {1, 2, 3};

    • Data types help in memory allocation and type checking during compilation.

    • Different programming languages have different data types. Example: Python has l

  • Answered by AI
  • Q2. Greedy Algorithm?
  • Ans. 

    A greedy algorithm builds a solution piece by piece, always choosing the next piece that offers the most immediate benefit.

    • Greedy algorithms make locally optimal choices at each step.

    • They do not consider the global context, which can lead to suboptimal solutions.

    • Common examples include the Coin Change Problem and the Activity Selection Problem.

    • In the Coin Change Problem, the greedy approach selects the largest denomina...

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

I appeared for an interview before Mar 2024.

Round 1 - Aptitude Test 

Apps , Quans, Verbal

Round 2 - One-on-one 

(1 Question)

  • Q1. Sql, basic coding
Round 3 - HR 

(1 Question)

  • Q1. Basic question about me

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?
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Aptitude Test 

Basics of aptitude, should be cleared with e days of preparation of aptitude, logical and quants

Round 2 - Technical 

(2 Questions)

  • Q1. Explains oops in java
  • Ans. 

    Object-oriented programming in Java focuses on creating classes and objects to organize and structure code.

    • Java supports the four main principles of OOP: encapsulation, inheritance, polymorphism, and abstraction.

    • Classes are used to define the blueprint for objects, which are instances of classes.

    • Inheritance allows a class to inherit properties and behavior from another class.

    • Polymorphism enables objects to be treated a...

  • Answered by AI
  • Q2. Some aptitude question about upstream and downstream river questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare good aptitude and basics of any one programming language

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Selected Selected

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

Round 1 - Aptitude Test 

Had general Aptitude ,as i opted Genc coding test wasn't conducted

Round 2 - Technical 

(2 Questions)

  • Q1. Asked basics programming concepts like functions , variables as i was from non-coding branch
  • Q2. Self intro Projects Programming aspects in project
  • Ans. 

    I am a Programmer Analyst Trainee with experience in various projects and programming aspects.

    • I have worked on a project to develop a web application for a retail company.

    • In this project, I was responsible for designing and implementing the front-end using HTML, CSS, and JavaScript.

    • I also worked on the back-end development using Java and Spring framework.

    • Another project I worked on was a mobile app for a healthcare org...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn basics of programming and few basic programs like palamdrome, addition , greatest of two numbers ( if you are from non-coding branch )

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)

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 

60 questions and there is a cut off to clear it
Then second round was more

Round 3 - Technical 

(3 Questions)

  • Q1. Second round was more of technical stuff. As a fresher it wa
  • Q2. Tell me about yourself
  • Q3. Prepare what you are in person

Interview Preparation Tips

Interview preparation tips for other job seekers - All the best.. prepare some aptitude questions and basic oops concepts should be good enough

Get interview-ready with Top Cognizant Interview Questions

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

I applied via Company Website and was interviewed before Sep 2023. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Oops and its types
  • Ans. 

    Oops stands for Object-Oriented Programming System. Types include syntax errors, logical errors, and runtime errors.

    • Syntax errors are mistakes in the code that prevent it from running, such as missing semicolons or parentheses.

    • Logical errors occur when the code runs but produces incorrect results, such as using the wrong formula in a calculation.

    • Runtime errors happen during the execution of the program, such as dividin

  • Answered by AI
  • Q2. Write program for prime Number
  • Ans. 

    Program to check if a number is prime or not

    • Create a function to check if a number is prime by iterating from 2 to the square root of the number

    • If the number is divisible by any number in that range, it is not prime

    • Handle edge cases like 0, 1, and negative numbers

  • Answered by AI
  • Q3. SQL Joins and its types
  • Ans. 

    SQL Joins are used to combine rows from two or more tables based on a related column between them.

    • Types of SQL Joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.

    • INNER JOIN returns rows when there is at least one match in both tables.

    • LEFT JOIN returns all rows from the left table and the matched rows from the right table.

    • RIGHT JOIN returns all rows from the right table and the matched rows from the left tab...

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Sep 2022. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. 1. Tell me about yourself 2. Project Discussion 3. Basic aptitude+ Puzzle based questions 4. Coding in any preferred language 5. Basics in DBMS, OOPS , DSA
Round 2 - HR 

(1 Question)

  • Q1. 1. Tell me about yourself 2. Project discussion 3. Basic HR related questions 4. HR related activities..

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep focus on basics of your subject.
Make a thorough discussion with interviewer during interview
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 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was a MCQ test on aptitude

Round 2 - One-on-one 

(2 Questions)

  • Q1. SQL BASIC AND DATA SCIENCE CONCEPTS
  • Q2. Databases and live aptitude
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

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

Round 1 - Aptitude Test 

Intermediate level aptitude exam

Round 2 - Technical 

(2 Questions)

  • Q1. What is OOPS concepts
  • Ans. 

    OOPS concepts refer to Object-Oriented Programming principles such as 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 det

  • Answered by AI
  • Q2. Write a Query to find the prime number upto n using python
  • Ans. 

    Query to find prime numbers up to n using Python

    • Use a for loop to iterate through numbers up to n

    • Check if each number is prime by dividing it by numbers up to its square root

    • If the number is only divisible by 1 and itself, it is prime

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. Are you will to relocate
  • Ans. 

    Yes, I am willing to relocate for the right opportunity.

    • I am open to relocating for career growth and new experiences.

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

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

  • Answered by AI
  • Q2. Pancard details

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Jan 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

An aptitude test was conducted.

Round 2 - Communication round 

(1 Question)

  • Q1. The communication round conducted in basic English
Round 3 - Technical 

(1 Question)

  • Q1. Technical interview

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