Skip to content
InterviewTigerInterviewTiger
Back to the journal
Company interviews

TCS interview questions for freshers (with answers)

The most common TCS technical and HR interview questions for freshers, with short answers and tips for each round of the selection process.

TCS campus with a checklist of common interview questions for freshers10 min read

TCS hires more freshers than any other IT company in India — 40,000 or more in a single year. The selection process has three stages: the TCS NQT (written test), a technical interview and an HR interview. This guide covers all three, with the questions asked most often and short answers you can practise out loud.

What the TCS NQT tests

Pass the NQT and you are called for the interview. NQT scores stay valid for 2 years, so clearing it once opens multiple TCS drives.

  • Numerical ability: ratios, percentages, averages, time and work, profit and loss.
  • Verbal ability: reading comprehension, sentence correction, grammar.
  • Reasoning ability: logical puzzles, sequences, blood relations.
  • Coding section (for digital roles): one or two problems in C, C++, Java or Python. You pick the language.

Technical interview: what TCS checks

The interviewer is not expecting production-level code from a fresher. They want to see that you understand the basics, can explain what you write and are honest when you don't know something. The interview is 20–30 minutes.

OOP questions asked most often

  • What are the four pillars of OOP? — Encapsulation (bundling data with the methods that act on it), Inheritance (a child class gets the properties of a parent), Polymorphism (the same method name behaves differently depending on context), Abstraction (hiding implementation details behind an interface).
  • What is the difference between overloading and overriding? — Overloading: same method name, different parameters, resolved at compile time. Overriding: same method name and parameters, the child class redefines the parent's behaviour, resolved at runtime.
  • What is an interface vs an abstract class? — An interface defines a contract with no implementation; a class can implement many interfaces. An abstract class can have implemented methods; a class can inherit only one.
  • What is a constructor? — A special method called when an object is created. It has the same name as the class and no return type.

Data structures and algorithms

  • What is the difference between an array and a linked list? — Array: fixed size, random access in O(1), slow insert/delete in the middle. Linked list: dynamic size, O(n) access, fast insert/delete if you have the pointer.
  • What is a stack and where is it used? — LIFO structure. Used in function call management, undo/redo, expression evaluation.
  • What is a queue and where is it used? — FIFO structure. Used in scheduling, BFS, print spooling.
  • What is the time complexity of binary search? — O(log n), because each step halves the search space. The array must be sorted.
# Simple question TCS sometimes gives in interviews
# Reverse a string without using built-in reverse
def reverse_string(s):
    result = ''
    for char in s:
        result = char + result
    return result

print(reverse_string('interview'))  # weivretni

DBMS questions

  • What is a primary key? — A column (or combination) that uniquely identifies each row. It cannot be NULL.
  • What is the difference between WHERE and HAVING? — WHERE filters rows before grouping; HAVING filters groups after aggregation.
  • What is normalization? — Organising a database to reduce redundancy and improve integrity. 1NF removes repeating groups; 2NF removes partial dependencies; 3NF removes transitive dependencies.
  • What is a JOIN? — Combines rows from two tables based on a related column. INNER JOIN returns matching rows; LEFT JOIN returns all rows from the left table.

A coding question TCS interviewers like

Print the Fibonacci series up to n terms. Say your approach first: 'I'll store the previous two numbers in variables and print each one as I move forward.'

def fibonacci(n):
    a, b = 0, 1
    for _ in range(n):
        print(a, end=' ')
        a, b = b, a + b

fibonacci(10)  # 0 1 1 2 3 5 8 13 21 34

HR interview: TCS's most common questions

  • "Tell me about yourself." — Present: your degree and specialisation. Past: one project or achievement. Future: why TCS fits your goal. Keep it under 90 seconds.
  • "Why do you want to join TCS?" — Mention scale (presence in 55+ countries), learning culture, structured training programmes (TCS iBegin, iEvolve). Connect it to your goal.
  • "What are your strengths and weaknesses?" — Strength: specific to the role (e.g. problem-solving with examples). Weakness: real but improving (e.g. "I used to avoid asking for help early; I now set a 20-minute rule before asking").
  • "Where do you see yourself in 5 years?" — At a mid-level technical or functional role within TCS, having completed at least one client project independently.
  • "Are you comfortable with any location / technology / shift?" — TCS expects flexibility. Answer honestly; they will not force you into a city you have flagged a genuine objection to.

What TCS interviewers say about freshers who do well

  • They explain their thought process before writing code.
  • They say 'I don't know' honestly and add what they would do to find out.
  • Their answers about themselves are specific, not vague ('I'm a hard worker').
  • They have one project to talk about in detail.

One week before your TCS interview

  • Revise OOP concepts and be ready to give examples from your language (Java, C++, Python).
  • Write 5 Fibonacci/factorial/string-reversal problems by hand.
  • Prepare a 90-second 'tell me about yourself' and say it out loud 10 times.
  • Know one project cold: what problem it solved, your role, what you would change.

Keep practising

Keep preparing

View all guides
Fresher confidently answering an interview question at a desk7 min read

Behavioral interviews

“Why should we hire you?” — best answers for freshers

HR interviewer and candidate across a table with a list of common questions11 min read

Behavioral interviews

Top HR interview questions and answers (freshers and experienced)