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 GenC Interview Questions and Answers

Updated 3 Jul 2025

112 Interview questions

A GenC was asked 3w ago
Q. How willing are you to adapt to new technologies?
Ans. 

I embrace new technologies as opportunities for growth, efficiency, and improved outcomes in my work.

  • I actively seek out training on new software and tools, such as learning advanced data analytics platforms to enhance project outcomes.

  • In my previous role, I adapted to a new project management tool, which improved team collaboration and project tracking.

  • I stay updated on industry trends by attending webinars and c...

A GenC was asked 1mo ago
Q. What is the self keyword in Python?
Ans. 

The self keyword in Python refers to the instance of the class, allowing access to its attributes and methods.

  • Used in instance methods to refer to the object itself.

  • Allows access to instance variables: e.g., self.name = 'John'.

  • Distinguishes between instance variables and local variables.

  • Required as the first parameter in instance methods: def method(self):.

  • Enables method chaining: self.method1().method2().

GenC Interview Questions Asked at Other Companies

asked in Cognizant
Q1. A train traveling at a speed of 75 mph enters a tunnel 3.5 miles ... read more
asked in Cognizant
Q2. Spot the error in the following code and rewrite it: #include int ... read more
asked in Cognizant
Q3. What are different type of data structures and explain any 2 of t ... read more
asked in Cognizant
Q4. What is a function and what are its uses?
asked in Cognizant
Q5. What are the different types of algorithm methods in machine lear ... read more
A GenC was asked 1mo ago
Q. Explain the concepts of OOP.
Ans. 

OOPs (Object-Oriented Programming) is a programming paradigm based on objects and classes, promoting code reusability and modularity.

  • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

  • Inheritance: Mechanism to create a new class from an existing class, inheriting its properties (e.g., a 'Dog' class inheriting from an 'Animal' class).

  • Polymorphism: Ability to present th...

🔥 Asked by recruiter 2 times
A GenC was asked 3mo ago
Q. Write a function that reverses a string. The input string is given as an array of characters s.
Ans. 

Reversing a string involves rearranging its characters in the opposite order, which can be done using various programming techniques.

  • Use built-in functions: In Python, use 'string[::-1]' to reverse a string. Example: 'hello' becomes 'olleh'.

  • Iterative approach: Loop through the string from the end to the beginning and build a new string. Example: 'world' becomes 'dlrow'.

  • Recursive method: Define a function that call...

What people are saying about Cognizant

View All
an azure cloud devops engineer
2w
Am I Offered Right Package? Cloud DevOps Engineer!
Hi there! I am a Cloud DevOps Engineer with 5.9 years of experience specialized in Azure. I am currently in a job switch, and I notice that companies are not able to match or provide more than a 25 LPA salary. Are others also facing similar issues? Or is it just me? I tried in mostly all IT MNCs and then rejected offers during offer letter discussions. For example, TCS, Infosys, Cognizant, Wipro, PWC, and Tech Mahindra. Most of them have budgets up to 22 LPA only. Thanks for your input.
Got a question about Cognizant?
Ask anonymously on communities.
A GenC was asked 3mo ago
Q. How do you find the greatest number from an array?
Ans. 

To find the greatest number in an array, iterate through the elements and compare each to determine the maximum value.

  • Initialize a variable to hold the maximum value, starting with the first element of the array.

  • Loop through each element of the array, comparing it to the current maximum.

  • If an element is greater than the current maximum, update the maximum variable.

  • Return the maximum value after completing the loop...

🔥 Asked by recruiter 2 times
A GenC was asked 8mo ago
Q. Write code to determine if a number is an Armstrong number.
Ans. 

An Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits.

  • An example of a 3-digit Armstrong number is 153: 1^3 + 5^3 + 3^3 = 153.

  • Another example is 9474: 9^4 + 4^4 + 7^4 + 4^4 = 9474.

  • Armstrong numbers can be found in any number of digits, e.g., 0-9 are all Armstrong numbers.

  • To check if a number is an Armstrong number, convert it to a string to count digi...

Cognizant HR Interview Questions

684 questions and answers

