Cognizant interview questions and preparation
Prepare for Cognizant with aptitude, coding refreshers, DBMS and OOPS basics, resume discussion, and HR fit.
Cognizant most asked questions
Curated from repeated interview reports and prep guides so you can practice the prompts most likely to return.
Screening and technical
- Explain OOP concepts with real-life examples.
- How does a database index work?
- What is the difference between DBMS and RDBMS?
- What is a pointer, and how would you explain `int *p`?
- How does a Java program run from source code to execution?
- How would you write a string reverse, palindrome, bubble sort, or basic SQL query?
Project and HR
- Explain your project and your exact role in it.
- Why Cognizant or CTS after your degree background?
- How do you handle stress or team conflict?
- Do you have any location constraints or shift concerns?
- Can you give a short talk on a current topic or a strength that helps you in real work?
Coding bank
Focused on the coding patterns that keep repeating across Cognizant GenC, GenC Pro, and Programming Analyst preparation.
High-frequency bank
- Reverse a string and explain multiple approaches rather than only the easiest built-in method.
- Find maximum or minimum values in an array, then extend into rotation or frequency variants.
- Practice one simple SQL query because Cognizant often mixes coding and SQL in the same assessment.
- Prepare code-debugging questions on arrays, strings, searching, and sorting.
- Keep one clean number problem ready such as reverse number, prime check, or palindrome.
Stretch bank
- Sort alternate numbers or solve other medium array-rearrangement problems.
- Practice one S-expression or tree-validation style parsing problem for stronger GenC tracks.
- Keep one hash-map string cleanup problem ready with edge cases.
- Prepare one code-fix task where you must identify the bug before rewriting the solution.
- Revise one medium DSA problem because Cognizant coding difficulty now varies more across GenC tracks.
Aptitude and Logical Practice
The paper usually samples many standard topics instead of going too deep into one area.
Most Useful Topics
- Ratio and proportion, percentage, time-speed-distance, probability, coding-decoding, and logical puzzles.
Technical and Coding
Technical rounds usually stay around programming and database fundamentals.
Technical
- DBMS, normalization, DELETE vs TRUNCATE, indexing, OOPS, and C vs Java.
Coding
- Reverse number, prime number, array rotation, and string reverse.
Project and HR
Resume-led discussion can decide the final impression.
Project and HR
- Explain the project, your role, and the technology used.
- Prepare Why Cognizant, relocation, and strengths and weaknesses.