Cognizant interview questions

890 questions from 146 candidate reports · 2016 to 2025

Online test → Technical → HR·99% entry level

CS fundamentals

Showing 36 of 875 reported in this area

What is the difference between an abstract class and an interface in Java?
asked 5×easyPractice this →
Explain different types of SQL joins.
asked 4×easyPractice this →
What is the Singleton design pattern?
asked 4×easyPractice this →
What is the difference between a list and a tuple in Python?
asked 4×easyPractice this →
Explain OOPS concepts in Java
asked 3×easyPractice this →
Explain ACID properties in DBMS
asked 3×easyPractice this →
Explain exception handling in Java.
asked 3×easyPractice this →
Difference between JDK, JRE, and JVM
asked 3×easyPractice this →
What is SDLC (Software Development Life Cycle)?
asked 3×easyPractice this →
What is inheritance in object-oriented programming?
asked 3×easyPractice this →
Explain Object-Oriented Programming (OOPS) concepts.
asked 3×easyPractice this →
What is the difference between DDL and DML commands?
asked 3×easyPractice this →
What is the difference between DELETE and TRUNCATE in SQL?
asked 3×easyPractice this →
What is the difference between UNION and UNION ALL in SQL?
asked 3×easyPractice this →
Explain Java 8 features
asked 2×mediumPractice this →
Explain the Factory design pattern.
asked 2×mediumPractice this →
Explain Java OOPS concepts with code examples.
asked 2×mediumPractice this →
Why do we use COMMIT in SQL?
asked 2×easyPractice this →
Write SQL queries using JOINs
asked 2×easyPractice this →
Difference between set and tuple
asked 2×easyPractice this →
What is the Virtual DOM in React?
asked 2×easyPractice this →
What is the pass keyword in Python?
asked 2×easyPractice this →
In which OSI layer does HTML belong?
asked 2×easyPractice this →
Write an SQL query for an INNER JOIN.
asked 2×easyPractice this →
What is the __init__ method in Python?
asked 2×easyPractice this →
What is the difference between C++ and Java?
asked 2×easyPractice this →
Explain the difference between HTTP and HTTPS
asked 2×easyPractice this →
What are Primary Memory and Secondary Memory?
asked 2×easyPractice this →
What is the difference between PL/SQL and SQL?
asked 2×easyPractice this →
Explain method overloading and method overriding
asked 2×easyPractice this →
What is the main difference between Java and C++?
asked 2×easyPractice this →
What is the difference between Java and JavaScript?
asked 2×easyPractice this →
Explain Object-Oriented Programming concepts in Java
asked 2×easyPractice this →
Explain encapsulation and the static keyword in Java
asked 2×easyPractice this →
Explain the Object-Oriented Programming (OOP) concepts.
asked 2×easyPractice this →
Explain the four pillars of Object-Oriented Programming
asked 2×easyPractice this →

DSA

Showing 12 of 247 reported in this area

Write a program to check whether a given string is a palindrome.
asked 4×easyPractice this →
Write a program to check whether a given string or number is a palindrome.
asked 4×easyPractice this →
Reverse a singly linked list.
asked 3×mediumPractice this →
Write a program to calculate the factorial of a number
asked 3×easyPractice this →
Write a program to count the number of vowels in a given string.
asked 3×easyPractice this →
Reverse a string in one line
asked 2×easyPractice this →
Remove duplicates from an array
asked 2×easyPractice this →
Remove duplicates from a list in one line
asked 2×easyPractice this →
Write a program to find the GCD of two numbers
asked 2×easyPractice this →
Write a program to generate the Fibonacci series
asked 2×easyPractice this →
Write a basic program to print numbers from 1 to 10
asked 2×easyPractice this →
Basic DSA problem (easy level) asked in the online test
asked 2×easyPractice this →

Aptitude

Showing 3 of 92 reported in this area

In a bank there are three types of coins: 1 rupee, 3 rupee, and 5 rupee in the ratio 3:4:5. The total value is Rs 1450. Find the total number of coins.
asked 2×mediumPractice this →
A can do a work in 12 days and B can do the same work in 18 days. In how many days will they complete the work together?
asked 2×easyPractice this →
Logical reasoning questions testing analytical thinking.

Behavioural

Showing 3 of 45 reported in this area

Describe a recently faced difficult situation and how you handled it
asked 2×mediumPractice this →
Tell me an incident which shows your leadership skills.
asked oncemediumPractice this →
Describe a time when you handled a conflict within a team.
asked oncemediumPractice this →

Puzzles

Showing 3 of 6 reported in this area

Given expression a = 2; evaluate a * a++.
asked oncemediumPractice this →
How can a biased coin be used to generate unbiased outcomes?
asked oncemediumPractice this →
Solve the 3-liter and 5-liter water jug puzzle to measure a specific quantity.
asked oncemediumPractice this →

System design

Showing 3 of 6 reported in this area

How does a search engine work on the front end?
asked oncemediumPractice this →
How do you provide security to a web application?
asked oncemediumPractice this →
How would you ensure efficient query retrieval in a graph database?
asked oncemediumPractice this →

Showing 60 of 890 questions. Ranked by how often the same question came back across reports.

Practise a Cognizant-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does Cognizant ask?

Candidate interview reports most often cover CS fundamentals (69%) and DSA (19%).

How many rounds does Cognizant interview have?

Candidate interview reports show an average of 3.0 rounds per experience, with a typical sequence of Online test → Technical → HR. Individual interview paths can vary.

Is the Cognizant interview hard?

Among questions with a reported difficulty, the mix is easy 72%, medium 27%, hard 1%.

Keep reading