Q. Are you willing to work flexible hours?
Q. Tell me about a time you faced a challenge at work and how you handled it.
Q. What are you looking for in a new position?
🔥 Asked by recruiter 2 times
A GenC was asked 8mo ago
Q. Write code to check if a given string is a palindrome.
Ans. 

Code to check if a string is a palindrome or not

  • Create a function that takes a string as input

  • Reverse the string and compare it with the original string

  • If they are the same, return true; otherwise, return false

Are these interview questions helpful?
A GenC was asked 8mo ago
Q. Write a program to find the third largest odd number in an array.
Ans. 

Find the 3rd largest odd number in an array of strings.

  • Convert the array of strings to an array of integers.

  • Filter out the odd numbers from the array.

  • Sort the odd numbers in descending order.

  • Return the 3rd element from the sorted array.

A GenC was asked 9mo ago
Q. What error do you get if you break immutability?
Ans. 

Attempting to modify an immutable object will result in a compilation error or runtime exception.

  • Attempting to modify a string literal will result in a compilation error.

  • Trying to modify elements of an immutable list like ImmutableList in Java will throw an UnsupportedOperationException.

  • Modifying a frozen set in Python will raise a TypeError.

A GenC was asked 12mo ago
Q. Given a string, find the largest word and print it.
Ans. 

Use a loop to iterate through each word in the string and compare their lengths to find the largest word.

  • Split the string into an array of words using a space as the delimiter

  • Initialize a variable to store the largest word found so far

  • Iterate through the array of words and compare the length of each word to the length of the current largest word

  • Update the largest word if a longer word is found

  • Print the largest wor...

Cognizant GenC Interview Experiences

102 interviews found

GenC Interview Questions & Answers

user image Dummy 1

posted on 4 Jan 2025

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

I applied via Campus Placement and was interviewed in Dec 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

Normal aptitude questions

Round 2 - Coding Test 

DSA SQL and html,css,js questions were there

Round 3 - One-on-one 

(2 Questions)

  • Q1. Give intro and normal questions
  • Q2. Oops based questions, other interviewers asked DSA write on editor, SQL queries and resume based questions, heavily based on java

GenC Interview Questions & Answers

user image Anonymous

posted on 10 Nov 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Campus Placement and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - One-on-one 

(3 Questions)

  • Q1. Tell me about Your Education?
  • Q2. WAP to get 3rd largest odd number in an array?
  • Q3. Table vs views in sql

Interview Preparation Tips

Topics to prepare for Cognizant GenC interview:
  • OOPS
  • SQL
  • HR

Skills evaluated in this interview

GenC Interview Questions & Answers

user image Anonymous

posted on 21 Oct 2024

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

I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

It was a general aptitude test consisting all possible topics.

Round 2 - Coding Test 

General simple competitive coding questions with multiple programming language options.

Round 3 - Technical 

(3 Questions)

  • Q1. Tell me about yourself.
  • Q2. Tell me about your projects.
  • Q3. Questions regarding the cluster you have chosen while applying.

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't dump a lot in your mind, learn as much as you could, do to your best strength and knowledge. Everything else will fall in place.

GenC Interview Questions & Answers

user image Bharath Reddy

posted on 28 Oct 2024

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

I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.

Round 1 - Communication 

(1 Question)

  • Q1. It all about your communication skills
Round 2 - Technical 

(1 Question)

  • Q1. Aptitude and coding
Round 3 - Technical 

(2 Questions)

  • Q1. Difference between list and tuple
  • Q2. What error do you get if you break immutablity?
  • Ans. 

    Attempting to modify an immutable object will result in a compilation error or runtime exception.

    • Attempting to modify a string literal will result in a compilation error.

    • Trying to modify elements of an immutable list like ImmutableList in Java will throw an UnsupportedOperationException.

    • Modifying a frozen set in Python will raise a TypeError.

  • Answered by AI

Skills evaluated in this interview

GenC Interview Questions & Answers

user image Shreyan Krish

posted on 28 Nov 2024

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
More than 8 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

Very easy …basic aptitude topics were covered

Round 2 - Coding Test 

Very easy, HTML, CSS and SQL and python

Round 3 - Technical 

