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

115 Interview questions

🔥 Asked by recruiter 3 times
A GenC was asked 1w ago
Q. What is the difference between delete and truncate?
Ans. 

DELETE removes specific rows; TRUNCATE removes all rows quickly without logging individual row deletions.

  • DELETE can remove specific rows based on a condition (e.g., DELETE FROM table WHERE id = 1).

  • TRUNCATE removes all rows in a table without conditions (e.g., TRUNCATE TABLE table).

  • DELETE is slower as it logs each row deletion; TRUNCATE is faster as it doesn't log individual deletions.

  • DELETE can be rolled back if u...

A GenC was asked 1w 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 1w 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 2mo 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
a junior software engineer
2w
Job offer in Malaysia - legit or scam?
Hey everyone, I received a job proposal from Mindgraph for a Junior Mainframe Developer position in Malaysia (onsite). Not sure if it's a real deal. They found my resume on Naukri and the offer includes: * Experience: 3+ years on cardlink, VSAM, CICS, JCL * Location: Malaysia (Accenture client in Kuala Lumpur) * Notice: 0-60 days * Benefits: One-way ticket, 1-week stay, medical insurance, visa. Has anyone heard of Mindgraph or had a similar experience? Note : This is a permanent position with Mindgragh and you need to work with our client Accenture - Malaysia (Kaula Lumpur) & we will provide one way Air Ticket from India - Malaysia, 1 Week Accommodation, Medical Insurance and will take care of the Visa process also. Any insights would be appreciated!
Got a question about Cognizant?
Ask anonymously on communities.
A GenC was asked 2mo 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 7mo 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...

A GenC was asked 7mo ago
Q. Write code to calculate the factorial of a number.
Ans. 

Factorial code calculates the product of all positive integers up to a given number.

  • Use a loop to multiply all positive integers up to the given number

  • Handle edge cases like 0 and negative numbers

  • Example: Factorial of 5 is 5*4*3*2*1 = 120

Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A GenC was asked 7mo 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

A GenC was asked 7mo ago
Q. What are the differences between tables and views in SQL?
Ans. 

Tables store data in a structured format, while views are virtual tables that display data from one or more tables.

  • Tables store actual data, while views store queries that display data

  • Tables can be modified directly, while views are read-only

  • Views can simplify complex queries by combining data from multiple tables

  • Tables are physical structures, while views are logical structures

A GenC was asked 7mo 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.

Cognizant GenC Interview Experiences

102 interviews found

GenC Interview Questions & Answers

user image Anonymous

posted on 3 Jul 2025

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

I appeared for an interview in Jan 2025, where I was asked the following questions.

  • Q1. Data types,conditional statements usage,basic -intermediate programming ques
  • Q2. Are you ready to relocate
  • Ans. 

    Absolutely, I'm open to relocating for the right opportunity to advance my career and embrace new challenges.

    • I have previously relocated for a job, which helped me grow professionally and personally.

    • I believe that relocating can provide exposure to new cultures and work environments.

    • I'm flexible with relocation timelines and can adapt to new locations quickly.

  • Answered by AI
  • Q3. Willingness to adapt to new technolgies
  • 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 confer...

  • Answered by AI
  • Q4. Self intro,projects

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?
  • 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.

  • Answered by AI
  • Q3. Table vs views in sql
  • Ans. 

    Tables store data in a structured format, while views are virtual tables that display data from one or more tables.

    • Tables store actual data, while views store queries that display data

    • Tables can be modified directly, while views are read-only

    • Views can simplify complex queries by combining data from multiple tables

    • Tables are physical structures, while views are logical structures

  • Answered by AI

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.
  • Ans. 

    I am a passionate software engineer with a strong background in coding, problem-solving, and teamwork, eager to contribute to innovative projects.

    • Educational Background: Graduated with a degree in Computer Science from XYZ University, where I developed a solid foundation in programming languages.

    • Technical Skills: Proficient in Java, Python, and C++, with hands-on experience in developing web applications and mobile app...

  • Answered by AI
  • Q2. Tell me about your projects.
  • Ans. 

    I have worked on various projects including a mobile app for tracking fitness goals and a website for a local non-profit organization.

    • Developed a mobile app using React Native to help users track their fitness goals

    • Designed and built a website for a local non-profit organization using HTML, CSS, and JavaScript

    • Collaborated with a team to create a database management system for a small business

  • Answered by AI
  • 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
  • Ans. 

    List is mutable and tuple is immutable in Python.

    • List can be modified after creation, tuple cannot

    • List uses square brackets [], tuple uses parentheses ()

    • List is used for collections of items that may change, tuple for fixed collections

  • Answered by AI
  • 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
  • Ans. 

    I am a passionate software engineer with a strong background in coding, problem-solving, and teamwork, eager to contribute to innovative projects.

    • Education: Completed a Bachelor's degree in Computer Science with a focus on software development.

    • Technical Skills: Proficient in languages like Java, Python, and C++, with experience in web development using HTML, CSS, and JavaScript.

    • Projects: Developed a mobile app for task...

  • Answered by AI
  • Q2. Explain about your project
  • Ans. 

    Developed a web-based application for managing personal finances, focusing on budgeting and expense tracking.

    • User-friendly interface for easy navigation and data entry.

    • Features include budget creation, expense categorization, and financial goal setting.

    • Implemented data visualization tools like charts and graphs to track spending habits.

    • Utilized technologies such as React for frontend and Node.js for backend development...

  • Answered by AI

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
  • 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 digits an...

  • Answered by AI
  • 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.

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.1k Interviews
Accenture Interview Questions
3.8
 • 8.6k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.8
 • 3.4k Interviews
IBM Interview Questions
4.0
 • 2.5k Interviews
DXC Technology Interview Questions
3.7
 • 839 Interviews
View all
Cognizant GenC Salary
based on 249 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.4

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
73.1k 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.2k salaries
unlock blur

₹10.1 L/yr - ₹23.3 L/yr

Senior Processing Executive
29.8k salaries
unlock blur

₹2.3 L/yr - ₹6.5 L/yr

Technical Lead
19k salaries
unlock blur

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