Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

Cognizant SDE Sheet: Interview Questions and Answers

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Cognizant is an American multinational information technology services and consulting company, headquartered in new jersey, US. It has broadly two units. The vertical units focus on specific industries. This sheet will assist you to land a job at cognizant, we have compiled all the interview questions and answers.

Cognizant SDE Sheet

The horizontals focus on specific technologies or services such as Analytics, mobile computing, BPO, and Testing. It outsources services for industries including banking, health care, manufacturing, media, and entertainment. As of 2021, it is ranked 185 in the fortune 500.

Cognizant’s recruitment process involves 3 rounds following registration:

  • Written Round: It tests general aptitude and verbal ability.

    • Quantitative Aptitude ( 25 questions for 35 minutes): This section contains questions from Basic Mathematics, Applied Mathematics, and Engineering Mathematics
    • Verbal Ability (20 questions for 20 minutes): This section contains questions based on Vocabulary (Synonyms, Antonym, Contextual Vocabulary), Grammar (Error Identification, Sentence Improvement, and Construction), and Comprehension Reading.
    • Logical Ability ( 35 questions for 45 minutes): This section contains questions based on topics like Coding deductive logic, Data Sufficiency, Objective Reasoning, Data Arrangement, Coding Pattern Recognition, and Number Series Pattern Recognition.
  • Technical Round: To clear this round you should have clear concepts of Data structures and Algorithms, DBMS, Operating systems, Networking, and OOPs, and have to command over a programming language of your choice. This round may involve puzzles as well.
  • HR Round: The conventional HR questions are asked in this final round.

Cognizant Interview Preparation Roadmap


Why this sheet?

Young talents from across India in quest of a brilliant career find great opportunities and global exposure at cognizant, because of its top-tier clients in almost every industry. We have prepared this sheet just for those, who are trying to grab these opportunities at cognizant. This sheet covers most of the important questions and answers that pop up in cognizant technical interviews. The questions in this sheet are grouped topic-wise covering all major DSA topics with the practice link.

Written Round

The Written round consists of two major sections namely the General Aptitude Test and the Verbal Ability Test. General Aptitude Test, has mathematical reasoning part and logical reasoning part, and a verbal ability Test.

Aptitude & Reasoning Ability:

Hence, aptitude is no such thing to be afraid of during the placement process but yes it should be paid attention to because it is the screening test and if you don’t get through this then you will be out of the placement process. So here we have 6 sets to practice your aptitude skills.


Verbal Ability:

To check your proficiency in English, they will check your grammar knowledge, for that, we have prepared 5 sets of English Reading Comprehension for that.

Logical Ability:

Logical ability is a non-verbal assessment that specifically tests your ability to analyse concepts and problems expressed in the form of images, diagrams, etc. We have reasoning problems based on several topics to help you better for the assessment round.


Coding Section

In the Coding section of Cognizant, they asked questions about the below-mentioned topics.

Array: An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together.

Rotate ArraySolve
Largest Element in ArraySolve
Find Second largest element in an arraySolve
Print alternate elements of an arraySolve
Program to find sum of elements in a given arraySolve
Palindromic ArraySolve
Count of smaller elementsSolve
Find the Index of an arraySolve
Element with left side smaller and right side greaterSolve
Missing number in arraySolve
Count the ZerosSolve
Sort elements by frequencySolve
Counting elements in two arraysSolve
Two Repeated ElementsSolve
Elements in the RangeSolve
Remove minimum elementsSolve
Buildings receiving sunlightSolve
Last duplicate element in a sorted arraySolve
Adding Array ElementsSolve
Program for average of an array (Iterative and Recursive)Solve
Given an array of pairs, find all symmetric pairs in itSolve
Remove duplicates from unsorted array using Map data structureSolve
Find whether an array is subset of another arraySolve
Program to cyclically rotate an array by oneSolve
Rearrange Array AlternatelySolve
Swap kth elementsSolve
Sum of Middle Elements of two sorted arraysSolve

String: Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character ‘\0’.

Reverse a StringSolve
Non Repeating CharacterSolve
Sum of numbers in stringSolve
Remove characterSolve
Remove SpacesSolve
Check for BinarySolve
Upper case conversionSolve
Count SubstringsSolve
Remove duplicates from a given stringSolve
Reverse words in a given stringSolve
Program to find Smallest and Largest Word in a StringSolve
Return maximum occurring character in an input stringSolve
Palindrome StringSolve
Check for BinarySolve
Same characters in two stringsSolve
Check whether two strings are an anagram of each otherSolve
Length of the longest valid substringSolve
Converting Roman Numerals to Decimal lying between 1 to 3999Solve
Given a binary string, count number of substrings that start and end with 1.Solve
Round the given number to nearest multiple of 10Solve
Alternatively Merge two Strings in JavaSolve
Most frequent word in an array of stringsSolve
Alternate Lower Upper String SortSolve
program to concatenate a string given number of timesSolve

Searching and Sorting:

  • Searching Algorithms are designed to check for an element or retrieve an element from any data structure where it is stored
  • Sorting Algorithms are used to rearrange a given array or list of elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of elements in the respective data structure.
Binary SearchSolve
Linear SearchSolve
Bubble SortSolve
Insertion SortSolve
Merge SortSolve
Selection SortSolve
Quick SortSolve
Heap SortSolve

Number Series: While a sequence is a list of items arranged in a sequential way following a particular relation, a series is the cumulative sum of a given sequence of terms.

Crack the seriesSolve
Change BitsSolve
Odd GameSolve
Program to find LCM of two numbersSolve
Check if a number is PalindromeSolve
Program for Armstrong NumbersSolve
Program for Fibonacci numbersSolve
Primitive Abundant NumberSolve
Write a program Perfect NumberSolve
Sum of all prime numbers between 1 and N.Solve
program to check whether a given number is even or oddSolve
Program to Check Whether a Number is Prime or notSolve
Program to check if a given year is leap yearSolve
Program for factorial of a numberSolve
Program for sum of geometric seriesSolve
Program for N-th term of Geometric Progression seriesSolve
Automorphic NumberSolve
Program to find area of a circleSolve
Find all divisors of a natural numberSolve
Program to find GCD or HCF of two numbersSolve
How to swap two numbers without using a temporary variableSolve
Find the Largest Number Among Three NumbersSolve
Given a number N, the task is to find the Prime Numbers from 1 to NSolve

Conversions: This involves questions asking to convert a given number from one number system to an equivalent number in another number system.

Program for Binary To Decimal ConversionSolve
Convert a binary number to octalSolve
Program for Decimal to Binary ConversionSolve
Program to convert a given number to wordsSolve


Puzzles are one of the ways to check your problem-solving skills. These are tricky questions that let you think logically. Try to solve these 20 most popular puzzles asked in Interviews

My Personal Notes arrow_drop_up
Last Updated : 11 Apr, 2023
Like Article
Save Article
Similar Reads
Related Tutorials