Interview questions / Cognizant
Cognizant interview questions for freshers
Cognizant hires freshers through its GenC programmes: an online assessment whose difficulty depends on the role, then technical and HR interviews.
Roles covered: GenC, GenC Pro, GenC Next and GenC Elevate.
Practise a Cognizant interview freeThe Cognizant interview rounds
- 1
Online assessment
Aptitude, reasoning and communication for GenC. Higher GenC roles add coding and deeper technical sections.
- 2
Technical interview
Your project, a programming language, OOP, DBMS and SQL, with hands-on coding for higher roles.
- 3
HR interview
Communication, relocation and shifts, and why you want Cognizant.
Cognizant HR and managerial questions
1. Why Cognizant?
How to answer: Mention the fresher programme you applied to and what you want to gain from it.
2. What do you know about Cognizant?
How to answer: Know its main services and industries, and that it has a large presence in India.
3. Which GenC role did you apply for, and why do you fit it?
How to answer: Match your skills to the role: stronger coding for the higher ones, strong basics for GenC.
4. Are you open to night shifts and relocation?
How to answer: Decide before the interview and give a straight answer.
5. Explain a SQL query you wrote in your project.
How to answer: Describe the tables, what the query returns and why you wrote it that way.
6. What is the software development life cycle?
How to answer: Name the phases in order and say what happens in each in one line.
7. What is your biggest weakness?
How to answer: Name a real one and what you are doing about it. Avoid weaknesses that are secretly strengths.
What the technical round focuses on
- Basics of one language (Java is common)
- DBMS and SQL queries
- OOP concepts
- SDLC and testing basics
- Your project
Technical questions asked at Cognizant
1. Explain your final-year project.
How to answer: Say the problem, what you built, the tech you used and the part you wrote yourself. Expect follow-ups on every tool you name.
2. What are the four pillars of OOP?
How to answer: Encapsulation, abstraction, inheritance and polymorphism. Give one small real-life or code example for each.
3. What is the difference between an abstract class and an interface?
How to answer: An abstract class can hold state and shared code; an interface is a contract a class promises to follow. Say when you'd pick each.
4. What is normalization? Explain 1NF, 2NF and 3NF.
How to answer: It removes repeated data. Walk through one table and split it step by step instead of reciting definitions.
5. Write a SQL query to find the second highest salary.
How to answer: Know two ways: a subquery with MAX, and DENSE_RANK. Mention what happens when two people share the top salary.
6. What are the types of joins in SQL?
How to answer: Inner, left, right and full. Use two tiny tables and say which rows each join keeps.
7. What is the difference between a process and a thread?
How to answer: A process has its own memory; threads share the memory of their process. Add why threads are cheaper to create.
8. Reverse a string without using a built-in function.
How to answer: Use two pointers swapping from both ends. Say the time and space complexity before you are asked.
9. Check whether a number is prime, or print the Fibonacci series.
How to answer: These are warm-ups. Write clean code, name your variables well and handle 0, 1 and negative input.
10. What is the difference between an array and a linked list?
How to answer: Arrays give fast access by index; linked lists give cheap inserts and deletes. Say which you would use for what.
Practise these out loud before the real thing
Run a mock Cognizant interview with Jawab AI: it asks the questions one by one and tells you what was good and what was missing in each answer. Mock interviews are free, and so is your first 3 live sessions of 10 minutes.
Practise a Cognizant interview freeOther companies
These are commonly reported questions, not an official list. Hiring processes change, so check Cognizant's careers page for the current one. Jawab AI is not affiliated with Cognizant.