(2 Questions)

  • Q1. Introduce yourself
  • Q2. Explain about your project

GenC Interview Questions & Answers

user image Anonymous

posted on 8 Jan 2025

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

I applied via Campus Placement and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Its was moderate , basic questions and can written based on the cluster

Round 2 - Aptitude Test 

It was easy its an combination of aptitude and gaming questions

GenC Interview Questions & Answers

user image Bareddy Sravanthi

posted on 30 Nov 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
No response

I appeared for an interview in Oct 2024.

Round 1 - Technical 

(4 Questions)

  • Q1. Codes Armstrong number
  • Q2. Java deep theory question
  • Q3. Sql questionsss
  • Q4. Aptitude puzzle

GenC Interview Questions & Answers

user image Anonymous

posted on 7 Jul 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Reasoning and encoding questions

Round 2 - Coding Test 

Total 3 section are there 1 section is coding, 2 section is sql query, and 3 section is MCQ question in cloud

Round 3 - Assignment 

Communication assessment

Round 4 - Technical 

(5 Questions)

  • Q1. Self introduction
  • Q2. Java basic array and sql query and they asked about the project
  • Q3. And project sudo code
  • Q4. They asked about the relocation because this role is pan India
  • Q5. And basic hr question why should I hire you like that ....

GenC Interview Questions & Answers

user image Anonymous

posted on 17 Nov 2024

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
No response

I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

Quantitive Aptitude, Analytical

Round 2 - Coding Test 

Cluster- Python 2 Coding question, 2 SQL question, 10 networking mcq

Round 3 - Interview 

(2 Questions)

  • Q1. OOP Concept, HTML, CSS, JS Basics
  • Q2. Python basics, Situational based HR questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Clear your basic concept, Practice some HR questions.

GenC Interview Questions & Answers

user image Anonymous

posted on 3 Jan 2025

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

I applied via Campus Placement and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Concepts on java and python

Cognizant Interview FAQs

How many rounds are there in Cognizant GenC interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Aptitude Test, Technical and Resume Shortlist.
How to prepare for Cognizant GenC 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 SAAS.
What are the top questions asked in Cognizant GenC interview?

Some of the top questions asked at the Cognizant GenC interview -

  1. What are different type of data structures and explain any 2 of the...read more
  2. What is a function and it's use...read more
  3. What are different types of algorthim methods in machine learning...read more
How long is the Cognizant GenC interview process?

The duration of Cognizant GenC 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 60 interview experiences

Difficulty level

Easy 32%
Moderate 65%
Hard 3%

Duration

Less than 2 weeks 52%
2-4 weeks 33%
4-6 weeks 3%
6-8 weeks 9%
More than 8 weeks 3%
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.2k Interviews
Accenture Interview Questions
3.7
 • 8.7k Interviews
Infosys Interview Questions
3.6
 • 8k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.2k Interviews
HCLTech Interview Questions
3.5
 • 4.2k Interviews
Genpact Interview Questions
3.7
 • 3.5k Interviews
IBM Interview Questions
3.9
 • 2.5k Interviews
DXC Technology Interview Questions
3.6
 • 846 Interviews
View all
Cognizant GenC Salary
based on 254 salaries
₹3 L/yr - ₹5.5 L/yr
At par with the average GenC Salary in India
View more details

Cognizant GenC Reviews and Ratings

based on 11 reviews

4.4/5

Rating in categories

4.3

Skill development

4.3

Work-life balance

3.9

Salary

3.9

Job security

4.3

Company culture

3.8

Promotions

4.1

Work satisfaction

Explore 11 Reviews and Ratings
Associate
71k salaries
unlock blur

₹5.3 L/yr - ₹12.5 L/yr

Programmer Analyst
56.1k salaries
unlock blur

₹3.5 L/yr - ₹7.3 L/yr

Senior Associate
55.4k salaries
unlock blur

₹9.9 L/yr - ₹23.5 L/yr

Senior Processing Executive
30k salaries
unlock blur

₹2.2 L/yr - ₹6.5 L/yr

Technical Lead
18.5k salaries
unlock blur

₹6 L/yr - ₹21.2 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