Interview questions / TCS
TCS interview questions for freshers
TCS hires freshers mainly through the TCS NQT test, followed by technical, managerial and HR interviews, often held one after another on the same day.
Roles covered: Ninja, Digital and Prime.
Practise a TCS interview freeThe TCS interview rounds
- 1
TCS NQT (online test)
Aptitude, verbal and reasoning, then a coding section. Your score decides which role you are interviewed for.
- 2
Technical round
Your project, one programming language of your choice, OOP, DBMS and one or two simple programs.
- 3
Managerial round
Situations and pressure questions: teamwork, deadlines, and how you react when you don't know something.
- 4
HR round
Relocation, shifts, the service agreement, documents and why you want to join TCS.
TCS HR and managerial questions
1. Why do you want to join TCS?
How to answer: Name something real: its scale, the training for freshers, or the range of projects. Link it to what you want to learn.
2. What do you know about TCS?
How to answer: Know that it is part of the Tata Group, roughly how big it is, and one or two of its products or industries.
3. Are you willing to relocate anywhere in India and work in shifts?
How to answer: Answer clearly. If you say yes, say it without conditions; a hesitant yes sounds like a no.
4. Are you comfortable with the service agreement?
How to answer: Read the terms in your offer beforehand so you can answer without surprise.
5. Which programming language are you most comfortable with?
How to answer: Pick one and stay with it. Everything after this is asked in that language, so choose the one you can write code in.
6. You are placed in a technology you have never studied. What will you do?
How to answer: Show that you learn fast: give one example of something you picked up quickly on your own.
7. Tell me about a time you worked in a team and there was a conflict.
How to answer: Use a college project. Say what the disagreement was, what you did, and how it ended.
What the technical round focuses on
- One language in depth (C, C++, Java or Python)
- OOP concepts
- DBMS and SQL queries
- Your final-year project
- Basic data structures
Technical questions asked at TCS
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 TCS 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 TCS interview freeOther companies
These are commonly reported questions, not an official list. Hiring processes change, so check TCS's careers page for the current one. Jawab AI is not affiliated with TCS.