TCS hires more freshers than almost any company in India, and the process is predictable once you know how it works. This post covers the NQT exam pattern, the three tracks, and the questions that come up again and again in the technical, managerial and HR rounds, with short answers you can adapt.
How the TCS hiring process works
The process has two stages: the National Qualifier Test (NQT) and the interview.
TCS NQT pattern (2026)
The NQT is one integrated test of about 190 minutes with two parts, as reported by FACE Prep citing TCS's FAQ:
| Part | Section | Questions | Time |
|---|---|---|---|
| Foundation | Numerical Ability | 20 | 25 min |
| Foundation | Verbal Ability | 25 | 25 min |
| Foundation | Reasoning Ability | 20 | 25 min |
| Advanced | Advanced Quant + Reasoning | 15 | 25 min |
| Advanced | Advanced Coding | 3 problems | 90 min |
- There is no negative marking, so attempt every question.
- Coding can be done in C, C++, Java, Python or C#.
- Foundation is the elimination stage. If you miss its cut-off, the Advanced score does not count.
The three tracks
- Ninja: decided by the Foundation section. Reported starting CTC around ₹3.5 to 3.9 LPA.
- Digital: needs a strong score in both parts. Reported CTC around ₹7 to 7.5 LPA.
- Prime: for the top NQT scorers. Reported CTC around ₹9 to 11 LPA.
Package figures change from year to year, so confirm them on the official TCS NextStep portal before you plan around them.
The interview rounds
- Technical Round (TR): your projects, one programming language, DBMS, OS, networking and simple coding.
- Managerial Round (MR): mostly for Digital and Prime. Situational questions about teamwork, deadlines and problem solving.
- HR Round: relocation, shifts, the service agreement and documents.
Some candidates get TR, MR and HR in a single sitting with two or three panelists.
Technical round questions
1. What are the four pillars of OOP?
- Encapsulation: keeping data and the methods that use it together, and hiding internal state behind methods.
- Abstraction: showing only what an object does, not how it does it.
- Inheritance: a class reusing the properties and methods of another class.
- Polymorphism: the same method name behaving differently depending on the object.
Tip: give one example from your own project for each. Interviewers remember examples, not definitions.
2. What is the difference between method overloading and overriding?
- Overloading is the same method name with different parameters in the same class. It is resolved at compile time.
- Overriding is a subclass giving its own version of a parent method with the same signature. It is resolved at runtime.
class Shape {
double area() { return 0; }
}
class Circle extends Shape {
double r;
Circle(double r) { this.r = r; }
@Override
double area() { return Math.PI * r * r; } // overriding
}
class Calc {
int add(int a, int b) { return a + b; } // overloading
int add(int a, int b, int c) { return a + b + c; }
}
3. Why is Java platform independent?
Java code compiles to bytecode, not machine code. The JVM on each operating system runs that bytecode, so the same .class file runs on Windows, Linux or macOS. Java itself is platform independent, but each JVM is platform specific.
4. What is the difference between == and .equals() in Java?
== compares references (whether two variables point to the same object). .equals() compares content, if the class overrides it, as String does.
String a = new String("tcs");
String b = new String("tcs");
System.out.println(a == b); // false
System.out.println(a.equals(b)); // true
5. Array vs linked list
| Array | Linked list | |
|---|---|---|
| Memory | Contiguous | Nodes anywhere, linked by pointers |
| Access by index | O(1) | O(n) |
| Insert or delete in middle | O(n) | O(1) once you have the node |
| Size | Fixed (static arrays) | Grows as needed |
6. List vs tuple in Python
A list is mutable and uses square brackets. A tuple is immutable and uses round brackets. Tuples are slightly faster and can be used as dictionary keys; lists cannot.
7. What is normalization?
Normalization organizes tables to reduce duplicate data and avoid update problems.
- 1NF: each column holds a single value, no repeating groups.
- 2NF: 1NF, and every non-key column depends on the whole primary key.
- 3NF: 2NF, and no non-key column depends on another non-key column.
8. DELETE vs TRUNCATE vs DROP
-
DELETE removes selected rows, can use
WHERE, and can be rolled back in a transaction. - TRUNCATE removes all rows quickly and keeps the table structure.
- DROP removes the whole table, including its structure.
9. Write a query for the second-highest salary
SELECT MAX(salary) AS second_highest
FROM employees
WHERE salary < (SELECT MAX(salary) FROM employees);
Be ready to explain an alternative with DENSE_RANK() too, since some panels ask for the Nth highest.
SELECT salary
FROM (
SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS rnk
FROM employees
) t
WHERE rnk = 2;
10. What are ACID properties?
- Atomicity: a transaction happens completely or not at all.
- Consistency: the database moves from one valid state to another.
- Isolation: transactions running together do not interfere.
- Durability: once committed, data survives a crash.
11. Process vs thread
A process is a running program with its own memory space. A thread is a smaller unit inside a process and shares that process's memory. Switching between threads is cheaper than switching between processes.
12. What is a deadlock?
A deadlock is when two or more processes wait for each other's resources forever. It needs four conditions at once: mutual exclusion, hold and wait, no preemption, and circular wait. Breaking any one of them prevents it.
13. TCP vs UDP
TCP is connection oriented and guarantees ordered delivery (used for web pages, email). UDP is connectionless and faster but does not guarantee delivery (used for video calls, gaming, DNS).
Coding questions asked in TCS interviews
These are simple on purpose. The panel watches how you think, name variables and handle edge cases. Talk through your approach before you write.
Check if a number is prime
def is_prime(n):
if n < 2:
return False
i = 2
while i * i <= n:
if n % i == 0:
return False
i += 1
return True
Mention why you stop at the square root: if n has a factor larger than √n, it must also have one smaller than √n.
Check if a string is a palindrome
def is_palindrome(s):
s = "".join(ch.lower() for ch in s if ch.isalnum())
return s == s[::-1]
Find the second-largest element in an array
def second_largest(arr):
first = second = float("-inf")
for x in arr:
if x > first:
first, second = x, first
elif first > x > second:
second = x
return second if second != float("-inf") else None
This is one pass, O(n), and handles duplicates of the largest value.
Swap two numbers without a third variable
a, b = 5, 9
a = a + b
b = a - b
a = a - b
In Python you can also write a, b = b, a, but show the arithmetic version if they ask for the logic.
Fibonacci series up to n terms
def fibonacci(n):
a, b = 0, 1
result = []
for _ in range(n):
result.append(a)
a, b = b, a + b
return result
Managerial round questions
- Tell me about a time you missed a deadline. What did you do?
- Your teammate is not doing their share. How do you handle it?
- A client asks for a change one day before delivery. What do you do?
- Which project are you most proud of, and what was your exact role?
Use the STAR structure: Situation, Task, Action, Result. Keep each answer under two minutes and end with what you would do differently.
HR round questions
- Tell me about yourself. Education, one or two projects, one strength, and why TCS. About 90 seconds.
- Why TCS? Mention scale of projects, training programs for freshers, and the variety of domains, in your own words.
- Are you willing to relocate? TCS places freshers across India. Answer honestly.
- Are you comfortable with rotational shifts? Same: be honest, since this affects your posting.
- Where do you see yourself in five years? Show growth inside the company, not a plan to leave.
Final tips
- Revise one language deeply instead of three languages lightly.
- Know every line of your final-year project. Most TR questions start there.
- Practice speaking your answers out loud, not just reading them. Many freshers know the answer but freeze when they have to say it.
If you want to rehearse these questions out loud before the real interview, AI mock interview practice can help you get used to answering under time pressure and see where your answers need work.
All the best for your TCS interview!
Sources: TCS NQT pattern and track details as reported by FACE Prep; round structure and common questions compiled from Weekday and candidate reports. Check the official TCS NextStep portal for the latest pattern.
Top comments (0)